[ramips] fix typo pinmmux -> pinmux
[openwrt.git] / target / linux / ramips / dts / WL_330N.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "WL_330N", "ralink,rt3050-soc";
9         model = "Asus WL-330N";
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                 link {
55                         label = "asus:blue:link";
56                         gpios = <&gpio0 9 1>;
57                 };
58                 power {
59                         label = "asus:blue:power";
60                         gpios = <&gpio0 11 1>;
61                 };
62         };
63
64         gpio-keys-polled {
65                 compatible = "gpio-keys-polled";
66                 #address-cells = <1>;
67                 #size-cells = <0>;
68                 poll-interval = <20>;
69                 reset {
70                         label = "reset";
71                         gpios = <&gpio0 10 1>;
72                         linux,code = <0x198>;
73                 };
74                 wps {
75                         label = "wps";
76                         gpios = <&gpio0 0 1>;
77                         linux,code = <0x198>;
78                 };
79         };
80
81         wmac@10180000 {
82                 status = "okay";
83         };
84 };