ralink: dts 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 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 gpio-keys-polled {
62 compatible = "gpio-keys-polled";
63 #address-cells = <1>;
64 #size-cells = <0>;
65 poll-interval = <100>;
66 wps {
67 label = "wps";
68 gpios = <&gpio0 0 1>;
69 linux,code = <0x211>;
70 };
71 bandwidth {
72 label = "bandwidth";
73 gpios = <&gpio0 8 0>;
74 linux,code = <0x198>;
75 };
76 reset {
77 label = "reset";
78 gpios = <&gpio0 9 1>;
79 linux,code = <0x198>;
80 };
81 };
82
83 gpio-leds {
84 compatible = "gpio-leds";
85
86 diag {
87 label = "buffalo:red:diag";
88 gpios = <&gpio0 10 1>;
89 };
90 power {
91 label = "buffalo:blue:power";
92 gpios = <&gpio0 12 1>;
93 };
94 security {
95 label = "buffalo:blue:security";
96 gpios = <&gpio0 13 1>;
97 };
98 };
99 };