model = "Banana Pi BPI-F3";
compatible = "bananapi,bpi-f3", "spacemit,k1";
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x00000000 0x0 0x80000000>;
+ };
+
+ memory@100000000 {
+ device_type = "memory";
+ reg = <0x1 0x00000000 0x0 0x80000000>;
+ };
+
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ linux,cma {
+ compatible = "shared-dma-pool";
+ /* alloc memory from 0x40000000~0x80000000 */
+ alloc-ranges = <0 0x40000000 0 0x40000000>;
+ /* size of cma buffer is 384MByte */
+ size = <0 0x18000000>;
+ /* start address is 1Mbyte aligned */
+ alignment = <0x0 0x100000>;
+ linux,cma-default;
+ /* besides hardware, dma for ex. buffer can be used by memory management */
+ reusable;
+ };
+
+ /* reserved 384K for dpu, including mmu table(256K) and cmdlist(128K) */
+ dpu_resv: dpu_reserved@2ff40000 {
+ compatible = "shared-dma-pool";
+ reg = <0x0 0x2ff40000 0x0 0x000C0000>;
+ no-map;
+ };
+ };
+
chosen {
stdout-path = "serial0";
};