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.
34 lines
470 B
34 lines
470 B
3 years ago
|
#
|
||
|
# Copyright (c) 2022 The ZMK Contributors
|
||
|
#
|
||
|
# SPDX-License-Identifier: MIT
|
||
|
#
|
||
|
|
||
|
description: >
|
||
|
This is a representation of the 595 Shift Register.
|
||
|
|
||
|
compatible: "zmk,gpio-595"
|
||
|
|
||
|
include: [gpio-controller.yaml, spi-device.yaml]
|
||
|
|
||
|
properties:
|
||
|
label:
|
||
|
required: true
|
||
|
|
||
|
"#gpio-cells":
|
||
|
const: 2
|
||
|
|
||
|
ngpios:
|
||
|
type: int
|
||
|
required: true
|
||
|
enum:
|
||
|
- 8
|
||
|
- 16
|
||
|
- 24
|
||
|
- 32
|
||
|
description: Number of gpios supported
|
||
|
|
||
|
gpio-cells:
|
||
|
- pin
|
||
|
- flags
|