[ramips] fix typo that made gpiomuxing fail
[openwrt.git] / target / linux / ramips / dts / ALL0239-3G.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "ALL0239-3G", "ralink,rt3052-soc";
9         model = "Allnet ALL0239-3G";
10
11         memorydetect {
12                 ralink,memory = <0x0 0x200000 0x4000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,7872k@0x50000(firmware)";
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
33         cfi@1f000000 {
34                 compatible = "cfi-flash";
35                 reg = <0x1f000000 0x800000>;
36
37                 bank-width = <2>;
38                 device-width = <2>;
39                 #address-cells = <1>;
40                 #size-cells = <1>;
41         };
42
43         ethernet@10100000 {
44                 status = "okay";
45         };
46
47         esw@10110000 {
48                 status = "okay";
49                 ralink,portmap = <0x3e>;
50         };
51
52         gpio-leds {
53                 compatible = "gpio-leds";
54                 usb {
55                         label = "hw550-3g:green:usb";
56                         gpios = <&gpio0 8 1>;
57                 };
58                 3g {
59                         label = "hw550-3g:green:3g";
60                         gpios = <&gpio0 11 1>;
61                 };
62                 status {
63                         label = "hw550-3g:green:status";
64                         gpios = <&gpio0 12 1>;
65                 };
66                 wps {
67                         label = "hw550-3g:green:wps";
68                         gpios = <&gpio0 14 1>;
69                 };
70         };
71
72         gpio-keys-polled {
73                 compatible = "gpio-keys-polled";
74                 #address-cells = <1>;
75                 #size-cells = <0>;
76                 poll-interval = <20>;
77                 reset {
78                         label = "reset";
79                         gpios = <&gpio0 10 1>;
80                         linux,code = <0x198>;
81                 };
82                 connect {
83                         label = "connect";
84                         gpios = <&gpio0 7 1>;
85                         linux,code = <0xda>;
86                 };
87                 wps {
88                         label = "wps";
89                         gpios = <&gpio0 0 1>;
90                         linux,code = <0x211>;
91                 };
92         };
93
94         wmac@10180000 {
95                 status = "okay";
96         };
97
98         otg@101c0000 {
99                 status = "okay";
100         };
101 };