brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 5eeb29b Raw
64 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/gpio/x-powers,axp209-gpio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: X-Powers AXP209 GPIO8 9maintainers:10  - Chen-Yu Tsai <wens@csie.org>11 12properties:13  "#gpio-cells":14    const: 215    description: >16      The first cell is the pin number and the second is the GPIO flags.17 18  compatible:19    oneOf:20      - enum:21          - x-powers,axp209-gpio22          - x-powers,axp221-gpio23          - x-powers,axp813-gpio24      - items:25          - enum:26              - x-powers,axp223-gpio27              - x-powers,axp809-gpio28          - const: x-powers,axp221-gpio29      - items:30          - const: x-powers,axp803-gpio31          - const: x-powers,axp813-gpio32 33  gpio-controller: true34 35patternProperties:36  "^.*-pins?$":37    $ref: /schemas/pinctrl/pinmux-node.yaml#38    additionalProperties: false39 40    properties:41      pins:42        items:43          enum:44            - GPIO045            - GPIO146            - GPIO247            - GPIO348 49      function:50        enum:51          - adc52          - ldo53          - gpio_in54          - gpio_out55 56required:57  - compatible58  - "#gpio-cells"59  - gpio-controller60 61additionalProperties: false62 63...64