647110e5e5
* Upstream Zephyr has in progress driver, so doing this locally here, until we can move over to that driver.
29 lines
472 B
YAML
29 lines
472 B
YAML
#
|
|
# Copyright (c) 2020 Geanix ApS
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
description: >
|
|
This is a representation of the Microchip MCP23017 I2C Gpio Expander.
|
|
|
|
compatible: "microchip,mcp23017"
|
|
|
|
include: [gpio-controller.yaml, i2c-device.yaml]
|
|
|
|
properties:
|
|
label:
|
|
required: true
|
|
|
|
"#gpio-cells":
|
|
const: 2
|
|
|
|
ngpios:
|
|
type: int
|
|
required: true
|
|
const: 16
|
|
description: Number of gpios supported
|
|
|
|
gpio-cells:
|
|
- pin
|
|
- flags
|