ralink: update patches
[openwrt/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 port@0 {
35 ralink,fixed-link = <1000 1 1 1>;
36 };
37 };
38
39 pci@10140000 {
40 status = "okay";
41
42 host-bridge {
43 pci-bridge@1 {
44 status = "okay";
45 };
46 };
47 };
48
49 wmac@10180000 {
50 status = "okay";
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 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 };