Lines Matching +full:gpio +full:- +full:r1p02
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/cdns,gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cadence GPIO Controller
10 - Jan Kotas <jank@cadence.com>
15 - const: cdns,gpio-r1p02
16 - items:
17 - enum:
18 - axiado,ax3000-gpio
19 - const: cdns,gpio-r1p02
31 gpio-controller: true
33 "#gpio-cells":
36 - First cell is the GPIO line number.
37 - Second cell is flags as defined in <dt-bindings/gpio/gpio.h>,
40 interrupt-controller: true
42 "#interrupt-cells":
45 - First cell is the GPIO line number used as IRQ.
46 - Second cell is the trigger type, as defined in
47 <dt-bindings/interrupt-controller/irq.h>.
53 - compatible
54 - reg
55 - clocks
56 - gpio-controller
57 - "#gpio-cells"
60 required: [interrupt-controller]
63 - interrupts
68 - |
69 #include <dt-bindings/interrupt-controller/arm-gic.h>
70 #include <dt-bindings/interrupt-controller/irq.h>
71 gpio0: gpio-controller@fd060000 {
72 compatible = "cdns,gpio-r1p02";
76 interrupt-parent = <&gic>;
79 gpio-controller;
80 #gpio-cells = <2>;
82 interrupt-controller;
83 #interrupt-cells = <2>;