lantiq: remove "init" kernel command line parameter from bootargs
[openwrt/staging/rmilecki.git] / target / linux / lantiq / dts / ARV7518PW.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "ARV7518PW - Astoria Networks";
9
10 aliases {
11 led-boot = &power_green;
12 led-failsafe = &power_red;
13 led-running = &power_green;
14
15 led-dsl = &dsl;
16 led-internet = &online_green;
17 led-usb = &usb;
18 led-wifi = &wifi;
19 };
20
21 memory@0 {
22 reg = <0x0 0x4000000>;
23 };
24
25 sram@1F000000 {
26 vmmc@107000 {
27 status = "okay";
28 };
29 };
30
31 fpi@10000000 {
32 localbus@0 {
33 nor-boot@0 {
34 compatible = "lantiq,nor";
35 bank-width = <2>;
36 reg = <0 0x0 0x2000000>;
37 #address-cells = <1>;
38 #size-cells = <1>;
39
40 partitions {
41 compatible = "fixed-partitions";
42 #address-cells = <1>;
43 #size-cells = <1>;
44
45 partition@0 {
46 label = "uboot";
47 reg = <0x00000 0x10000>;
48 read-only;
49 };
50
51 partition@10000 {
52 label = "uboot_env";
53 reg = <0x10000 0x10000>;
54 };
55
56 partition@20000 {
57 label = "firmware";
58 reg = <0x20000 0x7d0000>;
59 };
60
61 boardconfig: partition@400000 {
62 label = "boardconfig";
63 reg = <0x7f0000 0x10000>;
64 read-only;
65 };
66 };
67 };
68
69 gpiomm: gpiomm@4000000 {
70 compatible = "lantiq,gpio-mm";
71 reg = <1 0x0 0x10 >;
72 #address-cells = <1>;
73 #size-cells = <1>;
74 #gpio-cells = <2>;
75 gpio-controller;
76 lantiq,shadow = <0x0>;
77 };
78 };
79
80 gpio: pinmux@E100B10 {
81 pinctrl-names = "default";
82 pinctrl-0 = <&state_default>;
83
84 state_default: pinmux {
85 ebu {
86 lantiq,groups = "ebu cs1";
87 lantiq,function = "ebu";
88 };
89 pci_in {
90 lantiq,groups = "req1";
91 lantiq,function = "pci";
92 lantiq,open-drain = <1>;
93 lantiq,pull = <2>;
94 lantiq,output = <0>;
95 };
96 pci_out {
97 lantiq,groups = "gnt1";
98 lantiq,function = "pci";
99 lantiq,pull = <0>;
100 lantiq,output = <1>;
101 };
102 pci_rst {
103 lantiq,pins = "io21";
104 lantiq,pull = <2>;
105 lantiq,output = <1>;
106 };
107 leds {
108 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
109 lantiq,output = <1>;
110 };
111 keys {
112 lantiq,pins = "io28", "io30";
113 lantiq,output = <0>;
114 lantiq,pull = <2>;
115 lantiq,open-drain = <1>;
116 };
117 };
118 };
119
120 etop@E180000 {
121 phy-mode = "mii";
122 mtd-mac-address = <&boardconfig 0x16>;
123 };
124
125 ifxhcd@E101000 {
126 status = "okay";
127 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
128 };
129 };
130
131 /*
132 #define SWITCH_RESET 13
133 */
134 gpio-keys-polled {
135 compatible = "gpio-keys-polled";
136 #address-cells = <1>;
137 #size-cells = <0>;
138 poll-interval = <100>;
139
140 rfkill {
141 label = "rfkill";
142 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
143 linux,code = <KEY_RFKILL>;
144 };
145 reset {
146 label = "reset";
147 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
148 linux,code = <KEY_RESTART>;
149 };
150 };
151
152 gpio-leds {
153 compatible = "gpio-leds";
154 power_green: power {
155 label = "arv7518pw:green:power";
156 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
157 default-state = "keep";
158 };
159 dsl: dsl {
160 label = "arv7518pw:green:dsl";
161 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
162 };
163 online_green: online {
164 label = "arv7518pw:green:internet";
165 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
166 };
167 wifi: wifi {
168 label = "arv7518pw:green:wlan";
169 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
170 };
171 power_red: power2 {
172 label = "arv7518pw:red:power";
173 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
174 };
175 online2 {
176 label = "arv7518pw:red:internet";
177 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
178 };
179 usb: usb {
180 label = "arv7518pw:green:usb";
181 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
182 };
183 voice {
184 label = "arv7518pw:green:voip";
185 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
186 };
187 fxs1 {
188 label = "arv7518pw:green:phone1";
189 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
190 };
191 fxs2 {
192 label = "arv7518pw:green:phone2";
193 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
194 };
195 unlabeled {
196 label = "arv7518pw:amber:unlabeled";
197 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
198 };
199 wps {
200 label = "arv7518pw:amber:wps";
201 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
202 };
203 wps2 {
204 label = "arv7518pw:green:wps";
205 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
206 };
207 wps3 {
208 label = "arv7518pw:red:wps";
209 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
210 };
211 };
212 };
213
214 &pci0 {
215 status = "okay";
216 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
217 lantiq,external-clock;
218 req-mask = <0xf>;
219
220 wifi@168c,0029 {
221 compatible = "pci168c,0029";
222 reg = <0x7000 0 0 0 0>;
223 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
224 mtd-mac-address = <&boardconfig 0x16>;
225 mtd-mac-address-increment = <1>;
226 };
227 };