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