Lines Matching +full:bank +full:- +full:number
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/firmware/cznic,turris-omnia-mcu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Behún <kabel@kernel.org>
18 const: cznic,turris-omnia-mcu
27 interrupt-controller: true
29 '#interrupt-cells':
32 The first cell specifies the interrupt number (0 to 63), the second cell
37 IRQ number GPIO bank GPIO pin within bank
38 0 - 15 0 0 - 15
39 16 - 47 1 0 - 31
40 48 - 63 2 0 - 15
42 IRQ number meaning
47 gpio-controller: true
49 '#gpio-cells':
52 The first cell is bank number (0, 1 or 2), the second cell is pin number
53 within the bank (0 to 15 for banks 0 and 2, 0 to 31 for bank 1), and the
57 - compatible
58 - reg
59 - interrupts
60 - interrupt-controller
61 - gpio-controller
66 - |
67 #include <dt-bindings/interrupt-controller/irq.h>
70 #address-cells = <1>;
71 #size-cells = <0>;
73 system-controller@2a {
74 compatible = "cznic,turris-omnia-mcu";
77 interrupt-parent = <&gpio1>;
80 gpio-controller;
81 #gpio-cells = <3>;
83 interrupt-controller;
84 #interrupt-cells = <2>;