66f5d8312ec5a6b54cf7773238b7780e0bd465e1
[openwrt/svn-archive/archive.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 palmbus@10000000 {
14 sysc@0 {
15 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
16 ralink,uartmux = "gpio";
17 ralink,wdtmux = <1>;
18 };
19
20 gpio0: gpio@600 {
21 status = "okay";
22 };
23
24 spi@b00 {
25 status = "okay";
26 m25p80@0 {
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "mx25l3205d";
30 reg = <0 0>;
31 linux,modalias = "m25p80", "mx25l3205d";
32 spi-max-frequency = <10000000>;
33
34 partition@0 {
35 label = "u-boot";
36 reg = <0x0 0x30000>;
37 read-only;
38 };
39
40 partition@30000 {
41 label = "devdata";
42 reg = <0x30000 0x10000>;
43 read-only;
44 };
45
46 partition@40000 {
47 label = "devconf";
48 reg = <0x40000 0x10000>;
49 read-only;
50 };
51
52 partition@50000 {
53 label = "firmware";
54 reg = <0x50000 0x3b0000>;
55 };
56 };
57 };
58 };
59
60 ethernet@10100000 {
61 status = "okay";
62 };
63
64 esw@10110000 {
65 status = "okay";
66 ralink,portmap = <0x2f>;
67 };
68
69 gpio-keys-polled {
70 compatible = "gpio-keys-polled";
71 #address-cells = <1>;
72 #size-cells = <0>;
73 poll-interval = <20>;
74 reset {
75 label = "reset";
76 gpios = <&gpio0 10 1>;
77 linux,code = <0x198>;
78 };
79 wps {
80 label = "wps";
81 gpios = <&gpio0 0 1>;
82 linux,code = <0x211>;
83 };
84 };
85
86 wmac@10180000 {
87 status = "okay";
88 };
89 };