[ramips] move memory detect node to dtsi files
[openwrt.git] / target / linux / ramips / dts / SL-R7205.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "SL-R7205", "ralink,rt3052-soc";
7         model = "Skyline SL-R7205 Wireless 3G Router";
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         cfi@1f000000 {
22                 compatible = "cfi-flash";
23                 reg = <0x1f000000 0x800000>;
24
25                 bank-width = <2>;
26                 device-width = <2>;
27                 #address-cells = <1>;
28                 #size-cells = <1>;
29
30                 partition@0 {
31                         label = "u-boot";
32                         reg = <0x0 0x30000>;
33                         read-only;
34                 };
35
36                 partition@30000 {
37                         label = "u-boot-env";
38                         reg = <0x30000 0x10000>;
39                         read-only;
40                 };
41
42                 factory: partition@40000 {
43                         label = "factory";
44                         reg = <0x40000 0x10000>;
45                         read-only;
46                 };
47
48                 partition@50000 {
49                         label = "firmware";
50                         reg = <0x50000 0x3b0000>;
51                 };
52         };
53
54         ethernet@10100000 {
55                 status = "okay";
56         };
57
58         esw@10110000 {
59                 status = "okay";
60                 ralink,portmap = <0x3e>;
61         };
62
63         gpio-leds {
64                 compatible = "gpio-leds";
65                 wifi {
66                         label = "sl-r7205:green:wifi";
67                         gpios = <&gpio0 7 1>;
68                 };
69         };
70
71         gpio-keys-polled {
72                 compatible = "gpio-keys-polled";
73                 #address-cells = <1>;
74                 #size-cells = <0>;
75                 poll-interval = <20>;
76                 reset {
77                         label = "reset";
78                         gpios = <&gpio0 10 1>;
79                         linux,code = <0x198>;
80                 };
81                 wps {
82                         label = "wps";
83                         gpios = <&gpio0 0 1>;
84                         linux,code = <0x211>;
85                 };
86         };
87
88         wmac@10180000 {
89                 status = "okay";
90         };
91
92         otg@101c0000 {
93                 status = "okay";
94         };
95 };