X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/35a7d633d3f16c1e0539af6ca5d8e7482926cd93..9daf4fcdae88f72af60aeb0c7722841af02233d4:/lunaix-os/tests/units/device-tree/samples/fdt-mem.dts diff --git a/lunaix-os/tests/units/device-tree/samples/fdt-mem.dts b/lunaix-os/tests/units/device-tree/samples/fdt-mem.dts new file mode 100644 index 0000000..dcc3adb --- /dev/null +++ b/lunaix-os/tests/units/device-tree/samples/fdt-mem.dts @@ -0,0 +1,39 @@ +/dts-v1/; + +/ { + #address-cells = <2>; + #size-cells = <1>; + + memory@1000000 { + device_type = "memory"; + + reg = <0x00 0x1000000 0x10000 >, + <0x00 0x8000000 0x10000 >, + <0x10 0x2000000 0x200000 >; + }; + + memory@f000000 { + device_type = "memory"; + + reg = <0x00 0xf000000 0xff000 >; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + hwrom_reserved: hwrom@0 { + reg = <0x0 0x0 0x1000000>; + no-map; + }; + + cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x10000000>; + alignment = <0x400000>; + alloc-ranges = <0x0 0x10000000 0x10000000>; + }; + }; +}; \ No newline at end of file