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