2020-02-09 02:46:56 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2020 Geanix ApS
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2021-06-12 05:59:21 +08:00
|
|
|
description: |
|
2020-02-09 02:46:56 +08:00
|
|
|
This is a representation of the Microchip MCP23S17 SPI Gpio Expander.
|
|
|
|
|
|
|
|
compatible: "microchip,mcp23s17"
|
|
|
|
|
|
|
|
include: [gpio-controller.yaml, spi-device.yaml]
|
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
"#gpio-cells":
|
|
|
|
const: 2
|
2020-02-09 02:46:56 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
ngpios:
|
|
|
|
type: int
|
|
|
|
required: true
|
|
|
|
const: 16
|
|
|
|
description: Number of gpios supported
|
2020-02-09 02:46:56 +08:00
|
|
|
|
|
|
|
gpio-cells:
|
|
|
|
- pin
|
|
|
|
- flags
|