fix typo pinmmux -> pinmux
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / RT-G32-B1.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "RT-G32-B1", "ralink,rt3050-soc";
9 model = "Asus RT-G32 B1";
10
11 memorydetect {
12 ralink,memory = <0x0 0x200000 0x4000000>;
13 };
14
15 chosen {
16 bootargs = "mtdparts=spi0.0:192k(u-boot)ro,64k(devdata)ro,64k(devconf)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 = <0x2f>;
50 };
51
52 gpio-keys-polled {
53 compatible = "gpio-keys-polled";
54 #address-cells = <1>;
55 #size-cells = <0>;
56 poll-interval = <20>;
57 reset {
58 label = "reset";
59 gpios = <&gpio0 10 1>;
60 linux,code = <0x198>;
61 };
62 wps {
63 label = "wps";
64 gpios = <&gpio0 0 1>;
65 linux,code = <0x211>;
66 };
67 };
68
69 wmac@10180000 {
70 status = "okay";
71 };
72 };