[ramips] fix typo that made gpiomuxing fail
[openwrt.git] / target / linux / ramips / dts / UR-336UN.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "UR-336UN", "ralink,rt3052-soc";
9         model = "UR-336UN Wireless N router";
10
11         memorydetect {
12                 ralink,memory = <0x0 0x200000 0x4000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,57600";
17         };
18
19         palmbus@10000000 {
20                 sysc@0 {
21                         ralink,pinmmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
22                         ralink,gpiomux = "mdio";
23                         ralink,uartmux = "gpio";
24                         ralink,wdtmux = <1>;
25                 };
26
27                 gpio0: gpio@600 {
28                         status = "okay";
29                 };
30         };
31
32         cfi@1f000000 {
33                 compatible = "cfi-flash";
34                 reg = <0x1f000000 0x800000>;
35
36                 bank-width = <2>;
37                 device-width = <2>;
38                 #address-cells = <1>;
39                 #size-cells = <1>;
40         };
41
42         ethernet@10100000 {
43                 status = "okay";
44         };
45
46         esw@10110000 {
47                 status = "okay";
48                 ralink,portmap = <0x2f>;
49         };
50
51         gpio-leds {
52                 compatible = "gpio-leds";
53                 3g {
54                         label = "ur336:green:3g";
55                         gpios = <&gpio0 9 1>;
56                 };
57                 gateway {
58                         label = "ur336:green:gateway";
59                         gpios = <&gpio0 11 1>;
60                 };
61                 ap {
62                         label = "ur336:green:ap";
63                         gpios = <&gpio0 12 1>;
64                 };
65                 wps {
66                         label = "ur336:green:wps";
67                         gpios = <&gpio0 14 1>;
68                 };
69                 station {
70                         label = "ur336:green:station";
71                         gpios = <&gpio0 13 1>;
72                 };
73         };
74
75         gpio-keys-polled {
76                 compatible = "gpio-keys-polled";
77                 #address-cells = <1>;
78                 #size-cells = <0>;
79                 poll-interval = <20>;
80                 reset_wps {
81                         label = "reset_wps";
82                         gpios = <&gpio0 10 1>;
83                         linux,code = <0x198>;
84                 };
85                 mode {
86                         label = "mode";
87                         gpios = <&gpio0 7 1>;
88                         linux,code = <0x32>;
89                 };
90         };
91
92         wmac@10180000 {
93                 status = "okay";
94         };
95
96         otg@101c0000 {
97                 status = "okay";
98         };
99 };