add the dts files that describe the boards in future
[openwrt/openwrt.git] / target / linux / ramips / dts / PSR-680W.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "PSR-680W", "ralink,rt3052-soc";
9 model = "Petatel PSR-680W Wireless 3G Router";
10
11 memorydetect {
12 ralink,memory = <0x0 0x200000 0x4000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,115200 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3776k@0x50000(firmware)";
17 };
18
19 palmbus@10000000 {
20 sysc@0 {
21 ralink,pinmmux = "i2c", "uartlite", "sdram";
22 ralink,gpiommux = "spi", "jtag", "mdio", "rgmii";
23 ralink,uartmux = "i2s uartf";
24 ralink,wdtmux = <1>;
25 };
26
27 gpio0: gpio@600 {
28 status = "okay";
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 ethernet@10100000 {
43 status = "okay";
44 };
45
46 esw@10110000 {
47 status = "okay";
48 ralink,portmap = <0x3e>;
49 };
50
51 gpio-leds {
52 compatible = "gpio-leds";
53 wan {
54 label = "psr-680w:red:wan";
55 gpios = <&gpio0 19 1>;
56 };
57 };
58
59 gpio-keys-polled {
60 compatible = "gpio-keys-polled";
61 #address-cells = <1>;
62 #size-cells = <0>;
63 poll-interval = <20>;
64 reset {
65 label = "reset";
66 gpios = <&gpio0 0 1>;
67 linux,code = <0x198>;
68 };
69 };
70
71 wmac@10180000 {
72 status = "okay";
73 };
74
75 otg@101c0000 {
76 status = "okay";
77 };
78 };