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