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