ramips: unbreak rt2880 support
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / WLI-TX4-AG300N.dts
1 /dts-v1/;
2
3 /include/ "rt2880.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "WLI-TX4-AG300N", "ralink,rt2880-soc";
9 model = "Buffalo WLI-TX4-AG300N";
10
11 palmbus@300000 {
12 sysc@0 {
13 ralink,pinmux = "uartlite";
14 ralink,uartmux = "gpio";
15 ralink,wdtmux = <1>;
16 };
17
18 gpio0: gpio@600 {
19 status = "okay";
20 };
21 };
22
23 cfi@1f000000 {
24 compatible = "cfi-flash";
25 reg = <0x1f000000 0x800000>;
26
27 bank-width = <2>;
28 device-width = <2>;
29 #address-cells = <1>;
30 #size-cells = <1>;
31
32 partition@0 {
33 label = "uboot";
34 reg = <0x0 0x30000>;
35 read-only;
36 };
37 partition@30000 {
38 label = "uboot-env";
39 reg = <0x30000 0x10000>;
40 read-only;
41 };
42 partition@40000 {
43 label = "calibration";
44 reg = <0x40000 0x10000>;
45 read-only;
46 };
47 partition@50000 {
48 label = "linux";
49 reg = <0x50000 0x3b0000>;
50 };
51 };
52
53 ethernet@400000 {
54 status = "okay";
55
56 ralink,fixed-link = <100 1 1 1>;
57 };
58
59 wmac@480000 {
60 status = "okay";
61 };
62
63 gpio-keys-polled {
64 compatible = "gpio-keys-polled";
65 #address-cells = <1>;
66 #size-cells = <0>;
67 poll-interval = <100>;
68 wps {
69 label = "wps";
70 gpios = <&gpio0 0 1>;
71 linux,code = <0x211>;
72 };
73 bandwidth {
74 label = "bandwidth";
75 gpios = <&gpio0 8 0>;
76 linux,code = <0x198>;
77 };
78 reset {
79 label = "reset";
80 gpios = <&gpio0 9 1>;
81 linux,code = <0x198>;
82 };
83 };
84
85 gpio-leds {
86 compatible = "gpio-leds";
87
88 diag {
89 label = "buffalo:red:diag";
90 gpios = <&gpio0 10 1>;
91 };
92 power {
93 label = "buffalo:blue:power";
94 gpios = <&gpio0 12 1>;
95 };
96 security {
97 label = "buffalo:blue:security";
98 gpios = <&gpio0 13 1>;
99 };
100 };
101 };