blob: 82b4ef48ccf8b92317acac2c95e8d14c63011f4e [file] [log] [blame]
#
# 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