Unit testing framework and devicetree framework refactoring (#50)
[lunaix-os.git] / lunaix-os / tests / units / device-tree / samples / fdt-mem.dts
1 /dts-v1/;
2
3 / {
4     #address-cells = <2>;
5     #size-cells = <1>;
6
7     memory@1000000 {
8         device_type = "memory";
9
10         reg = <0x00 0x1000000 0x10000 >,
11               <0x00 0x8000000 0x10000 >,
12               <0x10 0x2000000 0x200000 >;
13     };
14
15     memory@f000000 {
16         device_type = "memory";
17
18         reg = <0x00 0xf000000 0xff000 >;
19     };
20
21     reserved-memory {
22         #address-cells = <2>;
23         #size-cells = <1>;
24         ranges;
25
26         hwrom_reserved: hwrom@0 {
27             reg = <0x0 0x0 0x1000000>;
28             no-map;
29         };
30
31         cma {
32             compatible = "shared-dma-pool";
33             reusable;
34             size = <0x10000000>;
35             alignment = <0x400000>;
36             alloc-ranges = <0x0 0x10000000 0x10000000>;
37         };
38     };
39 };