e0a21fd82fc62c8c36d4e363d80797155249920c
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / RTN56U.dts
1 /dts-v1/;
2
3 /include/ "rt3883.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "RT-N56U", "ralink,rt3883-soc";
9 model = "Asus RT-N56U";
10
11 memorydetect {
12 ralink,memory = <0x0 0x200000 0x10000000>;
13 };
14
15 palmbus@10000000 {
16 sysc@0 {
17 ralink,pinmux = "uartlite", "spi";
18 ralink,gpiomux = "i2c", "jtag";
19 ralink,uartmux = "gpio";
20 ralink,wdtmux = <0>;
21 };
22
23 timer@100 {
24 status = "okay";
25 };
26
27 gpio0: gpio@600 {
28 status = "okay";
29 };
30
31 gpio1: gpio@638 {
32 status = "okay";
33 };
34 };
35
36 ethernet@10100000 {
37 status = "okay";
38
39 ralink,fixed-link = <1000 1 1 1>;
40 };
41
42 wmac@10180000 {
43 status = "okay";
44 ralink,2ghz = <0>;
45 };
46
47 ehci@101c0000 {
48 status = "okay";
49 };
50
51 ohci@101c1000 {
52 status = "okay";
53 };
54
55 rtl8367 {
56 compatible = "realtek,rtl8367";
57 gpio-sda = <&gpio0 1 0>;
58 gpio-sck = <&gpio0 2 0>;
59 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
60 };
61
62 gpio-keys-polled {
63 compatible = "gpio-keys-polled";
64 #address-cells = <1>;
65 #size-cells = <0>;
66 poll-interval = <100>;
67 reset {
68 label = "reset";
69 gpios = <&gpio0 13 0>;
70 linux,code = <0x198>;
71 };
72 wps {
73 label = "wps";
74 gpios = <&gpio1 2 0>;
75 linux,code = <0x211>;
76 };
77 };
78
79 gpio-leds {
80 compatible = "gpio-leds";
81
82 power {
83 label = "asus:blue:power";
84 gpios = <&gpio0 0 1>;
85 };
86 lan {
87 label = "asus:blue:lan";
88 gpios = <&gpio0 19 1>;
89 };
90 wan {
91 label = "asus:blue:wan";
92 gpios = <&gpio1 3 1>;
93 };
94 usb {
95 label = "asus:blue:usb";
96 gpios = <&gpio1 0 1>;
97 };
98 };
99 };