[ramips] fix typo pinmmux -> pinmux
[openwrt.git] / target / linux / ramips / dts / TEW-692GR.dts
1 /dts-v1/;
2
3 /include/ "rt3883.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "TEW-692GR", "ralink,rt3883-soc";
9         model = "TRENDnet TEW-692GR";
10
11         memorydetect {
12                 ralink,memory = <0x0 0x200000 0x10000000>;
13         };
14
15         palmbus@10000000 {
16                 sysc@0 {
17                         ralink,pinmux = "uartlite", "spi";
18                         ralink,gpiomux = "i2c", "jtag";
19                         ralink,uartmux = "gpio";
20                         ralink,wdtmux = <1>;
21                 };
22
23                 timer@100 {
24                         status = "okay";
25                 };
26
27                 gpio0: gpio@600 {
28                         status = "okay";
29                 };
30
31                 gpio1: gpio@638 {
32                         status = "okay";
33                 };
34
35                 spi@b00 {
36                         status = "okay";
37
38                         m25p80@0 {
39                                 #address-cells = <1>;
40                                 #size-cells = <1>;
41                                 compatible = "mx25l6405d";
42                                 reg = <0 0>;
43                                 linux,modalias = "m25p80";
44                                 spi-max-frequency = <25000000>;
45                         };
46                 };
47         };
48
49         ethernet@10100000 {
50                 status = "okay";
51                 ralink,phy-mask = <0x1>;
52                 phy-mode = "rgmii";
53         };
54
55         wmac@10180000 {
56                 status = "okay";
57                 ralink,5ghz = <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                 reset {
66                         label = "reset";
67                         gpios = <&gpio0 10 1>;
68                         linux,code = <0x198>;
69                 };
70                 wps {
71                         label = "wps";
72                         gpios = <&gpio1 2 1>;
73                         linux,code = <0x211>;
74                 };
75         };
76
77         gpio-leds {
78                 compatible = "gpio-leds";
79                 wps {
80                         label = "trendnet:orange:wps";
81                         gpios = <&gpio0 9 1>;
82                 };
83                 wps2 {
84                         label = "trendnet:green:wps";
85                         gpios = <&gpio1 4 1>;
86                 };
87         };
88 };