1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-p 4 $id: http://devicetree.org/schemas/gpio/gpio-pca9570.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: PCA9570 I2C GPO expander 7 title: PCA9570 I2C GPO expander 8 8 9 maintainers: 9 maintainers: 10 - Sungbo Eo <mans0n@gorani.run> 10 - Sungbo Eo <mans0n@gorani.run> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 enum: 14 enum: 15 - dlg,slg7xl45106 15 - dlg,slg7xl45106 16 - nxp,pca9570 16 - nxp,pca9570 17 - nxp,pca9571 17 - nxp,pca9571 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 gpio-controller: true 22 gpio-controller: true 23 23 24 '#gpio-cells': 24 '#gpio-cells': 25 const: 2 25 const: 2 26 26 27 gpio-line-names: 27 gpio-line-names: 28 minItems: 4 28 minItems: 4 29 maxItems: 8 29 maxItems: 8 30 30 31 label: 31 label: 32 description: A descriptive name for this d 32 description: A descriptive name for this device. 33 33 34 required: 34 required: 35 - compatible 35 - compatible 36 - reg 36 - reg 37 - gpio-controller 37 - gpio-controller 38 - "#gpio-cells" 38 - "#gpio-cells" 39 39 40 additionalProperties: false 40 additionalProperties: false 41 41 42 examples: 42 examples: 43 - | 43 - | 44 i2c { 44 i2c { 45 #address-cells = <1>; 45 #address-cells = <1>; 46 #size-cells = <0>; 46 #size-cells = <0>; 47 47 48 gpio@24 { 48 gpio@24 { 49 compatible = "nxp,pca9570"; 49 compatible = "nxp,pca9570"; 50 reg = <0x24>; 50 reg = <0x24>; 51 gpio-controller; 51 gpio-controller; 52 #gpio-cells = <2>; 52 #gpio-cells = <2>; 53 }; 53 }; 54 }; 54 }; 55 55 56 ... 56 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.