023ccd2fa16bbc4c45aa2447c3f3760c5cd6715b
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / ALL0239-3G.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "ALL0239-3G", "ralink,rt3052-soc";
7 model = "Allnet ALL0239-3G";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
12 ralink,gpiomux = "mdio";
13 ralink,uartmux = "gpio";
14 ralink,wdtmux = <1>;
15 };
16
17 gpio0: gpio@600 {
18 status = "okay";
19 };
20
21 };
22
23 cfi@1f000000 {
24 compatible = "cfi-flash";
25 reg = <0x1f000000 0x800000>;
26
27 bank-width = <2>;
28 device-width = <2>;
29 #address-cells = <1>;
30 #size-cells = <1>;
31
32 partition@0 {
33 label = "u-boot";
34 reg = <0x0 0x30000>;
35 read-only;
36 };
37
38 partition@30000 {
39 label = "u-boot-env";
40 reg = <0x30000 0x10000>;
41 read-only;
42 };
43
44 factory: partition@40000 {
45 label = "factory";
46 reg = <0x40000 0x10000>;
47 read-only;
48 };
49
50 partition@50000 {
51 label = "firmware";
52 reg = <0x50000 0x7b0000>;
53 };
54 };
55
56 ethernet@10100000 {
57 status = "okay";
58 };
59
60 esw@10110000 {
61 status = "okay";
62 ralink,portmap = <0x3e>;
63 };
64
65 gpio-leds {
66 compatible = "gpio-leds";
67 usb {
68 label = "hw550-3g:green:usb";
69 gpios = <&gpio0 8 1>;
70 };
71 3g {
72 label = "hw550-3g:green:3g";
73 gpios = <&gpio0 11 1>;
74 };
75 status {
76 label = "hw550-3g:green:status";
77 gpios = <&gpio0 12 1>;
78 };
79 wps {
80 label = "hw550-3g:green:wps";
81 gpios = <&gpio0 14 1>;
82 };
83 };
84
85 gpio-keys-polled {
86 compatible = "gpio-keys-polled";
87 #address-cells = <1>;
88 #size-cells = <0>;
89 poll-interval = <20>;
90 reset {
91 label = "reset";
92 gpios = <&gpio0 10 1>;
93 linux,code = <0x198>;
94 };
95 connect {
96 label = "connect";
97 gpios = <&gpio0 7 1>;
98 linux,code = <0xda>;
99 };
100 wps {
101 label = "wps";
102 gpios = <&gpio0 0 1>;
103 linux,code = <0x211>;
104 };
105 };
106
107 wmac@10180000 {
108 status = "okay";
109 };
110
111 otg@101c0000 {
112 status = "okay";
113 };
114 };