[ramips] move memory detect node to dtsi files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / ARGUS_ATP52B.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "ARGUS_ATP52B", "ralink,rt3052-soc";
7 model = "Argus ATP-52B";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
12 ralink,uartmux = "gpio";
13 ralink,wdtmux = <1>;
14 };
15
16 gpio0: gpio@600 {
17 status = "okay";
18 };
19
20 };
21
22 cfi@1f000000 {
23 compatible = "cfi-flash";
24 reg = <0x1f000000 0x800000>;
25
26 bank-width = <2>;
27 device-width = <2>;
28 #address-cells = <1>;
29 #size-cells = <1>;
30
31 partition@0 {
32 label = "bootloader";
33 reg = <0x0 0x30000>;
34 read-only;
35 };
36
37 partition@30000 {
38 label = "config";
39 reg = <0x30000 0x10000>;
40 };
41
42 factory: partition@40000 {
43 label = "factory";
44 reg = <0x40000 0x10000>;
45 };
46
47 partition@50000 {
48 label = "firmware";
49 reg = <0x50000 0x7a0000>;
50 };
51 };
52
53 gpio-leds {
54 compatible = "gpio-leds";
55 run {
56 label = "argus-atp52b:green:run";
57 gpios = <&gpio0 9 1>;
58 };
59 net {
60 label = "argus-atp52b:amber:net";
61 gpios = <&gpio0 13 1>;
62 };
63 };
64
65 gpio-keys-polled {
66 compatible = "gpio-keys-polled";
67 #address-cells = <1>;
68 #size-cells = <0>;
69 poll-interval = <20>;
70 wps {
71 label = "wps";
72 gpios = <&gpio0 0 1>;
73 linux,code = <0x211>;
74 };
75 reset {
76 label = "reset";
77 gpios = <&gpio0 10 1>;
78 linux,code = <0x198>;
79 };
80 };
81
82 ethernet@10100000 {
83 status = "okay";
84 };
85
86 esw@10110000 {
87 status = "okay";
88 ralink,portmap = <0x3e>;
89 };
90
91 wmac@10180000 {
92 status = "okay";
93 };
94
95 otg@101c0000 {
96 status = "okay";
97 };
98 };