[ramips] fix typo pinmmux -> pinmux
[openwrt.git] / target / linux / ramips / dts / RT-N13U.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "RT-N13U", "ralink,rt3052-soc";
9         model = "Asus RT-N13U";
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,7872k@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
31         cfi@1f000000 {
32                 compatible = "cfi-flash";
33                 reg = <0x1f000000 0x800000>;
34
35                 bank-width = <2>;
36                 device-width = <2>;
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39         };
40
41         gpio-leds {
42                 compatible = "gpio-leds";
43                 power {
44                         label = "rt-n13u:power";
45                         gpios = <&gpio0 7 1>;
46                 };
47                 wifi {
48                         label = "rt-n13u:wifi";
49                         gpios = <&gpio0 8 1>;
50                 };
51         };
52
53         gpio-keys-polled {
54                 compatible = "gpio-keys-polled";
55                 #address-cells = <1>;
56                 #size-cells = <0>;
57                 poll-interval = <10>;
58                 reset {
59                         label = "reset";
60                         gpios = <&gpio0 10 1>;
61                         linux,code = <0x198>;
62                 };
63                 wps {
64                         label = "wps";
65                         gpios = <&gpio0 0 1>;
66                         linux,code = <0x211>;
67                 };
68         };
69
70         ethernet@10100000 {
71                 status = "okay";
72         };
73
74         esw@10110000 {
75                 status = "okay";
76                 ralink,portmap = <0x2f>;
77         };
78
79         wmac@10180000 {
80                 status = "okay";
81         };
82
83         otg@101c0000 {
84                 status = "okay";
85         };
86 };