[ramips] add the dts files that describe the boards in future
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / AIR3GII.dts
1 /dts-v1/;
2
3 /include/ "rt5350.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "AIR3GII", "ralink,rt5350-soc";
9 model = "AirLive Air3GII";
10
11 memorydetect {
12 ralink,memory = <0x0 0x200000 0x4000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,57600 mtdparts=spi0.0: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", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
22 ralink,uartmux = "gpio";
23 ralink,wdtmux = <1>;
24 };
25
26 gpio0: gpio@600 {
27 status = "okay";
28 };
29
30 spi@b00 {
31 status = "okay";
32 m25p80@0 {
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "en25q32b";
36 reg = <0 0>;
37 linux,modalias = "m25p80", "en25q32b";
38 spi-max-frequency = <10000000>;
39 };
40 };
41 };
42
43 ethernet@10100000 {
44 status = "okay";
45 };
46
47 esw@10110000 {
48 status = "okay";
49 ralink,portmap = <0x2f>;
50 };
51
52 gpio-leds {
53 compatible = "gpio-leds";
54 wlan {
55 label = "airlive:green:wlan";
56 gpios = <&gpio0 8 0>;
57 };
58 mobile {
59 label = "airlive:green:mobile";
60 gpios = <&gpio0 9 1>;
61 };
62 };
63
64 gpio-keys-polled {
65 compatible = "gpio-keys-polled";
66 #address-cells = <1>;
67 #size-cells = <0>;
68 poll-interval = <20>;
69 wps {
70 label = "wps";
71 gpios = <&gpio0 7 1>;
72 linux,code = <0x211>;
73 };
74 };
75
76 wmac@10180000 {
77 status = "okay";
78 };
79 };