ralink: update patches
[openwrt.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                 sysc@0 {
11                         ralink,pinmux = "uartlite";
12                         ralink,gpiomux = "i2c", "jtag";
13                         ralink,uartmux = "gpio";
14                         ralink,pcimux = "pci-fnc";
15                         ralink,wdtmux = <1>;
16                 };
17
18                 timer@100 {
19                         status = "okay";
20                 };
21
22                 gpio0: gpio@600 {
23                         status = "okay";
24                 };
25
26                 gpio1: gpio@638 {
27                         status = "okay";
28                 };
29         };
30
31         ethernet@10100000 {
32                 status = "okay";
33                 port@0 {
34                         phy-handle = <&phy0>;
35                         phy-mode = "rgmii";
36                 };
37                 mdio-bus {
38                         status = "okay";
39
40                         phy0: ethernet-phy@0 {
41                                 reg = <0>;
42                         };
43                 };
44         };
45
46         wmac@10180000 {
47                 status = "okay";
48                 ralink,5ghz = <0>;
49         };
50
51         nor-flash@1c000000 {
52                 compatible = "cfi-flash";
53                 reg = <0x1c000000 0x800000>;
54
55                 bank-width = <2>;
56                 #address-cells = <1>;
57                 #size-cells = <1>;
58
59                 partition@0 {
60                         reg = <0x0 0x0030000>;
61                         label = "u-boot";
62                         read-only;
63                 };
64
65                 partition@30000 {
66                         reg = <0x00030000 0x00010000>;
67                         label = "u-boot-env";
68                         read-only;
69                 };
70
71                 partition@40000 {
72                         reg = <0x00040000 0x00010000>;
73                         label = "factory";
74                         read-only;
75                 };
76
77                 partition@50000 {
78                         reg = <0x00050000 0x007b0000>;
79                         label = "firmware";
80                 };
81         };
82
83         gpio-keys-polled {
84                 compatible = "gpio-keys-polled";
85                 #address-cells = <1>;
86                 #size-cells = <0>;
87                 poll-interval = <100>;
88                 reset {
89                         label = "reset";
90                         gpios = <&gpio0 10 1>;
91                         linux,code = <0x198>;
92                 };
93                 wps {
94                         label = "wps";
95                         gpios = <&gpio1 2 1>;
96                         linux,code = <0x211>;
97                 };
98                 rfkill {
99                         label = "rfkill";
100                         gpios = <&gpio0 0 1>;
101                         linux,code = <0xf7>;
102                 };
103         };
104
105         gpio-leds {
106                 compatible = "gpio-leds";
107                 wps {
108                         label = "trendnet:green:wps";
109                         gpios = <&gpio0 9 1>;
110                 };
111         };
112 };