ralink: add missing OF node
[openwrt.git] / target / linux / ramips / dts / RTN56U.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                 port@0 {
27                         ralink,fixed-link = <1000 1 1 1>;
28                 };
29         };
30
31         pci@10140000 {
32                 status = "okay";
33
34                 pinctrl-names = "default";
35                 pinctrl-0 = <&pci_pins>;
36                 pci_pins: pci {
37                         pci {
38                                 ralink,group = "pci";
39                                 ralink,function = "pci-fnc";
40                         };
41                 };
42
43                 host-bridge {
44                         pci-bridge@1 {
45                                 status = "okay";
46                         };
47                 };
48         };
49
50         wmac@10180000 {
51                 ralink,2ghz = <0>;
52         };
53
54         ehci@101c0000 {
55                 status = "okay";
56         };
57
58         ohci@101c1000 {
59                 status = "okay";
60         };
61
62         nor-flash@1c000000 {
63                 compatible = "cfi-flash";
64                 reg = <0x1c000000 0x800000>;
65
66                 bank-width = <2>;
67                 #address-cells = <1>;
68                 #size-cells = <1>;
69
70                 partition@0 {
71                         reg = <0x0 0x0030000>;
72                         label = "u-boot";
73                         read-only;
74                 };
75
76                 partition@30000 {
77                         reg = <0x00030000 0x00010000>;
78                         label = "u-boot-env";
79                         read-only;
80                 };
81
82                 factory: partition@40000 {
83                         reg = <0x00040000 0x00010000>;
84                         label = "factory";
85                         read-only;
86                 };
87
88                 partition@50000 {
89                         reg = <0x00050000 0x007b0000>;
90                         label = "firmware";
91                 };
92         };
93
94         rtl8367 {
95                 compatible = "realtek,rtl8367";
96                 gpio-sda = <&gpio0 1 0>;
97                 gpio-sck = <&gpio0 2 0>;
98                 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
99         };
100
101         gpio-keys-polled {
102                 compatible = "gpio-keys-polled";
103                 #address-cells = <1>;
104                 #size-cells = <0>;
105                 poll-interval = <100>;
106                 reset {
107                         label = "reset";
108                         gpios = <&gpio0 13 1>;
109                         linux,code = <0x198>;
110                 };
111                 wps {
112                         label = "wps";
113                         gpios = <&gpio1 2 1>;
114                         linux,code = <0x211>;
115                 };
116         };
117
118         gpio-leds {
119                 compatible = "gpio-leds";
120
121                 power {
122                         label = "asus:blue:power";
123                         gpios = <&gpio0 0 1>;
124                 };
125                 lan {
126                         label = "asus:blue:lan";
127                         gpios = <&gpio0 19 1>;
128                 };
129                 wan {
130                         label = "asus:blue:wan";
131                         gpios = <&gpio1 3 1>;
132                 };
133                 usb {
134                         label = "asus:blue:usb";
135                         gpios = <&gpio1 0 1>;
136                 };
137         };
138 };