1# Copyright (c) 2018, Aapo Vienamo 2# Copyright (c) 2021, Laird Connectivity 3# SPDX-License-Identifier: Apache-2.0 4 5description: TCA9538 GPIO node 6 7compatible: "ti,tca9538" 8 9include: [i2c-device.yaml, gpio-controller.yaml] 10 11properties: 12 "#gpio-cells": 13 const: 2 14 15 ngpios: 16 required: true 17 const: 8 18 description: | 19 Number of GPIOs available on port expander. 20 21 nint-gpios: 22 type: phandle-array 23 description: | 24 Connection for the NINT signal. This signal is active-low when 25 produced by tca9538 GPIO node. 26 27 input-latch: 28 type: int 29 description: | 30 Input latch register bit is 0 by default and the input pin state 31 is not latched. When input latch register bit is 1 and the input 32 pin state is latched. 33 34 interrupt-mask: 35 type: int 36 description: | 37 Interrupt mask register is set to logic 1 by default without 38 enabling interrupts. Setting corresponding mask bits to logic 39 0 to enable the interrupts. 40 41gpio-cells: 42 - pin 43 - flags 44