lantiq: add 3.18 support
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / TEW-691GR.dts
1 /dts-v1/;
2
3 /include/ "rt3883.dtsi"
4
5 / {
6 compatible = "TEW-691GR", "ralink,rt3883-soc";
7 model = "TRENDnet TEW-691GR";
8
9 palmbus@10000000 {
10 gpio1: gpio@638 {
11 status = "okay";
12 };
13 };
14
15 pinctrl {
16 state_default: pinctrl0 {
17 gpio {
18 ralink,group = "spi", "i2c", "jtag", "uartf";
19 ralink,function = "gpio";
20 };
21 };
22 };
23
24 ethernet@10100000 {
25 mtd-mac-address = <&factory 0x28>;
26 port@0 {
27 phy-handle = <&phy0>;
28 phy-mode = "rgmii";
29 };
30 mdio-bus {
31 status = "okay";
32
33 phy0: ethernet-phy@0 {
34 reg = <0>;
35 };
36 };
37 };
38
39 wmac@10180000 {
40 ralink,5ghz = <0>;
41 };
42
43 nor-flash@1c000000 {
44 compatible = "cfi-flash";
45 reg = <0x1c000000 0x800000>;
46
47 bank-width = <2>;
48 #address-cells = <1>;
49 #size-cells = <1>;
50
51 partition@0 {
52 reg = <0x0 0x0030000>;
53 label = "u-boot";
54 read-only;
55 };
56
57 partition@30000 {
58 reg = <0x00030000 0x00010000>;
59 label = "u-boot-env";
60 read-only;
61 };
62
63 factory: partition@40000 {
64 reg = <0x00040000 0x00010000>;
65 label = "factory";
66 read-only;
67 };
68
69 partition@50000 {
70 reg = <0x00050000 0x007b0000>;
71 label = "firmware";
72 };
73 };
74
75 gpio-keys-polled {
76 compatible = "gpio-keys-polled";
77 #address-cells = <1>;
78 #size-cells = <0>;
79 poll-interval = <100>;
80 reset {
81 label = "reset";
82 gpios = <&gpio0 10 1>;
83 linux,code = <0x198>;
84 };
85 wps {
86 label = "wps";
87 gpios = <&gpio1 2 1>;
88 linux,code = <0x211>;
89 };
90 rfkill {
91 label = "rfkill";
92 gpios = <&gpio0 0 1>;
93 linux,code = <0xf7>;
94 };
95 };
96
97 gpio-leds {
98 compatible = "gpio-leds";
99 wps {
100 label = "trendnet:green:wps";
101 gpios = <&gpio0 9 1>;
102 };
103 };
104 };