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