[ramips] add the dts files that describe the boards in future
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / DAP-1350.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "DAP-1350", "ralink,rt3052-soc";
9 model = "D-Link DAP-1350";
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(devdata)ro,192k(devconf)ro,256k(devlang)ro,7488k@0xb0000(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 };
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 = <0x2f>;
49 };
50
51 gpio-leds {
52 compatible = "gpio-leds";
53 power {
54 label = "d-link:blue:power";
55 gpios = <&gpio0 8 1>;
56 };
57 power2 {
58 label = "d-link:red:power";
59 gpios = <&gpio0 9 1>;
60 };
61 wps {
62 label = "d-link:blue:wps";
63 gpios = <&gpio0 14 1>;
64 };
65 };
66
67 gpio-keys-polled {
68 compatible = "gpio-keys-polled";
69 #address-cells = <1>;
70 #size-cells = <0>;
71 poll-interval = <20>;
72 reset {
73 label = "reset";
74 gpios = <&gpio0 10 1>;
75 linux,code = <0x198>;
76 };
77 wps {
78 label = "wps";
79 gpios = <&gpio0 0 1>;
80 linux,code = <0x211>;
81 };
82 rt {
83 label = "rt";
84 gpios = <&gpio0 11 1>;
85 linux,code = <0x100>;
86 };
87 ap {
88 label = "ap";
89 gpios = <&gpio0 7 1>;
90 linux,code = <0x101>;
91 };
92 };
93
94 wmac@10180000 {
95 status = "okay";
96 };
97
98 otg@101c0000 {
99 status = "okay";
100 };
101 };