Lines Matching +full:gpio +full:- +full:range
1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2012-2013 HiSilicon Ltd.
6 * Copyright (C) 2012-2013 Linaro Ltd.
11 #include <dt-bindings/clock/hi3620-clock.h>
14 #address-cells = <1>;
15 #size-cells = <1>;
26 compatible = "fixed-clock";
27 #clock-cells = <0>;
28 clock-frequency = <26000000>;
29 clock-output-names = "apb_pclk";
33 #address-cells = <1>;
34 #size-cells = <0>;
35 enable-method = "hisilicon,hi3620-smp";
39 compatible = "arm,cortex-a9";
41 next-level-cache = <&L2>;
45 compatible = "arm,cortex-a9";
48 next-level-cache = <&L2>;
52 compatible = "arm,cortex-a9";
55 next-level-cache = <&L2>;
59 compatible = "arm,cortex-a9";
62 next-level-cache = <&L2>;
66 amba-bus {
68 #address-cells = <1>;
69 #size-cells = <1>;
70 compatible = "simple-bus";
71 interrupt-parent = <&gic>;
74 L2: cache-controller {
75 compatible = "arm,pl310-cache";
78 cache-unified;
79 cache-level = <2>;
82 gic: interrupt-controller@1000 {
83 compatible = "arm,cortex-a9-gic";
84 #interrupt-cells = <3>;
85 #address-cells = <0>;
86 interrupt-controller;
91 sysctrl: system-controller@802000 {
93 #address-cells = <1>;
94 #size-cells = <1>;
98 smp-offset = <0x31c>;
99 resume-offset = <0x308>;
100 reboot-offset = <0x4>;
103 compatible = "hisilicon,hi3620-clock";
105 #clock-cells = <1>;
117 clock-names = "timer0clk", "timer1clk", "apb_pclk";
129 clock-names = "timer0clk", "timer1clk", "apb_pclk";
141 clock-names = "timer0lck", "timer1clk", "apb_pclk";
153 clock-names = "timer0clk", "timer1clk", "apb_pclk";
165 clock-names = "timer0clk", "timer1clk", "apb_pclk";
170 compatible = "arm,cortex-a9-twd-timer";
180 clock-names = "uartclk", "apb_pclk";
189 clock-names = "uartclk", "apb_pclk";
198 clock-names = "uartclk", "apb_pclk";
207 clock-names = "uartclk", "apb_pclk";
216 clock-names = "uartclk", "apb_pclk";
220 gpio0: gpio@806000 {
224 gpio-controller;
225 #gpio-cells = <2>;
226 gpio-ranges = < &pmx0 2 0 1 &pmx0 3 0 1 &pmx0 4 0 1
228 interrupt-controller;
229 #interrupt-cells = <2>;
231 clock-names = "apb_pclk";
234 gpio1: gpio@807000 {
238 gpio-controller;
239 #gpio-cells = <2>;
240 gpio-ranges = < &pmx0 0 3 1 &pmx0 1 3 1 &pmx0 2 3 1
243 interrupt-controller;
244 #interrupt-cells = <2>;
246 clock-names = "apb_pclk";
249 gpio2: gpio@808000 {
253 gpio-controller;
254 #gpio-cells = <2>;
255 gpio-ranges = < &pmx0 0 7 1 &pmx0 1 8 1 &pmx0 2 9 1
258 interrupt-controller;
259 #interrupt-cells = <2>;
261 clock-names = "apb_pclk";
264 gpio3: gpio@809000 {
268 gpio-controller;
269 #gpio-cells = <2>;
270 gpio-ranges = < &pmx0 0 3 1 &pmx0 1 3 1 &pmx0 2 3 1
273 interrupt-controller;
274 #interrupt-cells = <2>;
276 clock-names = "apb_pclk";
279 gpio4: gpio@80a000 {
283 gpio-controller;
284 #gpio-cells = <2>;
285 gpio-ranges = < &pmx0 0 11 1 &pmx0 1 11 1 &pmx0 2 11 1
288 interrupt-controller;
289 #interrupt-cells = <2>;
291 clock-names = "apb_pclk";
294 gpio5: gpio@80b000 {
298 gpio-controller;
299 #gpio-cells = <2>;
300 gpio-ranges = < &pmx0 0 14 1 &pmx0 1 15 1 &pmx0 2 16 1
303 interrupt-controller;
304 #interrupt-cells = <2>;
306 clock-names = "apb_pclk";
309 gpio6: gpio@80c000 {
313 gpio-controller;
314 #gpio-cells = <2>;
315 gpio-ranges = < &pmx0 0 16 1 &pmx0 1 16 1 &pmx0 2 17 1
318 interrupt-controller;
319 #interrupt-cells = <2>;
321 clock-names = "apb_pclk";
324 gpio7: gpio@80d000 {
328 gpio-controller;
329 #gpio-cells = <2>;
330 gpio-ranges = < &pmx0 0 19 1 &pmx0 1 20 1 &pmx0 2 21 1
333 interrupt-controller;
334 #interrupt-cells = <2>;
336 clock-names = "apb_pclk";
339 gpio8: gpio@80e000 {
343 gpio-controller;
344 #gpio-cells = <2>;
345 gpio-ranges = < &pmx0 0 27 1 &pmx0 1 28 1 &pmx0 2 29 1
348 interrupt-controller;
349 #interrupt-cells = <2>;
351 clock-names = "apb_pclk";
354 gpio9: gpio@80f000 {
358 gpio-controller;
359 #gpio-cells = <2>;
360 gpio-ranges = < &pmx0 0 35 1 &pmx0 1 36 1 &pmx0 2 37 1
363 interrupt-controller;
364 #interrupt-cells = <2>;
366 clock-names = "apb_pclk";
369 gpio10: gpio@810000 {
373 gpio-controller;
374 #gpio-cells = <2>;
375 gpio-ranges = < &pmx0 2 43 1 &pmx0 3 44 1 &pmx0 4 45 1
377 interrupt-controller;
378 #interrupt-cells = <2>;
380 clock-names = "apb_pclk";
383 gpio11: gpio@811000 {
387 gpio-controller;
388 #gpio-cells = <2>;
389 gpio-ranges = < &pmx0 0 47 1 &pmx0 1 47 1 &pmx0 2 47 1
392 interrupt-controller;
393 #interrupt-cells = <2>;
395 clock-names = "apb_pclk";
398 gpio12: gpio@812000 {
402 gpio-controller;
403 #gpio-cells = <2>;
404 gpio-ranges = < &pmx0 0 49 1 &pmx0 1 50 1 &pmx0 2 49 1
407 interrupt-controller;
408 #interrupt-cells = <2>;
410 clock-names = "apb_pclk";
413 gpio13: gpio@813000 {
417 gpio-controller;
418 #gpio-cells = <2>;
419 gpio-ranges = < &pmx0 0 51 1 &pmx0 1 51 1 &pmx0 2 53 1
422 interrupt-controller;
423 #interrupt-cells = <2>;
425 clock-names = "apb_pclk";
428 gpio14: gpio@814000 {
432 gpio-controller;
433 #gpio-cells = <2>;
434 gpio-ranges = < &pmx0 0 57 1 &pmx0 1 97 1 &pmx0 2 97 1
437 interrupt-controller;
438 #interrupt-cells = <2>;
440 clock-names = "apb_pclk";
443 gpio15: gpio@815000 {
447 gpio-controller;
448 #gpio-cells = <2>;
449 gpio-ranges = < &pmx0 0 61 1 &pmx0 1 62 1 &pmx0 2 62 1
452 interrupt-controller;
453 #interrupt-cells = <2>;
455 clock-names = "apb_pclk";
458 gpio16: gpio@816000 {
462 gpio-controller;
463 #gpio-cells = <2>;
464 gpio-ranges = < &pmx0 0 66 1 &pmx0 1 67 1 &pmx0 2 68 1
467 interrupt-controller;
468 #interrupt-cells = <2>;
470 clock-names = "apb_pclk";
473 gpio17: gpio@817000 {
477 gpio-controller;
478 #gpio-cells = <2>;
479 gpio-ranges = < &pmx0 0 74 1 &pmx0 1 75 1 &pmx0 2 76 1
482 interrupt-controller;
483 #interrupt-cells = <2>;
485 clock-names = "apb_pclk";
488 gpio18: gpio@818000 {
492 gpio-controller;
493 #gpio-cells = <2>;
494 gpio-ranges = < &pmx0 0 82 1 &pmx0 1 83 1 &pmx0 2 83 1
497 interrupt-controller;
498 #interrupt-cells = <2>;
500 clock-names = "apb_pclk";
503 gpio19: gpio@819000 {
507 gpio-controller;
508 #gpio-cells = <2>;
509 gpio-ranges = < &pmx0 0 87 1 &pmx0 1 87 1 &pmx0 2 88 1
511 interrupt-controller;
512 #interrupt-cells = <2>;
514 clock-names = "apb_pclk";
517 gpio20: gpio@81a000 {
521 gpio-controller;
522 #gpio-cells = <2>;
523 gpio-ranges = < &pmx0 0 89 1 &pmx0 1 89 1 &pmx0 2 90 1
525 interrupt-controller;
526 #interrupt-cells = <2>;
528 clock-names = "apb_pclk";
531 gpio21: gpio@81b000 {
535 gpio-controller;
536 #gpio-cells = <2>;
537 gpio-ranges = < &pmx0 3 94 1 &pmx0 7 96 1>;
538 interrupt-controller;
539 #interrupt-cells = <2>;
541 clock-names = "apb_pclk";
545 compatible = "pinctrl-single";
547 #address-cells = <1>;
548 #size-cells = <0>;
549 #pinctrl-cells = <1>;
550 #gpio-range-cells = <3>;
552 pinctrl-single,register-width = <32>;
553 pinctrl-single,function-mask = <7>;
554 /* pin base, nr pins & gpio function */
555 pinctrl-single,gpio-range = <&range 0 3 0 &range 3 9 1
556 &range 12 1 0 &range 13 29 1
557 &range 43 1 0 &range 44 49 1
558 &range 94 1 1 &range 96 2 1>;
560 range: gpio-range { label
561 #pinctrl-single,gpio-range-cells = <3>;
566 compatible = "pinconf-single";
568 #address-cells = <1>;
569 #size-cells = <0>;
570 #pinctrl-cells = <1>;
572 pinctrl-single,register-width = <32>;