1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright 2022 Linaro Ltd.
5 $id: http://devicetree.org/schemas/pinctrl/semtech,sx1501q.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Semtech SX150x GPIO expander
11 - Neil Armstrong <neil.armstrong@linaro.org>
35 interrupt-controller: true
43 description: Will trigger a reset of the GPIO expander on probe
55 bias-pull-pin-default: true
59 drive-open-drain: true
65 - $ref: pincfg-node.yaml#
66 - $ref: pinmux-node.yaml#
77 bias-pull-pin-default: false
78 drive-open-drain: false
80 additionalProperties: false
101 semtech,probe-reset: false
115 pattern: '^gpio[0-3]$'
129 pattern: '^gpio[0-7]$'
143 pattern: '^(gpio[0-9]|gpio1[0-5])$'
148 const: semtech,sx1507q
155 pattern: '^(oscio|gpio[0-3])$'
160 const: semtech,sx1508q
167 pattern: '^(oscio|gpio[0-7])$'
172 const: semtech,sx1509q
179 pattern: '^(oscio|gpio[0-9]|gpio1[0-5])$'
181 additionalProperties: false
185 #include <dt-bindings/interrupt-controller/irq.h>
188 #address-cells = <1>;
192 compatible = "semtech,sx1501q";
196 #interrupt-cells = <2>;
198 interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
201 interrupt-controller;