2e1a62cdc2e17e094ca5ceaad4300fb52b562844
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / RT-N13U.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "RT-N13U", "ralink,rt3052-soc";
7 model = "Asus RT-N13U";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
12 ralink,uartmux = "gpio";
13 ralink,wdtmux = <1>;
14 };
15
16 gpio0: gpio@600 {
17 status = "okay";
18 };
19 };
20
21 cfi@1f000000 {
22 compatible = "cfi-flash";
23 reg = <0x1f000000 0x800000>;
24
25 bank-width = <2>;
26 device-width = <2>;
27 #address-cells = <1>;
28 #size-cells = <1>;
29
30 partition@0 {
31 label = "u-boot";
32 reg = <0x0 0x30000>;
33 read-only;
34 };
35
36 partition@30000 {
37 label = "u-boot-env";
38 reg = <0x30000 0x10000>;
39 read-only;
40 };
41
42 factory: partition@40000 {
43 label = "factory";
44 reg = <0x40000 0x10000>;
45 read-only;
46 };
47
48 partition@50000 {
49 label = "firmware";
50 reg = <0x50000 0x7b0000>;
51 };
52 };
53
54 gpio-leds {
55 compatible = "gpio-leds";
56 power {
57 label = "rt-n13u:power";
58 gpios = <&gpio0 7 1>;
59 };
60 wifi {
61 label = "rt-n13u:wifi";
62 gpios = <&gpio0 8 1>;
63 };
64 };
65
66 gpio-keys-polled {
67 compatible = "gpio-keys-polled";
68 #address-cells = <1>;
69 #size-cells = <0>;
70 poll-interval = <10>;
71 reset {
72 label = "reset";
73 gpios = <&gpio0 4 1>;
74 linux,code = <0x198>;
75 };
76 wps {
77 label = "wps";
78 gpios = <&gpio0 10 1>;
79 linux,code = <0x211>;
80 };
81 rfkill {
82 label = "rfkill";
83 gpios = <&gpio0 0 1>;
84 linux,code = <0xf7>;
85 };
86 };
87
88 ethernet@10100000 {
89 status = "okay";
90 };
91
92 esw@10110000 {
93 status = "okay";
94 ralink,portmap = <0x2f>;
95 };
96
97 wmac@10180000 {
98 status = "okay";
99 };
100
101 otg@101c0000 {
102 status = "okay";
103 };
104 };