[ramips] add the dts files that describe the boards in future
[openwrt/svn-archive/archive.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,pinmmux = "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 spi@b00 {
36 status = "okay";
37
38 m25p80@0 {
39 #address-cells = <1>;
40 #size-cells = <1>;
41 compatible = "mx25l6405d";
42 reg = <0 0>;
43 linux,modalias = "m25p80";
44 spi-max-frequency = <25000000>;
45 partition@0 {
46 label = "uboot";
47 reg = <0x0 0x30000>;
48 read-only;
49 };
50 partition@30000 {
51 label = "uboot-env";
52 reg = <0x30000 0x4000>;
53 read-only;
54 };
55 factory: partition@34000 {
56 label = "factory";
57 reg = <0x34000 0x4000>;
58 read-only;
59 };
60 partition@38000 {
61 label = "nvram";
62 reg = <0x38000 0x8000>;
63 read-only;
64 };
65 partition@40000 {
66 label = "devdata";
67 reg = <0x40000 0x10000>;
68 };
69 partition@50000 {
70 label = "firmware";
71 reg = <0x50000 0x7b0000>;
72 };
73 };
74 };
75 };
76
77 ethernet@10100000 {
78 status = "okay";
79
80 ralink,fixed-link = <1000 1 1 1>;
81 };
82
83 wmac@10180000 {
84 status = "okay";
85 ralink,2ghz = <0>;
86 };
87
88 ehci@101c0000 {
89 status = "okay";
90 };
91
92 ohci@101c1000 {
93 status = "okay";
94 };
95
96 rtl8366b {
97 compatible = "rtl8367b";
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 0>;
111 linux,code = <0x198>;
112 };
113 wps {
114 label = "wps";
115 gpios = <&gpio1 2 0>;
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 };