c9c4877852c2daebe5a1e83c369d9ea1fab4fcb5
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / DIR-615-D.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "DIR-615-D", "ralink,rt3050-soc";
7 model = "D-Link DIR-615 D";
8
9 memorydetect {
10 ralink,memory = <0x0 0x200000 0x4000000>;
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 0x10000>;
50 read-only;
51 };
52
53 partition@50000 {
54 label = "firmware";
55 reg = <0x50000 0x3b0000>;
56 };
57 };
58
59 ethernet@10100000 {
60 status = "okay";
61 };
62
63 esw@10110000 {
64 status = "okay";
65 ralink,portmap = <0x2f>;
66 };
67
68 gpio-keys-polled {
69 compatible = "gpio-keys-polled";
70 #address-cells = <1>;
71 #size-cells = <0>;
72 poll-interval = <20>;
73 reset {
74 label = "reset";
75 gpios = <&gpio0 10 1>;
76 linux,code = <0x198>;
77 };
78 wps {
79 label = "wps";
80 gpios = <&gpio0 0 1>;
81 linux,code = <0x211>;
82 };
83 };
84
85 wmac@10180000 {
86 status = "okay";
87 };
88
89 gpio-leds {
90 compatible = "gpio-leds";
91 status {
92 label = "d-link:amber:status";
93 gpios = <&gpio0 8 1>;
94 };
95 status2 {
96 label = "d-link:green:status";
97 gpios = <&gpio0 9 1>;
98 };
99 wan {
100 label = "d-link:amber:wan";
101 gpios = <&gpio0 14 1>;
102 };
103 wan2 {
104 label = "d-link:green:wan";
105 gpios = <&gpio0 12 1>;
106 };
107 wps {
108 label = "d-link:blue:wps";
109 gpios = <&gpio0 13 1>;
110 };
111 };
112 };