1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/gpio/gpio-tpic2810.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: TPIC2810 GPIO controller bindings
8
9 maintainers:
10 - Aswath Govindraju <a-govindraju@ti.com>
11
12 properties:
13 compatible:
14 enum:
15 - ti,tpic2810
16
17 reg:
18 maxItems: 1
19
20 gpio-controller: true
21
22 "#gpio-cells":
23 const: 2
24
25 gpio-line-names:
26 minItems: 1
27 maxItems: 32
28
29 required:
30 - compatible
31 - reg
32 - gpio-controller
33 - "#gpio-cells"
34
35 additionalProperties: false
36
37 examples:
38 - |
39 #include <dt-bindings/gpio/gpio.h>
40
41 i2c {
42 #address-cells = <1>;
43 #size-cells = <0>;
44 gpio@60 {
45 compatible = "ti,tpic2810";
46 reg = <0x60>;
47 gpio-controller;
48 #gpio-cells = <2>;
49 gpio-line-names = "LED A", "LED B", "LED C";
50 };
51 };
Cache object: be6082ce56946b3448ba445fb294b163
|