ramips: move dts-v1 statement to top-level DTSI files
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620n_nexx_wt3020-4m.dts
1 #include "mt7620n_nexx_wt3020.dtsi"
2
3 / {
4 compatible = "nexx,wt3020-4m", "nexx,wt3020", "ralink,mt7620n-soc";
5 model = "Nexx WT3020 (4M)";
6 };
7
8 &spi0 {
9 status = "okay";
10
11 flash@0 {
12 compatible = "jedec,spi-nor";
13 reg = <0>;
14 spi-max-frequency = <10000000>;
15
16 partitions {
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 partition@30000 {
28 label = "u-boot-env";
29 reg = <0x30000 0x10000>;
30 read-only;
31 };
32
33 factory: partition@40000 {
34 label = "factory";
35 reg = <0x40000 0x10000>;
36 read-only;
37 };
38
39 partition@50000 {
40 compatible = "denx,uimage";
41 label = "firmware";
42 reg = <0x50000 0x3b0000>;
43 };
44 };
45 };
46 };