ramips: remove useless status property from wmac dts node
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3662_asus_rt-n56u.dts
1 #include "rt3883.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "asus,rt-n56u", "ralink,rt3662-soc", "ralink,rt3883-soc";
8 model = "Asus RT-N56U";
9
10 aliases {
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 };
16
17 flash@1c000000 {
18 compatible = "cfi-flash";
19 reg = <0x1c000000 0x800000>;
20 bank-width = <2>;
21
22 partitions {
23 compatible = "fixed-partitions";
24 #address-cells = <1>;
25 #size-cells = <1>;
26
27 partition@0 {
28 reg = <0x0 0x0030000>;
29 label = "u-boot";
30 read-only;
31 };
32
33 partition@30000 {
34 reg = <0x00030000 0x00010000>;
35 label = "u-boot-env";
36 read-only;
37 };
38
39 factory: partition@40000 {
40 compatible = "nvmem-cells";
41 label = "factory";
42 reg = <0x00040000 0x00010000>;
43 #address-cells = <1>;
44 #size-cells = <1>;
45 read-only;
46
47 eeprom_factory_0: eeprom@0 {
48 reg = <0x0 0x200>;
49 };
50
51 eeprom_factory_8000: eeprom@8000 {
52 reg = <0x8000 0x200>;
53 };
54
55 macaddr_factory_4: macaddr@4 {
56 reg = <0x4 0x6>;
57 };
58 };
59
60 partition@50000 {
61 compatible = "denx,uimage";
62 reg = <0x00050000 0x007b0000>;
63 label = "firmware";
64 };
65 };
66 };
67
68 rtl8367 {
69 compatible = "realtek,rtl8367";
70 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
71 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
72 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
73 };
74
75 keys {
76 compatible = "gpio-keys-polled";
77 poll-interval = <100>;
78
79 reset {
80 label = "reset";
81 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
83 };
84
85 wps {
86 label = "wps";
87 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_WPS_BUTTON>;
89 };
90 };
91
92 leds {
93 compatible = "gpio-leds";
94
95 led_power: power {
96 label = "blue:power";
97 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
98 };
99
100 lan {
101 label = "blue:lan";
102 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
103 };
104
105 wan {
106 label = "blue:wan";
107 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
108 };
109
110 usb {
111 label = "blue:usb";
112 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
113 };
114 };
115 };
116
117 &gpio1 {
118 status = "okay";
119 };
120
121 &state_default {
122 gpio {
123 groups = "spi", "i2c", "jtag", "uartf";
124 function = "gpio";
125 };
126 };
127
128 &ethernet {
129 nvmem-cells = <&macaddr_factory_4>;
130 nvmem-cell-names = "mac-address";
131
132 port@0 {
133 mediatek,fixed-link = <1000 1 1 1>;
134 };
135 };
136
137 &pci {
138 status = "okay";
139 };
140
141 &pci1 {
142 status = "okay";
143
144 wifi@0,0 {
145 compatible = "pci1814,3091";
146 reg = <0x10000 0 0 0 0>;
147 nvmem-cells = <&eeprom_factory_8000>;
148 nvmem-cell-names = "eeprom";
149 };
150 };
151
152 &wmac {
153 ralink,2ghz = <0>;
154 nvmem-cells = <&eeprom_factory_0>;
155 nvmem-cell-names = "eeprom";
156 };
157
158 &ehci {
159 status = "okay";
160 };
161
162 &ohci {
163 status = "okay";
164 };