lantiq: specify console using stdout-path instead of cmdline argument
[lede.git] / target / linux / lantiq / dts / ARV4510PW.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "ARV4510PW - Wippies, Elisa";
9
10         chosen {
11                 bootargs = "init=/etc/preinit";
12         };
13
14         aliases {
15                 led-boot = &power;
16                 led-failsafe = &power2;
17                 led-running = &power;
18
19                 led-dsl = &adsl;
20                 led-internet = &internet;
21                 led-usb = &usb;
22                 led-usb2 = &usb2;
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                 };
34         };
35
36         fpi@10000000 {
37                 localbus@0 {
38                         nor-boot@0 {
39                                 compatible = "lantiq,nor";
40                                 bank-width = <2>;
41                                 reg = <0 0x0 0x1000000>;
42                                 #address-cells = <1>;
43                                 #size-cells = <1>;
44
45                                 lantiq,noxip;
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 0x40000>;
55                                                 read-only;
56                                         };
57
58                                         partition@40000 {
59                                                 label = "uboot_env";
60                                                 reg = <0x40000 0x20000>;
61                                                 read-only;
62                                         };
63
64                                         partition@60000 {
65                                                 label = "firmware";
66                                                 reg = <0x60000 0xfa0000>;
67                                         };
68                                 };
69                         };
70                 };
71                 gpio: pinmux@E100B10 {
72                         pinctrl-names = "default";
73                         pinctrl-0 = <&state_default>;
74
75                         state_default: pinmux {
76                                 ebu {
77                                         lantiq,groups = "ebu a23";
78                                         lantiq,function = "ebu";
79                                         lantiq,open-drain = <0>;
80                                         lantiq,output = <1>;
81                                 };
82                                 stp {
83                                         lantiq,groups = "stp";
84                                         lantiq,function = "stp";
85                                         lantiq,open-drain = <0>;
86                                         lantiq,output = <1>;
87                                 };
88                                 exin {
89                                         lantiq,groups = "exin1", "exin2";
90                                         lantiq,function = "exin";
91                                         lantiq,output = <0>;
92                                 };
93                                 pci_in {
94                                         lantiq,groups = "req1", "req2";
95                                         lantiq,function = "pci";
96                                         lantiq,output = <0>;
97                                 };
98                                 pci_out {
99                                         lantiq,groups = "gnt1", "gnt2";
100                                         lantiq,function = "pci";
101                                         lantiq,open-drain = <0>;
102                                         lantiq,pull = <0>;
103                                         lantiq,output = <1>;
104                                 };
105                                 pci_rst {
106                                         lantiq,pins = "io21";
107                                         lantiq,open-drain = <0>;
108                                         lantiq,output = <1>;
109                                 };
110                                 buttons {
111                                         lantiq,pins = "io3", "io14";
112                                         lantiq,pull = <2>;
113                                         lantiq,output = <0>;
114                                 };
115                         };
116                 };
117
118                 gpios: stp@E100BB0 {
119                         status = "okay";
120                         lantiq,groups = <0x7>;
121                 };
122
123                 etop@E180000 {
124                         phy-mode = "rmii";
125                 };
126
127                 pci@E105400 {
128                         status = "okay";
129                         lantiq,external-clock;
130                         interrupt-map = <
131                                 0x6000 0 0 1 &icu0 135
132                                 0x7800 0 0 1 &icu0 66
133                                 0x7800 0 0 2 &icu0 66
134                                 0x7800 0 0 3 &icu0 66
135                         >;
136                         gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
137                         req-mask = <0x7>;
138                 };
139         };
140
141         gpio-keys-polled {
142                 compatible = "gpio-keys-polled";
143                 #address-cells = <1>;
144                 #size-cells = <0>;
145                 poll-interval = <100>;
146
147                 wps {
148                         label = "wps";
149                         gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
150                         linux,code = <KEY_WPS_BUTTON>;
151                 };
152                 reset {
153                         label = "reset";
154                         gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
155                         linux,code = <KEY_RESTART>;
156                 };
157         };
158
159         gpio-leds {
160                 compatible = "gpio-leds";
161                 power: power {
162                         label = "power";
163                         gpios = <&gpios 21 GPIO_ACTIVE_HIGH>;
164                         default-state = "keep";
165                 };
166                 power2: power2 {
167                         label = "power2";
168                         gpios = <&gpios 20 GPIO_ACTIVE_HIGH>;
169                 };
170                 lan1 {
171                         label = "lan1";
172                         gpios = <&gpios 19 GPIO_ACTIVE_HIGH>;
173                 };
174                 lan2 {
175                         label = "lan2";
176                         gpios = <&gpios 18 GPIO_ACTIVE_HIGH>;
177                 };
178                 lan3 {
179                         label = "lan3";
180                         gpios = <&gpios 17 GPIO_ACTIVE_HIGH>;
181                 };
182                 lan4 {
183                         label = "lan4";
184                         gpios = <&gpios 16 GPIO_ACTIVE_HIGH>;
185                 };
186                 wifi: wifi {
187                         label = "wifi";
188                         gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
189                 };
190                 adsl: adsl {
191                         label = "adsl";
192                         gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
193                 };
194                 internet: internet {
195                         label = "internet";
196                         gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
197                 };
198                 internet2 {
199                         label = "internet2";
200                         gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
201                 };
202                 voip {
203                         label = "voip";
204                         gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
205                 };
206                 phone {
207                         label = "phone";
208                         gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
209                 };
210                 phone2 {
211                         label = "phone2";
212                         gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
213                 };
214                 usb: usb {
215                         label = "usb";
216                         gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
217                 };
218                 usb2: usb2 {
219                         label = "usb2";
220                         gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
221                 };
222                 usb3 {
223                         label = "usb3";
224                         gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
225                 };
226                 unlabeled {
227                         label = "unlabeled";
228                         gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
229                 };
230         };
231 };