03711a0ff558fe490f0d269fae3afc9806872e37
[openwrt.git] / target / linux / lantiq / dts / ARV4519PW.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6         model = "ARV4519PW - Vodafone, Pirelli";
7
8         chosen {
9                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10
11                 leds {
12                         dsl = &dsl;
13                         internet = &online;
14                         power = &power;
15                         power2 = &power2;
16                         usb = &usb;
17                         wifi = &wifi;
18                 };
19         };
20
21         memory@0 {
22                 reg = <0x0 0x2000000>;
23         };
24
25         sram@1F000000 {
26                 vmmc@107000 {
27                         status = "okay";
28                         gpios = <&gpio 31 0>;
29                 };
30         };
31
32         fpi@10000000 {
33                 localbus@0 {
34                         nor-boot@0 {
35                                 compatible = "lantiq,nor";
36                                 bank-width = <2>;
37                                 reg = <0 0x0 0x2000000>;
38                                 #address-cells = <1>;
39                                 #size-cells = <1>;
40
41                                 partition@0 {
42                                         label = "uboot";
43                                         reg = <0x00000 0x10000>;
44                                         read-only;
45                                 };
46
47                                 partition@10000 {
48                                         label = "uboot_env";
49                                         reg = <0x10000 0x10000>;
50                                 };
51
52                                 partition@20000 {
53                                         label = "firmware";
54                                         reg = <0x20000 0x3d0000>;
55                                 };
56
57                                 partition@3f0000 {
58                                         label = "boardconfig";
59                                         reg = <0x3f0000 0x10000>;
60                                         read-only;
61                                 };
62                         };
63
64                         gpiomm: gpiomm@4000000 {
65                                 compatible = "lantiq,gpio-mm";
66                                 reg = <1 0x0 0x10 >;
67                                 #address-cells = <1>;
68                                 #size-cells = <1>;
69                                 #gpio-cells = <2>;
70                                 gpio-controller;
71                                 lantiq,shadow = <0x400>;
72                         };
73
74                         mac_addr {
75                                 compatible = "lantiq,eth-mac";
76                                 reg = <0 0x3f0016 0x6>;
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                         };
90                 };
91
92                 etop@E180000 {
93                         phy-mode = "mii";
94                 };
95
96                 ifxhcd@E101000 {
97                         status = "okay";
98                         gpios = <&gpio 14 0>;
99                 };
100
101                 pci@E105400 {
102                         status = "okay";
103                         lantiq,external-clock;
104                         gpio-reset = <&gpio 21 0>;
105                         req-mask = <0xf>;
106                 };
107         };
108
109         gpio-keys-polled {
110                 compatible = "gpio-keys-polled";
111                 #address-cells = <1>;
112                 #size-cells = <0>;
113                 poll-interval = <100>;
114
115                 rfkill {
116                         label = "rfkill";
117                         gpios = <&gpio 28 1>;
118                         linux,code = <0xf7>;
119                 };
120                 reset {
121                         label = "reset";
122                         gpios = <&gpio 30 1>;
123                         linux,code = <0x198>;
124                 };
125         };
126
127         gpio-leds {
128                 compatible = "gpio-leds";
129
130                 power: power {
131                         label = "power";
132                         gpios = <&gpio 2 1>;
133                 };
134                 power2: power2 {
135                         label = "power2";
136                         gpios = <&gpio 7 1>;
137                 };
138                 wifi: wifi {
139                         label = "wifi";
140                         gpios = <&gpio 6 1>;
141                 };
142                 dsl: dsl {
143                         label = "dsl";
144                         gpios = <&gpio 4 1>;
145                 };
146                 online: online {
147                         label = "online";
148                         gpios = <&gpio 5 1>;
149                 };
150                 online2 {
151                         label = "online2";
152                         gpios = <&gpio 8 1>;
153                 };
154                 usb: usb {
155                         label = "usb";
156                         gpios = <&gpio 19 1>;
157                 };
158                 voip {
159                         label = "voip";
160                         gpios = <&gpiomm 0 1>;
161                 };
162                 fxs1 {
163                         label = "fxs1";
164                         gpios = <&gpiomm 1 1>;
165                 };
166                 fxs2 {
167                         label = "fxs2";
168                         gpios = <&gpiomm 2 1>;
169                 };
170                 fxo {
171                         label = "fxo";
172                         gpios = <&gpiomm 3 1>;
173                 };
174                 wps {
175                         label = "wps";
176                         gpios = <&gpiomm 5 1>;
177                 };
178                 wps2 {
179                         label = "wps2";
180                         gpios = <&gpiomm 4 1>;
181                 };
182                 wps3 {
183                         label = "wps3";
184                         gpios = <&gpiomm 6 1>;
185                 };
186         };
187 };