1 SEMTECH SX150x GPIO expander bindings
3 Please refer to pinctrl-bindings.txt, ../gpio/gpio.txt, and
4 ../interrupt-controller/interrupts.txt for generic information regarding
5 pin controller, GPIO, and interrupt bindings.
8 - compatible: should be one of :
19 - reg: The I2C slave address for this device.
21 - #gpio-cells: Should be 2. The first cell is the GPIO number and the
22 second cell is used to specify optional parameters:
23 bit 0: polarity (0: normal, 1: inverted)
25 - gpio-controller: Marks the device as a GPIO controller.
28 - interrupt-parent: phandle of the parent interrupt controller.
30 - interrupts: Interrupt specifier for the controllers interrupt.
32 - interrupt-controller: Marks the device as a interrupt controller.
34 - semtech,probe-reset: Will trigger a reset of the GPIO expander on probe,
35 only for sx1507q, sx1508q and sx1509q
37 The GPIO expander can optionally be used as an interrupt controller, in
38 which case it uses the default two cell specifier.
40 Required properties for pin configuration sub-nodes:
41 - pins: List of pins to which the configuration applies.
43 Optional properties for pin configuration sub-nodes:
44 ----------------------------------------------------
45 - bias-disable: disable any pin bias, except the OSCIO pin
46 - bias-pull-up: pull up the pin, except the OSCIO pin
47 - bias-pull-down: pull down the pin, except the OSCIO pin
48 - bias-pull-pin-default: use pin-default pull state, except the OSCIO pin
49 - drive-push-pull: drive actively high and low
50 - drive-open-drain: drive with open drain only for sx1507q, sx1508q and sx1509q and except the OSCIO pin
51 - output-low: set the pin to output mode with low level
52 - output-high: set the pin to output mode with high level
58 #interrupt-cells = <2>;
59 compatible = "semtech,sx1506q";
61 interrupt-parent = <&gpio_1>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&gpio1_cfg_pins>;
70 gpio1_cfg_pins: gpio1-cfg {