lantiq: rename gphy firmware
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV4520PW.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 compatible = "arcadyan,arv4520pw", "lantiq,xway", "lantiq,danube";
9 model = "Easybox 800, WAV-281";
10
11 chosen {
12 bootargs = "console=ttyLTQ0,115200";
13 };
14
15 aliases {
16 led-boot = &power_blue;
17 led-failsafe = &power_red;
18 led-running = &power_blue;
19
20 led-dsl = &dsl;
21 led-internet = &internet_blue;
22 led-usb = &usb;
23 led-wifi = &wifi;
24 };
25
26 memory@0 {
27 reg = <0x0 0x2000000>;
28 };
29
30 sram@1F000000 {
31 vmmc@107000 {
32 status = "okay";
33 gpios = <&gpio 31 GPIO_ACTIVE_HIGH
34 &gpiomm 7 GPIO_ACTIVE_HIGH>;
35 };
36 };
37
38 fpi@10000000 {
39 localbus@0 {
40 nor-boot@0 {
41 compatible = "lantiq,nor";
42 bank-width = <2>;
43 reg = <0 0x0 0x800000>;
44 #address-cells = <1>;
45 #size-cells = <1>;
46
47 partitions {
48 compatible = "fixed-partitions";
49 #address-cells = <1>;
50 #size-cells = <1>;
51
52 partition@0 {
53 label = "uboot";
54 reg = <0x00000 0x20000>;
55 read-only;
56 };
57
58 partition@20000 {
59 label = "uboot_env";
60 reg = <0x20000 0x10000>;
61 read-only;
62 };
63
64 partition@30000 {
65 label = "firmware";
66 reg = <0x30000 0x3c0000>;
67 };
68
69 boardconfig: partition@7f0000 {
70 label = "boardconfig";
71 reg = <0x3f0000 0x10000>;
72 read-only;
73 };
74 };
75 };
76
77 gpiomm: gpiomm@4000000 {
78 compatible = "lantiq,gpio-mm";
79 reg = <1 0x0 0x10 >;
80 #address-cells = <1>;
81 #size-cells = <1>;
82 #gpio-cells = <2>;
83 gpio-controller;
84 lantiq,shadow = <0x400>;
85 };
86 };
87
88 gpio: pinmux@E100B10 {
89 pinctrl-names = "default";
90 pinctrl-0 = <&state_default>;
91
92 state_default: pinmux {
93 ebu {
94 lantiq,groups = "ebu cs1";
95 lantiq,function = "ebu";
96 };
97 pci_in {
98 lantiq,groups = "req1";
99 lantiq,function = "pci";
100 lantiq,open-drain = <1>;
101 lantiq,pull = <2>;
102 lantiq,output = <0>;
103 };
104 pci_out {
105 lantiq,groups = "gnt1";
106 lantiq,function = "pci";
107 lantiq,output = <1>;
108 };
109 pci_rst {
110 lantiq,pins = "io21";
111 lantiq,open-drain = <0>;
112 lantiq,pull = <0>;
113 };
114 };
115 };
116
117 etop@E180000 {
118 phy-mode = "rmii";
119 mtd-mac-address = <&boardconfig 0x16>;
120 };
121
122 ifxhcd@E101000 {
123 status = "okay";
124 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
125 };
126
127 pci@E105400 {
128 status = "okay";
129 lantiq,external-clock;
130 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
131 };
132 };
133
134 // gpiomm 10 - switch
135
136 gpio-keys-polled {
137 compatible = "gpio-keys-polled";
138 #address-cells = <1>;
139 #size-cells = <0>;
140 poll-interval = <100>;
141
142 rfkill {
143 label = "wps";
144 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
145 linux,code = <KEY_WPS_BUTTON>;
146 };
147 reset {
148 label = "reset";
149 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
150 linux,code = <KEY_RESTART>;
151 };
152 };
153
154 gpio-leds {
155 compatible = "gpio-leds";
156
157 power_blue: power {
158 label = "arv4520pw:blue:power";
159 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
160 default-state = "keep";
161 };
162 dsl: dsl {
163 label = "arv4520pw:blue:dsl";
164 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
165 };
166 internet_blue: internet {
167 label = "arv4520pw:blue:internet";
168 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
169 };
170 power_red: power2 {
171 label = "arv4520pw:red:power";
172 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
173 };
174 wps {
175 label = "arv4520pw:yellow:wps";
176 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
177 };
178 wps2 {
179 label = "arv4520pw:red:wps";
180 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
181 };
182 /*
183 wps green is missing
184 */
185 fxs1 {
186 label = "arv4520pw:blue:telefon1";
187 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
188 };
189 fxs2 {
190 label = "arv4520pw:blue:telefon2";
191 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
192 };
193 isdn {
194 label = "arv4520pw:blue:isdn";
195 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
196 };
197 fxo {
198 label = "arv4520pw:blue:line";
199 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
200 };
201 voice {
202 label = "arv4520pw:blue:sprache";
203 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
204 };
205 usb: usb {
206 label = "arv4520pw:blue:usb";
207 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
208 };
209 wifi: wifi {
210 label = "arv4520pw:blue:wifi";
211 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
212 };
213 internet2 {
214 label = "arv4520pw:red:internet";
215 gpios = <&gpiomm 9 GPIO_ACTIVE_LOW>;
216 };
217 /*
218 info is missing
219 */
220 };
221 };