2022-08-09 16:44:16 +08:00
|
|
|
# Copyright (c) 2022 ithinx GmbH
|
2023-01-23 19:29:37 +08:00
|
|
|
# 2023 Amrith Venkat Kesavamoorthi <amrith@mr-beam.org>
|
|
|
|
# 2023 Mr Beam Lasers GmbH.
|
2022-08-09 16:44:16 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-01-23 19:29:37 +08:00
|
|
|
description: PCF857x 8/16-bit I2C-based I/O expander
|
2022-08-09 16:44:16 +08:00
|
|
|
|
2023-01-23 19:29:37 +08:00
|
|
|
compatible: "nxp,pcf857x"
|
2022-08-09 16:44:16 +08:00
|
|
|
|
|
|
|
include: [i2c-device.yaml, gpio-controller.yaml]
|
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
ngpios:
|
|
|
|
required: true
|
2023-01-23 19:29:37 +08:00
|
|
|
enum:
|
|
|
|
- 8
|
|
|
|
- 16
|
2022-08-09 16:44:16 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
int-gpios:
|
|
|
|
type: phandle-array
|
|
|
|
description: |
|
|
|
|
GPIO connected to the controller INT pin. This pin is active-low.
|
2022-08-09 16:44:16 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
"#gpio-cells":
|
|
|
|
const: 2
|
2022-08-09 16:44:16 +08:00
|
|
|
|
|
|
|
gpio-cells:
|
|
|
|
- pin
|
|
|
|
- flags
|