2022-09-29 18:22:01 -07:00
|
|
|
#
|
|
|
|
# Copyright (c) 2022 The ZMK Contributors
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
#
|
|
|
|
|
|
|
|
description: >
|
2023-04-22 21:16:36 -07:00
|
|
|
This is a representation of the Maxim MAX7318 I2C Gpio Expander.
|
2022-09-29 18:22:01 -07:00
|
|
|
|
|
|
|
compatible: "maxim,max7318"
|
|
|
|
|
|
|
|
include: [gpio-controller.yaml, i2c-device.yaml]
|
|
|
|
|
|
|
|
properties:
|
2023-04-22 21:16:36 -07:00
|
|
|
"#gpio-cells":
|
|
|
|
const: 2
|
2022-09-29 18:22:01 -07:00
|
|
|
|
2023-04-22 21:16:36 -07:00
|
|
|
ngpios:
|
|
|
|
type: int
|
|
|
|
required: true
|
|
|
|
const: 16
|
|
|
|
description: Number of gpios supported
|
2022-09-29 18:22:01 -07:00
|
|
|
|
|
|
|
gpio-cells:
|
|
|
|
- pin
|
|
|
|
- flags
|