fix typo pinmmux -> pinmux
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / W306R_V20.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "W306R_V20", "ralink,rt3052-soc";
9 model = "Tenda W306R V2.0";
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,3776k@0x50000(firmware)";
17 };
18
19 cfi@1f000000 {
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
22
23 bank-width = <2>;
24 device-width = <2>;
25 #address-cells = <1>;
26 #size-cells = <1>;
27 };
28
29 palmbus@10000000 {
30 sysc@0 {
31 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
32 ralink,uartmux = "gpio";
33 ralink,wdtmux = <1>;
34 };
35
36 gpio0: gpio@600 {
37 status = "okay";
38 };
39 };
40
41 ethernet@10100000 {
42 status = "okay";
43 };
44
45 esw@10110000 {
46 status = "okay";
47 ralink,portmap = <0x3e>;
48 };
49
50 gpio-leds {
51 compatible = "gpio-leds";
52 sys {
53 label = "w306r-v20:green:sys";
54 gpios = <&gpio0 9 1>;
55 };
56 wps {
57 label = "w306r-v20:green:wps";
58 gpios = <&gpio0 13 1>;
59 };
60 };
61
62 gpio-keys-polled {
63 compatible = "gpio-keys-polled";
64 #address-cells = <1>;
65 #size-cells = <0>;
66 poll-interval = <20>;
67 reset {
68 label = "RESET/WPS";
69 gpios = <&gpio0 10 1>;
70 linux,code = <0x198>;
71 };
72 };
73
74 wmac@10180000 {
75 status = "okay";
76 };
77 };