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