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