Lines Matching +full:pin +full:- +full:controller
1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S3C/S5P/Exynos SoC pin controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
12 - Tomasz Figa <tomasz.figa@gmail.com>
15 This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin
16 controller.
18 All the pin controller nodes should be represented in the aliases node using
21 The controller supports three types of interrupts::
22 - External GPIO interrupts (see interrupts property in pin controller node);
24 - External wake-up interrupts - multiplexed (capable of waking up the system
25 see interrupts property in external wake-up interrupt controller node -
26 samsung,pinctrl-wakeup-interrupt.yaml);
28 - External wake-up interrupts - direct (capable of waking up the system, see
29 interrupts property in every bank of pin controller with external wake-up
30 interrupt controller - samsung,pinctrl-gpio-bank.yaml).
38 - samsung,s3c2412-pinctrl
39 - samsung,s3c2416-pinctrl
40 - samsung,s3c2440-pinctrl
41 - samsung,s3c2450-pinctrl
42 - samsung,s3c64xx-pinctrl
43 - samsung,s5pv210-pinctrl
44 - samsung,exynos3250-pinctrl
45 - samsung,exynos4210-pinctrl
46 - samsung,exynos4x12-pinctrl
47 - samsung,exynos5250-pinctrl
48 - samsung,exynos5260-pinctrl
49 - samsung,exynos5410-pinctrl
50 - samsung,exynos5420-pinctrl
51 - samsung,exynos5433-pinctrl
52 - samsung,exynos7-pinctrl
53 - samsung,exynos7885-pinctrl
54 - samsung,exynos850-pinctrl
55 - samsung,exynosautov9-pinctrl
56 - tesla,fsd-pinctrl
63 power-domains:
68 Second base address of the pin controller if the specific registers of
69 the pin controller are separated into the different base address.
70 Only certain banks of certain pin controller might need it.
74 wakeup-interrupt-controller:
75 $ref: samsung,pinctrl-wakeup-interrupt.yaml
78 "^[a-z]+[0-9]*-gpio-bank$":
80 Pin banks of the controller are represented by child nodes of the
81 controller node. Bank name is taken from name of the node.
82 $ref: samsung,pinctrl-gpio-bank.yaml
84 "^[a-z0-9-]+-pins$":
86 - $ref: samsung,pinctrl-pins-cfg.yaml
88 - samsung,pins
89 - type: object
91 "^[a-z0-9-]+-pins$":
92 $ref: samsung,pinctrl-pins-cfg.yaml
96 "^(initial|sleep)-state$":
101 "^(pin-[a-z0-9-]+|[a-z0-9-]+-pin)$":
102 $ref: samsung,pinctrl-pins-cfg.yaml
106 description: See samsung,pinctrl-pins-cfg.yaml
107 $ref: /schemas/types.yaml#/definitions/string-array
111 - samsung,pins
116 - compatible
117 - reg
120 - $ref: "pinctrl.yaml#"
121 - if:
125 const: samsung,exynos5433-pinctrl
140 - |
142 compatible = "samsung,s3c64xx-pinctrl";
144 interrupt-parent = <&vic1>;
147 wakeup-interrupt-controller {
148 compatible = "samsung,s3c64xx-wakeup-eint";
149 interrupts-extended = <&vic0 0>,
155 /* Pin bank with external GPIO or muxed external wake-up interrupts */
156 gpa-gpio-bank {
157 gpio-controller;
158 #gpio-cells = <2>;
159 interrupt-controller;
160 #interrupt-cells = <2>;
165 uart0-data-pins {
166 samsung,pins = "gpa-0", "gpa-1";
167 samsung,pin-function = <2>;
168 samsung,pin-pud = <0>;
174 - |
175 #include <dt-bindings/interrupt-controller/arm-gic.h>
178 compatible = "samsung,exynos4210-pinctrl";
182 pinctrl-names = "default";
183 pinctrl-0 = <&sleep0>;
185 /* Pin bank with external GPIO or muxed external wake-up interrupts */
186 gpa0-gpio-bank {
187 gpio-controller;
188 #gpio-cells = <2>;
189 interrupt-controller;
190 #interrupt-cells = <2>;
195 uart0-data-pins {
196 samsung,pins = "gpa0-0", "gpa0-1";
197 samsung,pin-function = <2>;
198 samsung,pin-pud = <0>;
199 samsung,pin-drv = <0>;
204 sleep0: sleep-state {
205 gpa0-0-pin {
206 samsung,pins = "gpa0-0";
207 samsung,pin-con-pdn = <2>;
208 samsung,pin-pud-pdn = <0>;
211 gpa0-1-pin {
212 samsung,pins = "gpa0-1";
213 samsung,pin-con-pdn = <0>;
214 samsung,pin-pud-pdn = <0>;
221 - |
222 #include <dt-bindings/interrupt-controller/arm-gic.h>
225 compatible = "samsung,exynos4210-pinctrl";
229 wakeup-interrupt-controller {
230 compatible = "samsung,exynos4210-wakeup-eint";
231 interrupt-parent = <&gic>;
235 /* Pin bank with external GPIO or muxed external wake-up interrupts */
236 gpj0-gpio-bank {
237 gpio-controller;
238 #gpio-cells = <2>;
239 interrupt-controller;
240 #interrupt-cells = <2>;
243 /* Pin bank without external interrupts */
244 gpy0-gpio-bank {
245 gpio-controller;
246 #gpio-cells = <2>;
249 /* Pin bank with external direct wake-up interrupts */
250 gpx0-gpio-bank {
251 gpio-controller;
252 #gpio-cells = <2>;
254 interrupt-controller;
255 interrupt-parent = <&gic>;
264 #interrupt-cells = <2>;
269 sd0-clk-pins {
270 samsung,pins = "gpk0-0";
271 samsung,pin-function = <2>;
272 samsung,pin-pud = <0>;
273 samsung,pin-drv = <3>;
276 sd4-bus-width8-pins {
277 part-1-pins {
278 samsung,pins = "gpk0-3", "gpk0-4",
279 "gpk0-5", "gpk0-6";
280 samsung,pin-function = <3>;
281 samsung,pin-pud = <3>;
282 samsung,pin-drv = <3>;
285 part-2-pins {
286 samsung,pins = "gpk1-3", "gpk1-4",
287 "gpk1-5", "gpk1-6";
288 samsung,pin-function = <4>;
289 samsung,pin-pud = <3>;
290 samsung,pin-drv = <3>;
296 otg-gp-pins {
297 samsung,pins = "gpx3-3";
298 samsung,pin-function = <1>;
299 samsung,pin-pud = <0>;
300 samsung,pin-drv = <0>;
301 samsung,pin-val = <0>;
305 - |
306 #include <dt-bindings/interrupt-controller/arm-gic.h>
309 compatible = "samsung,exynos5433-pinctrl";
312 pinctrl-names = "default";
313 pinctrl-0 = <&initial_alive>;
315 wakeup-interrupt-controller {
316 compatible = "samsung,exynos7-wakeup-eint";
320 /* Pin bank with external direct wake-up interrupts */
321 gpa0-gpio-bank {
322 gpio-controller;
323 #gpio-cells = <2>;
325 interrupt-controller;
326 interrupt-parent = <&gic>;
335 #interrupt-cells = <2>;
340 te-irq-pins {
341 samsung,pins = "gpf1-3";
342 samsung,pin-function = <0xf>;
347 initial_alive: initial-state {
348 gpa0-0-pin {
349 samsung,pins = "gpa0-0";
350 samsung,pin-function = <0>;
351 samsung,pin-pud = <1>;
352 samsung,pin-drv = <0>;
359 - |
360 #include <dt-bindings/interrupt-controller/arm-gic.h>
363 compatible = "samsung,exynos5433-pinctrl";
366 power-domains = <&pd_aud>;
368 /* Pin bank with external GPIO or muxed external wake-up interrupts */
369 gpz0-gpio-bank {
370 gpio-controller;
371 #gpio-cells = <2>;
372 interrupt-controller;
373 #interrupt-cells = <2>;
378 i2s0-bus-pins {
379 samsung,pins = "gpz0-0", "gpz0-1", "gpz0-2", "gpz0-3",
380 "gpz0-4", "gpz0-5", "gpz0-6";
381 samsung,pin-function = <2>;
382 samsung,pin-pud = <0>;
383 samsung,pin-drv = <0>;