4eab53abe53bab37015b5c101b99261421baa173
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / DAP-1350.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "DAP-1350", "ralink,rt3052-soc";
7 model = "D-Link DAP-1350";
8
9 chosen {
10 bootargs = "console=ttyS0,115200";
11 };
12
13 palmbus@10000000 {
14 sysc@0 {
15 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
16 ralink,uartmux = "gpio";
17 ralink,wdtmux = <1>;
18 };
19
20 gpio0: gpio@600 {
21 status = "okay";
22 };
23
24 };
25
26 cfi@1f000000 {
27 compatible = "cfi-flash";
28 reg = <0x1f000000 0x800000>;
29
30 bank-width = <2>;
31 device-width = <2>;
32 #address-cells = <1>;
33 #size-cells = <1>;
34
35 partition@0 {
36 label = "u-boot";
37 reg = <0x0 0x30000>;
38 read-only;
39 };
40
41 partition@30000 {
42 label = "devdata";
43 reg = <0x30000 0x10000>;
44 read-only;
45 };
46
47 partition@40000 {
48 label = "devconf";
49 reg = <0x40000 0x30000>;
50 read-only;
51 };
52
53 partition@70000 {
54 label = "devlang";
55 reg = <0x70000 0x40000>;
56 read-only;
57 };
58
59 partition@b0000 {
60 label = "firmware";
61 reg = <0xb0000 0x750000>;
62 };
63 };
64
65 ethernet@10100000 {
66 status = "okay";
67 };
68
69 esw@10110000 {
70 status = "okay";
71 ralink,portmap = <0x2f>;
72 };
73
74 gpio-leds {
75 compatible = "gpio-leds";
76 power {
77 label = "d-link:blue:power";
78 gpios = <&gpio0 8 1>;
79 };
80 power2 {
81 label = "d-link:red:power";
82 gpios = <&gpio0 9 1>;
83 };
84 wps {
85 label = "d-link:blue:wps";
86 gpios = <&gpio0 14 1>;
87 };
88 };
89
90 gpio-keys-polled {
91 compatible = "gpio-keys-polled";
92 #address-cells = <1>;
93 #size-cells = <0>;
94 poll-interval = <20>;
95 reset {
96 label = "reset";
97 gpios = <&gpio0 10 1>;
98 linux,code = <0x198>;
99 };
100 wps {
101 label = "wps";
102 gpios = <&gpio0 0 1>;
103 linux,code = <0x211>;
104 };
105 rt {
106 label = "rt";
107 gpios = <&gpio0 11 1>;
108 linux,code = <0x100>;
109 };
110 ap {
111 label = "ap";
112 gpios = <&gpio0 7 1>;
113 linux,code = <0x101>;
114 };
115 };
116
117 wmac@10180000 {
118 status = "okay";
119 };
120
121 otg@101c0000 {
122 status = "okay";
123 };
124 };