blob: 77b7725c10751d24333ca37c9f746f61b3cbe7f8 [file] [log] [blame]
Srinivas Kandagatla15969b42013-06-25 12:15:23 +01001
2/*
3 * Copyright (C) 2013 STMicroelectronics Limited.
4 * Author: Srinivas Kandagatla <srinivas.kandagatla@st.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * publishhed by the Free Software Foundation.
9 */
10#include "st-pincfg.h"
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +000011#include <dt-bindings/interrupt-controller/arm-gic.h>
Srinivas Kandagatla15969b42013-06-25 12:15:23 +010012/ {
13
14 aliases {
15 gpio0 = &PIO0;
16 gpio1 = &PIO1;
17 gpio2 = &PIO2;
18 gpio3 = &PIO3;
19 gpio4 = &PIO4;
20 gpio5 = &PIO40;
21 gpio6 = &PIO5;
22 gpio7 = &PIO6;
23 gpio8 = &PIO7;
24 gpio9 = &PIO8;
25 gpio10 = &PIO9;
26 gpio11 = &PIO10;
27 gpio12 = &PIO11;
28 gpio13 = &PIO12;
29 gpio14 = &PIO30;
30 gpio15 = &PIO31;
31 gpio16 = &PIO13;
32 gpio17 = &PIO14;
33 gpio18 = &PIO15;
34 gpio19 = &PIO16;
35 gpio20 = &PIO17;
36 gpio21 = &PIO18;
37 gpio22 = &PIO100;
38 gpio23 = &PIO101;
39 gpio24 = &PIO102;
40 gpio25 = &PIO103;
41 gpio26 = &PIO104;
42 gpio27 = &PIO105;
43 gpio28 = &PIO106;
44 gpio29 = &PIO107;
45 };
46
47 soc {
48 pin-controller-sbc {
49 #address-cells = <1>;
50 #size-cells = <1>;
51 compatible = "st,stih416-sbc-pinctrl";
52 st,syscfg = <&syscfg_sbc>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +000053 reg = <0xfe61f080 0x4>;
54 reg-names = "irqmux";
55 interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
56 interrupts-names = "irqmux";
Srinivas Kandagatla15969b42013-06-25 12:15:23 +010057 ranges = <0 0xfe610000 0x6000>;
58
59 PIO0: gpio@fe610000 {
60 gpio-controller;
61 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +000062 interrupt-controller;
63 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +010064 reg = <0 0x100>;
65 st,bank-name = "PIO0";
66 };
67 PIO1: gpio@fe611000 {
68 gpio-controller;
69 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +000070 interrupt-controller;
71 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +010072 reg = <0x1000 0x100>;
73 st,bank-name = "PIO1";
74 };
75 PIO2: gpio@fe612000 {
76 gpio-controller;
77 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +000078 interrupt-controller;
79 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +010080 reg = <0x2000 0x100>;
81 st,bank-name = "PIO2";
82 };
83 PIO3: gpio@fe613000 {
84 gpio-controller;
85 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +000086 interrupt-controller;
87 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +010088 reg = <0x3000 0x100>;
89 st,bank-name = "PIO3";
90 };
91 PIO4: gpio@fe614000 {
92 gpio-controller;
93 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +000094 interrupt-controller;
95 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +010096 reg = <0x4000 0x100>;
97 st,bank-name = "PIO4";
98 };
99 PIO40: gpio@fe615000 {
100 gpio-controller;
101 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000102 interrupt-controller;
103 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100104 reg = <0x5000 0x100>;
105 st,bank-name = "PIO40";
106 st,retime-pin-mask = <0x7f>;
107 };
108
109 sbc_serial1 {
110 pinctrl_sbc_serial1: sbc_serial1 {
111 st,pins {
112 tx = <&PIO2 6 ALT3 OUT>;
113 rx = <&PIO2 7 ALT3 IN>;
114 };
115 };
116 };
Maxime COQUELINf53e99a2013-11-06 09:25:13 +0100117
118 sbc_i2c0 {
119 pinctrl_sbc_i2c0_default: sbc_i2c0-default {
120 st,pins {
121 sda = <&PIO4 6 ALT1 BIDIR>;
122 scl = <&PIO4 5 ALT1 BIDIR>;
123 };
124 };
125 };
126
127 sbc_i2c1 {
128 pinctrl_sbc_i2c1_default: sbc_i2c1-default {
129 st,pins {
130 sda = <&PIO3 2 ALT2 BIDIR>;
131 scl = <&PIO3 1 ALT2 BIDIR>;
132 };
133 };
134 };
Srinivas Kandagatlad25ea582014-01-29 16:20:12 +0000135
136 gmac1 {
137 pinctrl_mii1: mii1 {
138 st,pins {
139 txd0 = <&PIO0 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
140 txd1 = <&PIO0 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
141 txd2 = <&PIO0 2 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
142 txd3 = <&PIO0 3 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
143 txer = <&PIO0 4 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
144 txen = <&PIO0 5 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
145 txclk = <&PIO0 6 ALT1 IN NICLK 0 CLK_A>;
146 col = <&PIO0 7 ALT1 IN BYPASS 1000>;
147
148 mdio = <&PIO1 0 ALT1 OUT BYPASS 1500>;
149 mdc = <&PIO1 1 ALT1 OUT NICLK 0 CLK_A>;
150 crs = <&PIO1 2 ALT1 IN BYPASS 1000>;
151 mdint = <&PIO1 3 ALT1 IN BYPASS 0>;
152 rxd0 = <&PIO1 4 ALT1 IN SE_NICLK_IO 0 CLK_A>;
153 rxd1 = <&PIO1 5 ALT1 IN SE_NICLK_IO 0 CLK_A>;
154 rxd2 = <&PIO1 6 ALT1 IN SE_NICLK_IO 0 CLK_A>;
155 rxd3 = <&PIO1 7 ALT1 IN SE_NICLK_IO 0 CLK_A>;
156
157 rxdv = <&PIO2 0 ALT1 IN SE_NICLK_IO 0 CLK_A>;
158 rx_er = <&PIO2 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
159 rxclk = <&PIO2 2 ALT1 IN NICLK 0 CLK_A>;
160 phyclk = <&PIO2 3 ALT1 OUT NICLK 0 CLK_A>;
161 };
162 };
163 pinctrl_rgmii1: rgmii1-0 {
164 st,pins {
165 txd0 = <&PIO0 0 ALT1 OUT DE_IO 500 CLK_A>;
166 txd1 = <&PIO0 1 ALT1 OUT DE_IO 500 CLK_A>;
167 txd2 = <&PIO0 2 ALT1 OUT DE_IO 500 CLK_A>;
168 txd3 = <&PIO0 3 ALT1 OUT DE_IO 500 CLK_A>;
169 txen = <&PIO0 5 ALT1 OUT DE_IO 0 CLK_A>;
170 txclk = <&PIO0 6 ALT1 IN NICLK 0 CLK_A>;
171
172 mdio = <&PIO1 0 ALT1 OUT BYPASS 0>;
173 mdc = <&PIO1 1 ALT1 OUT NICLK 0 CLK_A>;
174 rxd0 = <&PIO1 4 ALT1 IN DE_IO 500 CLK_A>;
175 rxd1 = <&PIO1 5 ALT1 IN DE_IO 500 CLK_A>;
176 rxd2 = <&PIO1 6 ALT1 IN DE_IO 500 CLK_A>;
177 rxd3 = <&PIO1 7 ALT1 IN DE_IO 500 CLK_A>;
178
179 rxdv = <&PIO2 0 ALT1 IN DE_IO 500 CLK_A>;
180 rxclk = <&PIO2 2 ALT1 IN NICLK 0 CLK_A>;
181 phyclk = <&PIO2 3 ALT4 OUT NICLK 0 CLK_B>;
182
183 clk125= <&PIO3 7 ALT4 IN NICLK 0 CLK_A>;
184 };
185 };
186 };
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100187 };
188
189 pin-controller-front {
190 #address-cells = <1>;
191 #size-cells = <1>;
192 compatible = "st,stih416-front-pinctrl";
193 st,syscfg = <&syscfg_front>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000194 reg = <0xfee0f080 0x4>;
195 reg-names = "irqmux";
196 interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
197 interrupts-names = "irqmux";
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100198 ranges = <0 0xfee00000 0x10000>;
199
200 PIO5: gpio@fee00000 {
201 gpio-controller;
202 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000203 interrupt-controller;
204 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100205 reg = <0 0x100>;
206 st,bank-name = "PIO5";
207 };
208 PIO6: gpio@fee01000 {
209 gpio-controller;
210 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000211 interrupt-controller;
212 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100213 reg = <0x1000 0x100>;
214 st,bank-name = "PIO6";
215 };
216 PIO7: gpio@fee02000 {
217 gpio-controller;
218 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000219 interrupt-controller;
220 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100221 reg = <0x2000 0x100>;
222 st,bank-name = "PIO7";
223 };
224 PIO8: gpio@fee03000 {
225 gpio-controller;
226 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000227 interrupt-controller;
228 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100229 reg = <0x3000 0x100>;
230 st,bank-name = "PIO8";
231 };
232 PIO9: gpio@fee04000 {
233 gpio-controller;
234 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000235 interrupt-controller;
236 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100237 reg = <0x4000 0x100>;
238 st,bank-name = "PIO9";
239 };
240 PIO10: gpio@fee05000 {
241 gpio-controller;
242 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000243 interrupt-controller;
244 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100245 reg = <0x5000 0x100>;
246 st,bank-name = "PIO10";
247 };
248 PIO11: gpio@fee06000 {
249 gpio-controller;
250 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000251 interrupt-controller;
252 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100253 reg = <0x6000 0x100>;
254 st,bank-name = "PIO11";
255 };
256 PIO12: gpio@fee07000 {
257 gpio-controller;
258 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000259 interrupt-controller;
260 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100261 reg = <0x7000 0x100>;
262 st,bank-name = "PIO12";
263 };
264 PIO30: gpio@fee08000 {
265 gpio-controller;
266 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000267 interrupt-controller;
268 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100269 reg = <0x8000 0x100>;
270 st,bank-name = "PIO30";
271 };
272 PIO31: gpio@fee09000 {
273 gpio-controller;
274 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000275 interrupt-controller;
276 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100277 reg = <0x9000 0x100>;
278 st,bank-name = "PIO31";
279 };
Srinivas Kandagatla334ab912013-07-09 08:26:24 +0100280
281 serial2-oe {
282 pinctrl_serial2_oe: serial2-1 {
283 st,pins {
284 output-enable = <&PIO11 3 ALT2 OUT>;
285 };
286 };
287 };
288
Maxime COQUELINf53e99a2013-11-06 09:25:13 +0100289 i2c0 {
290 pinctrl_i2c0_default: i2c0-default {
291 st,pins {
292 sda = <&PIO9 3 ALT1 BIDIR>;
293 scl = <&PIO9 2 ALT1 BIDIR>;
294 };
295 };
296 };
297
298 i2c1 {
299 pinctrl_i2c1_default: i2c1-default {
300 st,pins {
301 sda = <&PIO12 1 ALT1 BIDIR>;
302 scl = <&PIO12 0 ALT1 BIDIR>;
303 };
304 };
305 };
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100306 };
307
308 pin-controller-rear {
309 #address-cells = <1>;
310 #size-cells = <1>;
311 compatible = "st,stih416-rear-pinctrl";
312 st,syscfg = <&syscfg_rear>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000313 reg = <0xfe82f080 0x4>;
314 reg-names = "irqmux";
315 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
316 interrupts-names = "irqmux";
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100317 ranges = <0 0xfe820000 0x6000>;
318
319 PIO13: gpio@fe820000 {
320 gpio-controller;
321 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000322 interrupt-controller;
323 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100324 reg = <0 0x100>;
325 st,bank-name = "PIO13";
326 };
327 PIO14: gpio@fe821000 {
328 gpio-controller;
329 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000330 interrupt-controller;
331 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100332 reg = <0x1000 0x100>;
333 st,bank-name = "PIO14";
334 };
335 PIO15: gpio@fe822000 {
336 gpio-controller;
337 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000338 interrupt-controller;
339 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100340 reg = <0x2000 0x100>;
341 st,bank-name = "PIO15";
342 };
343 PIO16: gpio@fe823000 {
344 gpio-controller;
345 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000346 interrupt-controller;
347 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100348 reg = <0x3000 0x100>;
349 st,bank-name = "PIO16";
350 };
351 PIO17: gpio@fe824000 {
352 gpio-controller;
353 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000354 interrupt-controller;
355 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100356 reg = <0x4000 0x100>;
357 st,bank-name = "PIO17";
358 };
359 PIO18: gpio@fe825000 {
360 gpio-controller;
361 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000362 interrupt-controller;
363 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100364 reg = <0x5000 0x100>;
365 st,bank-name = "PIO18";
366 st,retime-pin-mask = <0xf>;
367 };
368
369 serial2 {
370 pinctrl_serial2: serial2-0 {
371 st,pins {
372 tx = <&PIO17 4 ALT2 OUT>;
373 rx = <&PIO17 5 ALT2 IN>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100374 };
375 };
376 };
Srinivas Kandagatlad25ea582014-01-29 16:20:12 +0000377
378 gmac0 {
379 pinctrl_mii0: mii0 {
380 st,pins {
381 mdint = <&PIO13 6 ALT2 IN BYPASS 0>;
382 txen = <&PIO13 7 ALT2 OUT SE_NICLK_IO 0 CLK_A>;
383 txd0 = <&PIO14 0 ALT2 OUT SE_NICLK_IO 0 CLK_A>;
384 txd1 = <&PIO14 1 ALT2 OUT SE_NICLK_IO 0 CLK_A>;
385 txd2 = <&PIO14 2 ALT2 OUT SE_NICLK_IO 0 CLK_B>;
386 txd3 = <&PIO14 3 ALT2 OUT SE_NICLK_IO 0 CLK_B>;
387
388 txclk = <&PIO15 0 ALT2 IN NICLK 0 CLK_A>;
389 txer = <&PIO15 1 ALT2 OUT SE_NICLK_IO 0 CLK_A>;
390 crs = <&PIO15 2 ALT2 IN BYPASS 1000>;
391 col = <&PIO15 3 ALT2 IN BYPASS 1000>;
392 mdio= <&PIO15 4 ALT2 OUT BYPASS 1500>;
393 mdc = <&PIO15 5 ALT2 OUT NICLK 0 CLK_B>;
394
395 rxd0 = <&PIO16 0 ALT2 IN SE_NICLK_IO 0 CLK_A>;
396 rxd1 = <&PIO16 1 ALT2 IN SE_NICLK_IO 0 CLK_A>;
397 rxd2 = <&PIO16 2 ALT2 IN SE_NICLK_IO 0 CLK_A>;
398 rxd3 = <&PIO16 3 ALT2 IN SE_NICLK_IO 0 CLK_A>;
399 rxdv = <&PIO15 6 ALT2 IN SE_NICLK_IO 0 CLK_A>;
400 rx_er = <&PIO15 7 ALT2 IN SE_NICLK_IO 0 CLK_A>;
401 rxclk = <&PIO17 0 ALT2 IN NICLK 0 CLK_A>;
402 phyclk = <&PIO13 5 ALT2 OUT NICLK 0 CLK_B>;
403 };
404 };
405
406 pinctrl_gmii0: gmii0 {
407 st,pins {
408 };
409 };
410 pinctrl_rgmii0: rgmii0 {
411 st,pins {
412 phyclk = <&PIO13 5 ALT4 OUT NICLK 0 CLK_B>;
413 txen = <&PIO13 7 ALT2 OUT DE_IO 0 CLK_A>;
414 txd0 = <&PIO14 0 ALT2 OUT DE_IO 500 CLK_A>;
415 txd1 = <&PIO14 1 ALT2 OUT DE_IO 500 CLK_A>;
416 txd2 = <&PIO14 2 ALT2 OUT DE_IO 500 CLK_B>;
417 txd3 = <&PIO14 3 ALT2 OUT DE_IO 500 CLK_B>;
418 txclk = <&PIO15 0 ALT2 IN NICLK 0 CLK_A>;
419
420 mdio = <&PIO15 4 ALT2 OUT BYPASS 0>;
421 mdc = <&PIO15 5 ALT2 OUT NICLK 0 CLK_B>;
422
423 rxdv = <&PIO15 6 ALT2 IN DE_IO 500 CLK_A>;
424 rxd0 =<&PIO16 0 ALT2 IN DE_IO 500 CLK_A>;
425 rxd1 =<&PIO16 1 ALT2 IN DE_IO 500 CLK_A>;
426 rxd2 =<&PIO16 2 ALT2 IN DE_IO 500 CLK_A>;
427 rxd3 =<&PIO16 3 ALT2 IN DE_IO 500 CLK_A>;
428 rxclk =<&PIO17 0 ALT2 IN NICLK 0 CLK_A>;
429
430 clk125=<&PIO17 6 ALT1 IN NICLK 0 CLK_A>;
431 };
432 };
433 };
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100434 };
435
436 pin-controller-fvdp-fe {
437 #address-cells = <1>;
438 #size-cells = <1>;
439 compatible = "st,stih416-fvdp-fe-pinctrl";
440 st,syscfg = <&syscfg_fvdp_fe>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000441 reg = <0xfd6bf080 0x4>;
442 reg-names = "irqmux";
443 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
444 interrupts-names = "irqmux";
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100445 ranges = <0 0xfd6b0000 0x3000>;
446
447 PIO100: gpio@fd6b0000 {
448 gpio-controller;
449 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000450 interrupt-controller;
451 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100452 reg = <0 0x100>;
453 st,bank-name = "PIO100";
454 };
455 PIO101: gpio@fd6b1000 {
456 gpio-controller;
457 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000458 interrupt-controller;
459 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100460 reg = <0x1000 0x100>;
461 st,bank-name = "PIO101";
462 };
463 PIO102: gpio@fd6b2000 {
464 gpio-controller;
465 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000466 interrupt-controller;
467 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100468 reg = <0x2000 0x100>;
469 st,bank-name = "PIO102";
470 };
471 };
472
473 pin-controller-fvdp-lite {
474 #address-cells = <1>;
475 #size-cells = <1>;
476 compatible = "st,stih416-fvdp-lite-pinctrl";
477 st,syscfg = <&syscfg_fvdp_lite>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000478 reg = <0xfd33f080 0x4>;
479 reg-names = "irqmux";
480 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
481 interrupts-names = "irqmux";
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100482 ranges = <0 0xfd330000 0x5000>;
483
484 PIO103: gpio@fd330000 {
485 gpio-controller;
486 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000487 interrupt-controller;
488 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100489 reg = <0 0x100>;
490 st,bank-name = "PIO103";
491 };
492 PIO104: gpio@fd331000 {
493 gpio-controller;
494 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000495 interrupt-controller;
496 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100497 reg = <0x1000 0x100>;
498 st,bank-name = "PIO104";
499 };
500 PIO105: gpio@fd332000 {
501 gpio-controller;
502 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000503 interrupt-controller;
504 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100505 reg = <0x2000 0x100>;
506 st,bank-name = "PIO105";
507 };
508 PIO106: gpio@fd333000 {
509 gpio-controller;
510 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000511 interrupt-controller;
512 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100513 reg = <0x3000 0x100>;
514 st,bank-name = "PIO106";
515 };
516
517 PIO107: gpio@fd334000 {
518 gpio-controller;
519 #gpio-cells = <1>;
Srinivas Kandagatlabdda8b02014-01-08 12:47:52 +0000520 interrupt-controller;
521 #interrupt-cells = <2>;
Srinivas Kandagatla15969b42013-06-25 12:15:23 +0100522 reg = <0x4000 0x100>;
523 st,bank-name = "PIO107";
524 st,retime-pin-mask = <0xf>;
525 };
526 };
527 };
528};