rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / ramips / dts / RT-N56U.dts
1 /dts-v1/;
2
3 #include "rt3883.dtsi"
4
5 / {
6         compatible = "RT-N56U", "ralink,rt3883-soc";
7         model = "Asus RT-N56U";
8
9         palmbus@10000000 {
10                 gpio1: gpio@638 {
11                         status = "okay";
12                 };
13         };
14
15         pinctrl {
16                 state_default: pinctrl0 {
17                         gpio {
18                                 ralink,group = "spi", "i2c", "jtag", "uartf";
19                                 ralink,function = "gpio";
20                         };
21                 };
22         };
23
24         ethernet@10100000 {
25                 mtd-mac-address = <&factory 0x4>;
26
27                 port@0 {
28                         mediatek,fixed-link = <1000 1 1 1>;
29                 };
30         };
31
32         pci@10140000 {
33                 status = "okay";
34                 pinctrl-names = "default";
35                 pinctrl-0 = <&pci_pins>;
36
37                 pci_pins: pci {
38                         pci {
39                                 ralink,group = "pci";
40                                 ralink,function = "pci-fnc";
41                         };
42                 };
43
44                 host-bridge {
45                         pci-bridge@1 {
46                                 status = "okay";
47
48                                 wmac@0,0 {
49                                         compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
50                                         reg = < 0x10000 0 0 0 0 >;
51                                         ralink,eeprom = "rt2x00pci_1_0.eeprom";
52                                 };
53                         };
54                 };
55         };
56
57         wmac@10180000 {
58                 status = "okay";
59                 ralink,2ghz = <0>;
60                 ralink,mtd-eeprom = <&factory 0>;
61         };
62
63         ehci@101c0000 {
64                 status = "okay";
65         };
66
67         ohci@101c1000 {
68                 status = "okay";
69         };
70
71         nor-flash@1c000000 {
72                 compatible = "cfi-flash";
73                 reg = <0x1c000000 0x800000>;
74                 bank-width = <2>;
75                 #address-cells = <1>;
76                 #size-cells = <1>;
77
78                 partition@0 {
79                         reg = <0x0 0x0030000>;
80                         label = "u-boot";
81                         read-only;
82                 };
83
84                 partition@30000 {
85                         reg = <0x00030000 0x00010000>;
86                         label = "u-boot-env";
87                         read-only;
88                 };
89
90                 factory: partition@40000 {
91                         reg = <0x00040000 0x00010000>;
92                         label = "factory";
93                         read-only;
94                 };
95
96                 partition@50000 {
97                         reg = <0x00050000 0x007b0000>;
98                         label = "firmware";
99                 };
100         };
101
102         rtl8367 {
103                 compatible = "realtek,rtl8367";
104                 gpio-sda = <&gpio0 1 0>;
105                 gpio-sck = <&gpio0 2 0>;
106                 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
107         };
108
109         gpio-keys-polled {
110                 compatible = "gpio-keys-polled";
111                 #address-cells = <1>;
112                 #size-cells = <0>;
113                 poll-interval = <100>;
114
115                 reset {
116                         label = "reset";
117                         gpios = <&gpio0 13 1>;
118                         linux,code = <0x198>;
119                 };
120
121                 wps {
122                         label = "wps";
123                         gpios = <&gpio1 2 1>;
124                         linux,code = <0x211>;
125                 };
126         };
127
128         gpio-leds {
129                 compatible = "gpio-leds";
130
131                 power {
132                         label = "rt-n56u:blue:power";
133                         gpios = <&gpio0 0 1>;
134                 };
135
136                 lan {
137                         label = "rt-n56u:blue:lan";
138                         gpios = <&gpio0 19 1>;
139                 };
140
141                 wan {
142                         label = "rt-n56u:blue:wan";
143                         gpios = <&gpio1 3 1>;
144                 };
145
146                 usb {
147                         label = "rt-n56u:blue:usb";
148                         gpios = <&gpio1 0 1>;
149                 };
150         };
151 };