Path: blob/master/Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml
26308 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/gpio/airoha,en7523-gpio.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Airoha EN7523 GPIO controller78maintainers:9- John Crispin <john@phrozen.org>1011description: |12Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 3213GPIOs.1415properties:16$nodename:17pattern: "^gpio@[0-9a-f]+$"1819compatible:20items:21- const: airoha,en7523-gpio2223reg:24description: |25The first tuple points to the input register.26The second and third tuple point to the direction registers27The fourth tuple points to the output register28maxItems: 42930"#gpio-cells":31const: 23233gpio-controller: true3435required:36- compatible37- reg38- "#gpio-cells"39- gpio-controller4041additionalProperties: false4243examples:44- |45gpio0: gpio@1fbf0200 {46compatible = "airoha,en7523-gpio";47reg = <0x1fbf0204 0x4>,48<0x1fbf0200 0x4>,49<0x1fbf0220 0x4>,50<0x1fbf0214 0x4>;51gpio-controller;52#gpio-cells = <2>;53};5455gpio1: gpio@1fbf0270 {56compatible = "airoha,en7523-gpio";57reg = <0x1fbf0270 0x4>,58<0x1fbf0260 0x4>,59<0x1fbf0264 0x4>,60<0x1fbf0278 0x4>;61gpio-controller;62#gpio-cells = <2>;63};6465...666768