ramips: TEW-692GR.dts fixes
[openwrt.git] / target / linux / ramips / dts / RT-N13U.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "RT-N13U", "ralink,rt3052-soc";
7         model = "Asus RT-N13U";
8
9         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
11         };
12
13         chosen {
14                 bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,7872k@0x50000(firmware)";
15         };
16
17         palmbus@10000000 {
18                 sysc@0 {
19                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
20                         ralink,uartmux = "gpio";
21                         ralink,wdtmux = <1>;
22                 };
23
24                 gpio0: gpio@600 {
25                         status = "okay";
26                 };
27         };
28
29         cfi@1f000000 {
30                 compatible = "cfi-flash";
31                 reg = <0x1f000000 0x800000>;
32
33                 bank-width = <2>;
34                 device-width = <2>;
35                 #address-cells = <1>;
36                 #size-cells = <1>;
37         };
38
39         gpio-leds {
40                 compatible = "gpio-leds";
41                 power {
42                         label = "rt-n13u:power";
43                         gpios = <&gpio0 7 1>;
44                 };
45                 wifi {
46                         label = "rt-n13u:wifi";
47                         gpios = <&gpio0 8 1>;
48                 };
49         };
50
51         gpio-keys-polled {
52                 compatible = "gpio-keys-polled";
53                 #address-cells = <1>;
54                 #size-cells = <0>;
55                 poll-interval = <10>;
56                 reset {
57                         label = "reset";
58                         gpios = <&gpio0 10 1>;
59                         linux,code = <0x198>;
60                 };
61                 wps {
62                         label = "wps";
63                         gpios = <&gpio0 0 1>;
64                         linux,code = <0x211>;
65                 };
66         };
67
68         ethernet@10100000 {
69                 status = "okay";
70         };
71
72         esw@10110000 {
73                 status = "okay";
74                 ralink,portmap = <0x2f>;
75         };
76
77         wmac@10180000 {
78                 status = "okay";
79         };
80
81         otg@101c0000 {
82                 status = "okay";
83         };
84 };