[ramips] fix typo that made gpiomuxing fail
[openwrt.git] / target / linux / ramips / dts / NW718.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "NW718", "ralink,rt3050-soc";
9         model = "Netcore NW718";
10
11         memorydetect {
12                 ralink,memory = <0x0 0x200000 0x4000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,57600 mtdparts=spi0.0:192k(u-boot)ro,128k(config)ro,64k(factory)ro,3712k@0x60000(firmware)";
17         };
18
19         palmbus@10000000 {
20                 sysc@0 {
21                         ralink,pinmmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
22                         ralink,gpiomux = "i2c";
23                         ralink,uartmux = "gpio";
24                         ralink,wdtmux = <1>;
25                 };
26
27                 gpio0: gpio@600 {
28                         status = "okay";
29                 };
30
31                 spi@b00 {
32                         status = "okay";
33                         m25p80@0 {
34                                 #address-cells = <1>;
35                                 #size-cells = <1>;
36                                 compatible = "mx25l3205d";
37                                 reg = <0 0>;
38                                 linux,modalias = "m25p80", "mx25l3205d";
39                                 spi-max-frequency = <25000000>;
40                         };
41                 };
42         };
43
44         ethernet@10100000 {
45                 status = "okay";
46         };
47
48         esw@10110000 {
49                 status = "okay";
50                 ralink,portmap = <0x2f>;
51         };
52
53         gpio-leds {
54                 compatible = "gpio-leds";
55                 cpu {
56                         label = "nw718:amber:cpu";
57                         gpios = <&gpio0 13 1>;
58                 };
59                 usb {
60                         label = "nw718:amber:usb";
61                         gpios = <&gpio0 8 1>;
62                 };
63                 wps {
64                         label = "nw718:amber:wps";
65                         gpios = <&gpio0 14 1>;
66                 };
67         };
68
69         gpio-keys-polled {
70                 compatible = "gpio-keys-polled";
71                 #address-cells = <1>;
72                 #size-cells = <0>;
73                 poll-interval = <20>;
74                 reset {
75                         label = "reset";
76                         gpios = <&gpio0 10 1>;
77                         linux,code = <0x198>;
78                 };
79                 wps {
80                         label = "wps";
81                         gpios = <&gpio0 0 1>;
82                         linux,code = <0x211>;
83                 };
84         };
85
86         wmac@10180000 {
87                 status = "okay";
88         };
89
90         otg@101c0000 {
91                 status = "okay";
92         };
93 };