brintos

brintos / linux-shallow public Read only

0
0
Text · 846 B · 25b3198 Raw
52 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/gpio/adi,ds4520-gpio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: DS4520 I2C GPIO expander8 9maintainers:10  - Okan Sahin <okan.sahin@analog.com>11 12properties:13  compatible:14    enum:15      - adi,ds4520-gpio16 17  reg:18    maxItems: 119 20  gpio-controller: true21 22  "#gpio-cells":23    const: 224 25  ngpios:26    minimum: 127    maximum: 928 29required:30  - compatible31  - reg32  - gpio-controller33  - "#gpio-cells"34  - ngpios35 36additionalProperties: false37 38examples:39  - |40    i2c {41        #address-cells = <1>;42        #size-cells = <0>;43 44        gpio@50 {45            compatible = "adi,ds4520-gpio";46            reg = <0x50>;47            ngpios = <9>;48            gpio-controller;49            #gpio-cells = <2>;50        };51    };52