66f5ffe81a26dd08ebf4d6c136733593ef8b7548
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / ARGUS_ATP52B.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "ARGUS_ATP52B", "ralink,rt3052-soc";
9 model = "Argus ATP-52B";
10
11 memorydetect {
12 ralink,memory = <0x0 0x200000 0x4000000>;
13 };
14
15 chosen {
16 bootargs = "mtdparts=1f000000.cfi:192k(bootloader)ro,64k(config),64k(factory),7808k@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
32 cfi@1f000000 {
33 compatible = "cfi-flash";
34 reg = <0x1f000000 0x800000>;
35
36 bank-width = <2>;
37 device-width = <2>;
38 #address-cells = <1>;
39 #size-cells = <1>;
40 };
41
42 gpio-leds {
43 compatible = "gpio-leds";
44 run {
45 label = "argus-atp52b:green:run";
46 gpios = <&gpio0 9 1>;
47 };
48 net {
49 label = "argus-atp52b:amber:net";
50 gpios = <&gpio0 13 1>;
51 };
52 };
53
54 gpio-keys-polled {
55 compatible = "gpio-keys-polled";
56 #address-cells = <1>;
57 #size-cells = <0>;
58 poll-interval = <20>;
59 wps {
60 label = "wps";
61 gpios = <&gpio0 0 1>;
62 linux,code = <0x211>;
63 };
64 reset {
65 label = "reset";
66 gpios = <&gpio0 10 1>;
67 linux,code = <0x198>;
68 };
69 };
70
71 ethernet@10100000 {
72 status = "okay";
73 };
74
75 esw@10110000 {
76 status = "okay";
77 ralink,portmap = <0x3e>;
78 };
79
80 wmac@10180000 {
81 status = "okay";
82 };
83
84 otg@101c0000 {
85 status = "okay";
86 };
87 };