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