zephyr/dts/bindings/gpio/semtech,sx1509b-gpio.yaml

47 lines
919 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:
label:
required: true
"#gpio-cells":
const: 2
ngpios:
required: true
const: 16
nint-gpios:
type: phandle-array
required: false
description: |
Connection for the NINT signal. This signal is active-low when
produced by sx1509b GPIO node.
init-out-low:
type: int
required: false
default: 0
description: |
Bit mask identifying pins that should be initialized as outputs
driven low.
init-out-high:
type: int
required: false
default: 0
description: |
Bit mask identifying pins that should be initialized as outputs
driven high.
gpio-cells:
- pin
- flags