ralink: update patches
[openwrt.git] / target / linux / ramips / dts / TEW-692GR.dts
1 /dts-v1/;
2
3 /include/ "rt3883.dtsi"
4
5 / {
6         compatible = "TEW-692GR", "ralink,rt3883-soc";
7         model = "TRENDnet TEW-692GR";
8
9         palmbus@10000000 {
10                 sysc@0 {
11                         ralink,pinmux = "uartlite";
12                         ralink,gpiomux = "i2c", "jtag", "spi";
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         pci@10140000 {
47                 status = "okay";
48
49                 host-bridge {
50                         pci-bridge@1 {
51                                 status = "okay";
52                         };
53                 };
54         };
55
56         wmac@10180000 {
57                 status = "okay";
58                 ralink,5ghz = <0>;
59         };
60
61         nor-flash@1c000000 {
62                 compatible = "cfi-flash";
63                 reg = <0x1c000000 0x800000>;
64
65                 bank-width = <2>;
66                 #address-cells = <1>;
67                 #size-cells = <1>;
68
69                 partition@0 {
70                         reg = <0x0 0x0030000>;
71                         label = "u-boot";
72                         read-only;
73                 };
74
75                 partition@30000 {
76                         reg = <0x00030000 0x00010000>;
77                         label = "u-boot-env";
78                         read-only;
79                 };
80
81                 partition@40000 {
82                         reg = <0x00040000 0x00010000>;
83                         label = "factory";
84                         read-only;
85                 };
86
87                 partition@50000 {
88                         reg = <0x00050000 0x007b0000>;
89                         label = "firmware";
90                 };
91         };
92
93         gpio-keys-polled {
94                 compatible = "gpio-keys-polled";
95                 #address-cells = <1>;
96                 #size-cells = <0>;
97                 poll-interval = <100>;
98                 reset {
99                         label = "reset";
100                         gpios = <&gpio0 10 1>;
101                         linux,code = <0x198>;
102                 };
103                 wps {
104                         label = "wps";
105                         gpios = <&gpio1 2 1>;
106                         linux,code = <0x211>;
107                 };
108         };
109
110         gpio-leds {
111                 compatible = "gpio-leds";
112                 wps {
113                         label = "trendnet:orange:wps";
114                         gpios = <&gpio0 9 1>;
115                 };
116                 wps2 {
117                         label = "trendnet:green:wps";
118                         gpios = <&gpio1 4 1>;
119                 };
120         };
121 };