41 lines
776 B
YAML
41 lines
776 B
YAML
# Copyright (c) 2018, Aapo Vienamo
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: SX1509B GPIO node
|
|
|
|
compatible: "semtech,sx1509b"
|
|
|
|
include: [i2c-device.yaml, gpio-controller.yaml]
|
|
|
|
properties:
|
|
"#gpio-cells":
|
|
const: 2
|
|
|
|
ngpios:
|
|
required: true
|
|
const: 16
|
|
|
|
nint-gpios:
|
|
type: phandle-array
|
|
description: |
|
|
Connection for the NINT signal. This signal is active-low when
|
|
produced by sx1509b GPIO node.
|
|
|
|
init-out-low:
|
|
type: int
|
|
default: 0
|
|
description: |
|
|
Bit mask identifying pins that should be initialized as outputs
|
|
driven low.
|
|
|
|
init-out-high:
|
|
type: int
|
|
default: 0
|
|
description: |
|
|
Bit mask identifying pins that should be initialized as outputs
|
|
driven high.
|
|
|
|
gpio-cells:
|
|
- pin
|
|
- flags
|