ralink: update patches
[openwrt/openwrt.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 port@0 {
57 ralink,fixed-link = <1000 1 1 1>;
58 };
59 };
60
61 wmac@480000 {
62 status = "okay";
63 };
64
65 gpio-keys-polled {
66 compatible = "gpio-keys-polled";
67 #address-cells = <1>;
68 #size-cells = <0>;
69 poll-interval = <100>;
70 wps {
71 label = "wps";
72 gpios = <&gpio0 0 1>;
73 linux,code = <0x211>;
74 };
75 bandwidth {
76 label = "bandwidth";
77 gpios = <&gpio0 8 0>;
78 linux,code = <0x198>;
79 };
80 reset {
81 label = "reset";
82 gpios = <&gpio0 9 1>;
83 linux,code = <0x198>;
84 };
85 };
86
87 gpio-leds {
88 compatible = "gpio-leds";
89
90 diag {
91 label = "buffalo:red:diag";
92 gpios = <&gpio0 10 1>;
93 };
94 power {
95 label = "buffalo:blue:power";
96 gpios = <&gpio0 12 1>;
97 };
98 security {
99 label = "buffalo:blue:security";
100 gpios = <&gpio0 13 1>;
101 };
102 };
103 };