ramips: rtxxxx: convert to nvmem-layout
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3052_unbranded_wr512-3gn-4m.dts
1 #include "rt3052_unbranded_wr512-3gn.dtsi"
2
3 / {
4 compatible = "unbranded,wr512-3gn-4m", "unbranded,wr512-3gn", "ralink,rt3052-soc";
5 model = "Unbranded WR512-3GN (4M)";
6
7 flash@1f000000 {
8 compatible = "cfi-flash";
9 reg = <0x1f000000 0x800000>;
10 bank-width = <2>;
11 device-width = <2>;
12
13 partitions {
14 compatible = "fixed-partitions";
15 #address-cells = <1>;
16 #size-cells = <1>;
17
18 partition@0 {
19 label = "u-boot";
20 reg = <0x0 0x30000>;
21 read-only;
22 };
23
24 partition@30000 {
25 label = "u-boot-env";
26 reg = <0x30000 0x10000>;
27 read-only;
28 };
29
30 factory: partition@40000 {
31 label = "factory";
32 reg = <0x40000 0x10000>;
33 read-only;
34
35 nvmem-layout {
36 compatible = "fixed-layout";
37 #address-cells = <1>;
38 #size-cells = <1>;
39
40 eeprom_factory_0: eeprom@0 {
41 reg = <0x0 0x200>;
42 };
43 };
44 };
45
46 partition@50000 {
47 compatible = "denx,uimage";
48 label = "firmware";
49 reg = <0x50000 0x3b0000>;
50 };
51 };
52 };
53 };