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