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