ralink: dts fixes
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / RT-N10-PLUS.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "RT-N10-PLUS", "ralink,rt3050-soc";
7 model = "Asus RT-N10+";
8
9 cfi@1f000000 {
10 compatible = "cfi-flash";
11 reg = <0x1f000000 0x800000>;
12
13 bank-width = <2>;
14 device-width = <2>;
15 #address-cells = <1>;
16 #size-cells = <1>;
17
18 partition@0 {
19 label = "u-boot";
20 reg = <0x0 0x30000>;
21 read-only;
22 };
23
24 partition@30000 {
25 label = "devdata";
26 reg = <0x30000 0x10000>;
27 read-only;
28 };
29
30 partition@40000 {
31 label = "devconf";
32 reg = <0x40000 0x10000>;
33 read-only;
34 };
35
36 partition@50000 {
37 label = "firmware";
38 reg = <0x50000 0x3b0000>;
39 };
40 };
41
42 esw@10110000 {
43 ralink,portmap = <0x3e>;
44 };
45
46 gpio-leds {
47 compatible = "gpio-leds";
48 wps {
49 label = "asus:green:wps";
50 gpios = <&gpio0 14 1>;
51 };
52 };
53
54 gpio-keys-polled {
55 compatible = "gpio-keys-polled";
56 #address-cells = <1>;
57 #size-cells = <0>;
58 poll-interval = <20>;
59 reset {
60 label = "reset";
61 gpios = <&gpio0 10 1>;
62 linux,code = <0x198>;
63 };
64 wps {
65 label = "wps";
66 gpios = <&gpio0 0 1>;
67 linux,code = <0x211>;
68 };
69 };
70 };