1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/gpio/fcs,fxl6408.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Fairchild FXL6408 I2C GPIO Expander 8 9maintainers: 10 - Emanuele Ghidoli <emanuele.ghidoli@toradex.com> 11 12properties: 13 compatible: 14 enum: 15 - fcs,fxl6408 16 17 reg: 18 maxItems: 1 19 20 "#gpio-cells": 21 const: 2 22 23 gpio-controller: true 24 25 gpio-line-names: 26 minItems: 1 27 maxItems: 8 28 29patternProperties: 30 "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": 31 type: object 32 required: 33 - gpio-hog 34 35required: 36 - compatible 37 - reg 38 - gpio-controller 39 - "#gpio-cells" 40 41additionalProperties: false 42 43examples: 44 - | 45 i2c { 46 #address-cells = <1>; 47 #size-cells = <0>; 48 49 gpio_expander_43: gpio-expander@43 { 50 compatible = "fcs,fxl6408"; 51 reg = <0x43>; 52 gpio-controller; 53 #gpio-cells = <2>; 54 gpio-line-names = "Wi-Fi_W_DISABLE", "Wi-Fi_WKUP_WLAN", 55 "PWR_EN_+V3.3_WiFi_N", "PCIe_REF_CLK_EN", 56 "USB_RESET_N", "USB_BYPASS_N", "Wi-Fi_PDn", 57 "Wi-Fi_WKUP_BT"; 58 }; 59 }; 60