cypress,cy8c95x0.yaml (a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0) cypress,cy8c95x0.yaml (8e4cc358223df13c8842e9a71961a00d0652f341)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pinctrl/cypress,cy8c95x0.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cypress CY8C95X0 I2C GPIO expander
8

--- 31 unchanged lines hidden (view full) ---

40 const: 2
41
42 gpio-line-names: true
43
44 gpio-ranges:
45 maxItems: 1
46
47 gpio-reserved-ranges:
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pinctrl/cypress,cy8c95x0.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cypress CY8C95X0 I2C GPIO expander
8

--- 31 unchanged lines hidden (view full) ---

40 const: 2
41
42 gpio-line-names: true
43
44 gpio-ranges:
45 maxItems: 1
46
47 gpio-reserved-ranges:
48 maxItems: 1
48 minItems: 1
49 maxItems: 60
49
50 vdd-supply:
51 description:
52 Optional power supply.
53
54 reset-gpios:
55 description: GPIO connected to the XRES pin
56 maxItems: 1

--- 23 unchanged lines hidden (view full) ---

80 enum: [ gpio, pwm ]
81
82 bias-pull-down: true
83
84 bias-pull-up: true
85
86 bias-disable: true
87
50
51 vdd-supply:
52 description:
53 Optional power supply.
54
55 reset-gpios:
56 description: GPIO connected to the XRES pin
57 maxItems: 1

--- 23 unchanged lines hidden (view full) ---

81 enum: [ gpio, pwm ]
82
83 bias-pull-down: true
84
85 bias-pull-up: true
86
87 bias-disable: true
88
89 input-enable: true
90
88 output-high: true
89
90 output-low: true
91
92 drive-push-pull: true
93
94 drive-open-drain: true
95

--- 32 unchanged lines hidden (view full) ---

128 compatible = "cypress,cy8c9520";
129 reg = <0x20>;
130 gpio-controller;
131 #gpio-cells = <2>;
132 #interrupt-cells = <2>;
133 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
134 interrupt-controller;
135 vdd-supply = <&p3v3>;
91 output-high: true
92
93 output-low: true
94
95 drive-push-pull: true
96
97 drive-open-drain: true
98

--- 32 unchanged lines hidden (view full) ---

131 compatible = "cypress,cy8c9520";
132 reg = <0x20>;
133 gpio-controller;
134 #gpio-cells = <2>;
135 #interrupt-cells = <2>;
136 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
137 interrupt-controller;
138 vdd-supply = <&p3v3>;
136 gpio-reserved-ranges = <5 1>;
139 gpio-reserved-ranges = <1 2>, <6 1>, <10 1>, <15 1>;
140
141 pinctrl-0 = <&U62160_pins>, <&U62160_ipins>;
142 pinctrl-names = "default";
143
144 U62160_pins: cfg-pins {
145 pins = "gp03", "gp16", "gp20", "gp50", "gp51";
146 function = "gpio";
147 input-enable;
148 bias-pull-up;
149 };
150
151 U62160_ipins: icfg-pins {
152 pins = "gp04", "gp17", "gp21", "gp52", "gp53";
153 function = "gpio";
154 input-enable;
155 bias-pull-up;
156 };
137 };
138 };
157 };
158 };