Lines Matching +full:gpio +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#
7 title: UniPhier GPIO controller
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":
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: true
48 socionext,interrupt-ranges:
50 Specifies an interrupt number mapping between this GPIO controller and
52 <child-interrupt-base parent-interrupt-base length> triplets.
53 $ref: /schemas/types.yaml#/definitions/uint32-matrix
56 - compatible
57 - reg
58 - gpio-controller
59 - "#gpio-cells"
60 - interrupt-controller
61 - "#interrupt-cells"
62 - ngpios
63 - gpio-ranges
64 - socionext,interrupt-ranges
69 - |
70 #include <dt-bindings/gpio/gpio.h>
71 #include <dt-bindings/gpio/uniphier-gpio.h>
73 gpio: gpio@55000000 {
74 compatible = "socionext,uniphier-gpio";
76 interrupt-parent = <&aidet>;
77 interrupt-controller;
78 #interrupt-cells = <2>;
79 gpio-controller;
80 #gpio-cells = <2>;
81 gpio-ranges = <&pinctrl 0 0 0>;
82 gpio-ranges-group-names = "gpio_range";
84 socionext,interrupt-ranges = <0 48 16>, <16 154 5>, <21 217 3>;
93 compatible = "mmc-pwrseq-emmc";
94 reset-gpios = <&gpio UNIPHIER_GPIO_PORT(29, 4) GPIO_ACTIVE_LOW>;