ramips: move compatible for Ubiquiti Edgerouter X to DTS file
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / rt5350_easyacc_wizard-8800.dts
1 /dts-v1/;
2
3 #include "rt5350.dtsi"
4
5 / {
6 compatible = "easyacc,wizard-8800", "ralink,rt5350-soc";
7 model = "EASYACC WI-STOR WIZARD 8800";
8 };
9
10 &gpio0 {
11 status = "okay";
12 };
13
14 &gpio1 {
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 };
57
58 &state_default {
59 gpio {
60 ralink,group = "i2c", "jtag", "uartf";
61 ralink,function = "gpio";
62 };
63 };
64
65 &ethernet {
66 mtd-mac-address = <&factory 0x4>;
67 };
68
69 &esw {
70 mediatek,portmap = <0x2f>;
71 };
72
73 &ehci {
74 status = "okay";
75 };
76
77 &ohci {
78 status = "okay";
79 };
80
81 &wmac {
82 ralink,mtd-eeprom = <&factory 0>;
83 };