26 lines
463 B
YAML
26 lines
463 B
YAML
|
# Copyright (c) 2022 ithinx GmbH
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
description: PCF8574 8-bit I2C-based I/O expander
|
||
|
|
||
|
compatible: "nxp,pcf8574"
|
||
|
|
||
|
include: [i2c-device.yaml, gpio-controller.yaml]
|
||
|
|
||
|
properties:
|
||
|
ngpios:
|
||
|
required: true
|
||
|
const: 8
|
||
|
|
||
|
int-gpios:
|
||
|
type: phandle-array
|
||
|
description: |
|
||
|
GPIO connected to the controller INT pin. This pin is active-low.
|
||
|
|
||
|
"#gpio-cells":
|
||
|
const: 2
|
||
|
|
||
|
gpio-cells:
|
||
|
- pin
|
||
|
- flags
|