1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/gpio/kontron,sl28cpld-gpio.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: GPIO driver for the sl28cpld board management controller 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunmaintainers: 10*4882a593Smuzhiyun - Michael Walle <michael@walle.cc> 11*4882a593Smuzhiyun 12*4882a593Smuzhiyundescription: | 13*4882a593Smuzhiyun This module is part of the sl28cpld multi-function device. For more 14*4882a593Smuzhiyun details see ../mfd/kontron,sl28cpld.yaml. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun There are three flavors of the GPIO controller, one full featured 17*4882a593Smuzhiyun input/output with interrupt support (kontron,sl28cpld-gpio), one 18*4882a593Smuzhiyun output-only (kontron,sl28-gpo) and one input-only (kontron,sl28-gpi). 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun Each controller supports 8 GPIO lines. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyunproperties: 23*4882a593Smuzhiyun compatible: 24*4882a593Smuzhiyun enum: 25*4882a593Smuzhiyun - kontron,sl28cpld-gpio 26*4882a593Smuzhiyun - kontron,sl28cpld-gpi 27*4882a593Smuzhiyun - kontron,sl28cpld-gpo 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun reg: 30*4882a593Smuzhiyun maxItems: 1 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun interrupts: 33*4882a593Smuzhiyun maxItems: 1 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun "#interrupt-cells": 36*4882a593Smuzhiyun const: 2 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun interrupt-controller: true 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun "#gpio-cells": 41*4882a593Smuzhiyun const: 2 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun gpio-controller: true 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun gpio-line-names: 46*4882a593Smuzhiyun minItems: 1 47*4882a593Smuzhiyun maxItems: 8 48*4882a593Smuzhiyun 49*4882a593Smuzhiyunrequired: 50*4882a593Smuzhiyun - compatible 51*4882a593Smuzhiyun - "#gpio-cells" 52*4882a593Smuzhiyun - gpio-controller 53*4882a593Smuzhiyun 54*4882a593SmuzhiyunadditionalProperties: false 55