xref: /linux/Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
16b7e8c79SAparna M# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26b7e8c79SAparna M%YAML 1.2
36b7e8c79SAparna M---
46b7e8c79SAparna M$id: http://devicetree.org/schemas/gpio/gpio-tpic2810.yaml#
56b7e8c79SAparna M$schema: http://devicetree.org/meta-schemas/core.yaml#
66b7e8c79SAparna M
7*84e85359SKrzysztof Kozlowskititle: TPIC2810 GPIO controller
86b7e8c79SAparna M
96b7e8c79SAparna Mmaintainers:
106b7e8c79SAparna M  - Aswath Govindraju <a-govindraju@ti.com>
116b7e8c79SAparna M
126b7e8c79SAparna Mproperties:
136b7e8c79SAparna M  compatible:
146b7e8c79SAparna M    enum:
156b7e8c79SAparna M      - ti,tpic2810
166b7e8c79SAparna M
176b7e8c79SAparna M  reg:
186b7e8c79SAparna M    maxItems: 1
196b7e8c79SAparna M
206b7e8c79SAparna M  gpio-controller: true
216b7e8c79SAparna M
226b7e8c79SAparna M  "#gpio-cells":
236b7e8c79SAparna M    const: 2
246b7e8c79SAparna M
256b7e8c79SAparna M  gpio-line-names:
266b7e8c79SAparna M    minItems: 1
276b7e8c79SAparna M    maxItems: 32
286b7e8c79SAparna M
296b7e8c79SAparna Mrequired:
306b7e8c79SAparna M  - compatible
316b7e8c79SAparna M  - reg
326b7e8c79SAparna M  - gpio-controller
336b7e8c79SAparna M  - "#gpio-cells"
346b7e8c79SAparna M
356b7e8c79SAparna MadditionalProperties: false
366b7e8c79SAparna M
376b7e8c79SAparna Mexamples:
386b7e8c79SAparna M  - |
396b7e8c79SAparna M    #include <dt-bindings/gpio/gpio.h>
406b7e8c79SAparna M
416b7e8c79SAparna M    i2c {
426b7e8c79SAparna M        #address-cells = <1>;
436b7e8c79SAparna M        #size-cells = <0>;
446b7e8c79SAparna M        gpio@60 {
456b7e8c79SAparna M            compatible = "ti,tpic2810";
466b7e8c79SAparna M            reg = <0x60>;
476b7e8c79SAparna M            gpio-controller;
486b7e8c79SAparna M            #gpio-cells = <2>;
496b7e8c79SAparna M            gpio-line-names = "LED A", "LED B", "LED C";
506b7e8c79SAparna M        };
516b7e8c79SAparna M    };
52