1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pinctrl/cypress,cy8c95x0.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cypress CY8C95X0 I2C GPIO expander
10 - Patrick Rudolph <patrick.rudolph@9elements.com>
13 This supports the 20/40/60 pin Cypress CYC95x0 GPIO I2C expanders.
14 Pin function configuration is performed on a per-pin basis.
30 The first cell is the GPIO number and the second cell specifies GPIO
31 flags, as defined in <dt-bindings/gpio/gpio.h>.
37 interrupt-controller: true
52 Optional power supply.
58 Pinctrl node's client devices use subnodes for desired pin configuration.
59 Client device subnodes use below standard properties.
60 $ref: pincfg-node.yaml#
65 List of gpio pins affected by the properties specified in this
68 pattern: '^gp([0-7][0-7])$'
74 Specify the alternative function to be configured for the specified
90 drive-open-drain: true
92 drive-open-source: true
98 additionalProperties: false
104 - interrupt-controller
109 additionalProperties: false
112 - $ref: "pinctrl.yaml#"
116 #include <dt-bindings/interrupt-controller/arm-gic.h>
117 #include <dt-bindings/interrupt-controller/irq.h>
120 #address-cells = <1>;
124 compatible = "cypress,cy8c9520";
128 #interrupt-cells = <2>;
129 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
130 interrupt-controller;
131 vdd-supply = <&p3v3>;
132 gpio-reserved-ranges = <5 1>;