rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.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 gpio0: gpio@600 {
13 status = "okay";
14 };
15 };
16
17 cfi@1f000000 {
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x800000>;
20 bank-width = <2>;
21 device-width = <2>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24
25 partition@0 {
26 label = "uboot";
27 reg = <0x0 0x30000>;
28 read-only;
29 };
30
31 partition@30000 {
32 label = "uboot-env";
33 reg = <0x30000 0x10000>;
34 read-only;
35 };
36
37 factory: partition@40000 {
38 label = "factory";
39 reg = <0x40000 0x10000>;
40 read-only;
41 };
42
43 partition@50000 {
44 label = "linux";
45 reg = <0x50000 0x3b0000>;
46 };
47 };
48
49 ethernet@400000 {
50 status = "okay";
51 mtd-mac-address = <&factory 0x4>;
52
53 port@0 {
54 mediatek,fixed-link = <1000 1 1 1>;
55 };
56 };
57
58 wmac@480000 {
59 ralink,mtd-eeprom = <&factory 0>;
60 };
61
62 gpio-keys-polled {
63 compatible = "gpio-keys-polled";
64 #address-cells = <1>;
65 #size-cells = <0>;
66 poll-interval = <100>;
67
68 wps {
69 label = "wps";
70 gpios = <&gpio0 0 1>;
71 linux,code = <0x211>;
72 };
73
74 bandwidth {
75 label = "bandwidth";
76 gpios = <&gpio0 8 0>;
77 linux,code = <0x198>;
78 };
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 = "wli-tx4-ag300n:red:diag";
92 gpios = <&gpio0 10 1>;
93 };
94
95 power {
96 label = "wli-tx4-ag300n:blue:power";
97 gpios = <&gpio0 12 1>;
98 };
99
100 security {
101 label = "wli-tx4-ag300n:blue:security";
102 gpios = <&gpio0 13 1>;
103 };
104 };
105 };