Lines Matching +full:interrupt +full:- +full:ranges

1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/gpio/socionext,uniphier-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Masahiro Yamada <yamada.masahiro@socionext.com>
14 pattern: "^gpio@[0-9a-f]+$"
17 const: socionext,uniphier-gpio
22 gpio-controller: true
24 "#gpio-cells":
27 interrupt-controller: true
29 "#interrupt-cells":
31 The first cell defines the interrupt number.
33 1 = low-to-high edge triggered
34 2 = high-to-low edge triggered
35 4 = active high level-sensitive
36 8 = active low level-sensitive
44 gpio-ranges: true
46 gpio-ranges-group-names:
47 $ref: /schemas/types.yaml#/definitions/string-array
49 socionext,interrupt-ranges:
51 Specifies an interrupt number mapping between this GPIO controller and
52 its interrupt parent, in the form of arbitrary number of
53 <child-interrupt-base parent-interrupt-base length> triplets.
54 $ref: /schemas/types.yaml#/definitions/uint32-matrix
57 - compatible
58 - reg
59 - gpio-controller
60 - "#gpio-cells"
61 - interrupt-controller
62 - "#interrupt-cells"
63 - ngpios
64 - gpio-ranges
65 - socionext,interrupt-ranges
70 - |
71 #include <dt-bindings/gpio/gpio.h>
72 #include <dt-bindings/gpio/uniphier-gpio.h>
75 compatible = "socionext,uniphier-gpio";
77 interrupt-parent = <&aidet>;
78 interrupt-controller;
79 #interrupt-cells = <2>;
80 gpio-controller;
81 #gpio-cells = <2>;
82 gpio-ranges = <&pinctrl 0 0 0>;
83 gpio-ranges-group-names = "gpio_range";
85 socionext,interrupt-ranges = <0 48 16>, <16 154 5>, <21 217 3>;
94 compatible = "mmc-pwrseq-emmc";
95 reset-gpios = <&gpio UNIPHIER_GPIO_PORT(29, 4) GPIO_ACTIVE_LOW>;