[ramips] fix typo pinmmux -> pinmux
[openwrt.git] / target / linux / ramips / dts / WL_330N3G.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "WL_330N3G", "ralink,rt3050-soc";
9         model = "Asus WL-330N3G";
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,64k(u-boot-env)ro,64k(factory)ro,3776k@0x50000(firmware)";
17         };
18
19         palmbus@10000000 {
20                 sysc@0 {
21                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
22                         ralink,uartmux = "gpio";
23                         ralink,wdtmux = <1>;
24                 };
25
26                 gpio0: gpio@600 {
27                         status = "okay";
28                 };
29
30                 spi@b00 {
31                         status = "okay";
32                         m25p80@0 {
33                                 #address-cells = <1>;
34                                 #size-cells = <1>;
35                                 compatible = "mx25l3205d";
36                                 reg = <0 0>;
37                                 linux,modalias = "m25p80", "mx25l3205d";
38                                 spi-max-frequency = <10000000>;
39                         };
40                 };
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                 3g {
55                         label = "asus:blue:3g";
56                         gpios = <&gpio0 9 1>;
57                 };
58                 3g2 {
59                         label = "asus:red:3g";
60                         gpios = <&gpio0 13 1>;
61                 };
62                 power {
63                         label = "asus:blue:power";
64                         gpios = <&gpio0 11 1>;
65                 };
66         };
67
68         gpio-keys-polled {
69                 compatible = "gpio-keys-polled";
70                 #address-cells = <1>;
71                 #size-cells = <0>;
72                 poll-interval = <20>;
73                 reset {
74                         label = "reset";
75                         gpios = <&gpio0 10 1>;
76                         linux,code = <0x198>;
77                 };
78                 wps {
79                         label = "wps";
80                         gpios = <&gpio0 0 1>;
81                         linux,code = <0x198>;
82                 };
83         };
84
85         wmac@10180000 {
86                 status = "okay";
87         };
88
89         otg@101c0000 {
90                 status = "okay";
91         };
92 };