You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
472 B
30 lines
472 B
4 years ago
|
#
|
||
|
# 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
|