0fb170b62bdfde523b84db56e30e51efe3e92f89
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / RT-G32-B1.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "RT-G32-B1", "ralink,rt3050-soc";
7 model = "Asus RT-G32 B1";
8
9 memorydetect {
10 ralink,memory = <0x0 0x200000 0x4000000>;
11 };
12
13 chosen {
14 bootargs = "mtdparts=spi0.0:192k(u-boot)ro,64k(devdata)ro,64k(devconf)ro,3776k@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 spi@b00 {
29 status = "okay";
30 m25p80@0 {
31 #address-cells = <1>;
32 #size-cells = <1>;
33 compatible = "mx25l3205d";
34 reg = <0 0>;
35 linux,modalias = "m25p80", "mx25l3205d";
36 spi-max-frequency = <10000000>;
37 };
38 };
39 };
40
41 ethernet@10100000 {
42 status = "okay";
43 };
44
45 esw@10110000 {
46 status = "okay";
47 ralink,portmap = <0x2f>;
48 };
49
50 gpio-keys-polled {
51 compatible = "gpio-keys-polled";
52 #address-cells = <1>;
53 #size-cells = <0>;
54 poll-interval = <20>;
55 reset {
56 label = "reset";
57 gpios = <&gpio0 10 1>;
58 linux,code = <0x198>;
59 };
60 wps {
61 label = "wps";
62 gpios = <&gpio0 0 1>;
63 linux,code = <0x211>;
64 };
65 };
66
67 wmac@10180000 {
68 status = "okay";
69 };
70 };