Lines Matching +full:bias +full:- +full:pull +full:- +full:pin +full:- +full:default
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
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.
19 - cypress,cy8c9520
20 - cypress,cy8c9540
21 - cypress,cy8c9560
26 gpio-controller: true
28 '#gpio-cells':
31 flags, as defined in <dt-bindings/gpio/gpio.h>.
37 interrupt-controller: true
39 '#interrupt-cells':
42 gpio-line-names: true
44 gpio-ranges:
47 gpio-reserved-ranges:
51 vdd-supply:
55 reset-gpios:
56 description: GPIO connected to the XRES pin
60 '-pins$':
63 Pinctrl node's client devices use subnodes for desired pin configuration.
65 $ref: pincfg-node.yaml#
73 pattern: '^gp([0-7][0-7])$'
83 bias-pull-down: true
85 bias-pull-up: true
87 bias-disable: true
89 input-enable: true
91 output-high: true
93 output-low: true
95 drive-push-pull: true
97 drive-open-drain: true
99 drive-open-source: true
102 - pins
103 - function
108 - compatible
109 - reg
110 - interrupts
111 - interrupt-controller
112 - '#interrupt-cells'
113 - gpio-controller
114 - '#gpio-cells'
119 - $ref: pinctrl.yaml#
122 - |
123 #include <dt-bindings/interrupt-controller/arm-gic.h>
124 #include <dt-bindings/interrupt-controller/irq.h>
127 #address-cells = <1>;
128 #size-cells = <0>;
133 gpio-controller;
134 #gpio-cells = <2>;
135 #interrupt-cells = <2>;
137 interrupt-controller;
138 vdd-supply = <&p3v3>;
139 gpio-reserved-ranges = <1 2>, <6 1>, <10 1>, <15 1>;
141 pinctrl-0 = <&U62160_pins>, <&U62160_ipins>;
142 pinctrl-names = "default";
144 U62160_pins: cfg-pins {
147 input-enable;
148 bias-pull-up;
151 U62160_ipins: icfg-pins {
154 input-enable;
155 bias-pull-up;