30 lines
496 B
YAML
30 lines
496 B
YAML
|
#
|
||
|
# Copyright (c) 2020 Geanix ApS
|
||
|
# Copyright (c) 2021 Peter Johanson
|
||
|
#
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
#
|
||
|
|
||
|
description: |
|
||
|
This is a representation of the Microchip MCP23SXX SPI Gpio Expander.
|
||
|
|
||
|
compatible: "microchip,mcp23sxx"
|
||
|
|
||
|
include: [gpio-controller.yaml, spi-device.yaml]
|
||
|
|
||
|
properties:
|
||
|
"#gpio-cells":
|
||
|
const: 2
|
||
|
|
||
|
ngpios:
|
||
|
type: int
|
||
|
required: true
|
||
|
enum:
|
||
|
- 8
|
||
|
- 16
|
||
|
description: Number of gpios supported
|
||
|
|
||
|
gpio-cells:
|
||
|
- pin
|
||
|
- flags
|