e4ea90bcfe53ba226472cb59f3d0d413caa6c813
[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         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
11         };
12
13         chosen {
14                 bootargs = "console=ttyS0,115200 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3776k@0x50000(firmware)";
15         };
16
17         palmbus@10000000 {
18                 sysc@0 {
19                         ralink,pinmux = "i2c", "uartlite", "sdram";
20                         ralink,gpiomux = "spi", "jtag", "mdio", "rgmii";
21                         ralink,uartmux = "i2s uartf";
22                         ralink,wdtmux = <1>;
23                 };
24
25                 gpio0: gpio@600 {
26                         status = "okay";
27                 };
28         };
29
30         cfi@1f000000 {
31                 compatible = "cfi-flash";
32                 reg = <0x1f000000 0x800000>;
33
34                 bank-width = <2>;
35                 device-width = <2>;
36                 #address-cells = <1>;
37                 #size-cells = <1>;
38         };
39
40         ethernet@10100000 {
41                 status = "okay";
42         };
43
44         esw@10110000 {
45                 status = "okay";
46                 ralink,portmap = <0x3e>;
47         };
48
49         gpio-leds {
50                 compatible = "gpio-leds";
51                 wan {
52                         label = "psr-680w:red:wan";
53                         gpios = <&gpio0 19 1>;
54                 };
55         };
56
57         gpio-keys-polled {
58                 compatible = "gpio-keys-polled";
59                 #address-cells = <1>;
60                 #size-cells = <0>;
61                 poll-interval = <20>;
62                 reset {
63                         label = "reset";
64                         gpios = <&gpio0 0 1>;
65                         linux,code = <0x198>;
66                 };
67         };
68
69         wmac@10180000 {
70                 status = "okay";
71         };
72
73         otg@101c0000 {
74                 status = "okay";
75         };
76 };