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