lantiq: add 3.18 support
[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
21 bank-width = <2>;
22 device-width = <2>;
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 partition@0 {
27 label = "uboot";
28 reg = <0x0 0x30000>;
29 read-only;
30 };
31 partition@30000 {
32 label = "uboot-env";
33 reg = <0x30000 0x10000>;
34 read-only;
35 };
36 factory: partition@40000 {
37 label = "factory";
38 reg = <0x40000 0x10000>;
39 read-only;
40 };
41 partition@50000 {
42 label = "linux";
43 reg = <0x50000 0x3b0000>;
44 };
45 };
46
47 ethernet@400000 {
48 status = "okay";
49 mtd-mac-address = <&factory 0x4>;
50
51 port@0 {
52 ralink,fixed-link = <1000 1 1 1>;
53 };
54 };
55
56 wmac@480000 {
57 ralink,mtd-eeprom = <&factory 0>;
58 };
59
60 gpio-keys-polled {
61 compatible = "gpio-keys-polled";
62 #address-cells = <1>;
63 #size-cells = <0>;
64 poll-interval = <100>;
65 wps {
66 label = "wps";
67 gpios = <&gpio0 0 1>;
68 linux,code = <0x211>;
69 };
70 bandwidth {
71 label = "bandwidth";
72 gpios = <&gpio0 8 0>;
73 linux,code = <0x198>;
74 };
75 reset {
76 label = "reset";
77 gpios = <&gpio0 9 1>;
78 linux,code = <0x198>;
79 };
80 };
81
82 gpio-leds {
83 compatible = "gpio-leds";
84
85 diag {
86 label = "buffalo:red:diag";
87 gpios = <&gpio0 10 1>;
88 };
89 power {
90 label = "buffalo:blue:power";
91 gpios = <&gpio0 12 1>;
92 };
93 security {
94 label = "buffalo:blue:security";
95 gpios = <&gpio0 13 1>;
96 };
97 };
98 };