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 7title: TPIC2810 GPIO controller 8 9maintainers: 10 - Aswath Govindraju <a-govindraju@ti.com> 11 12properties: 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 29required: 30 - compatible 31 - reg 32 - gpio-controller 33 - "#gpio-cells" 34 35additionalProperties: false 36 37examples: 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 }; 52