Lines Matching +full:a +full:- +full:gpio
1 * Renesas Pin Function Controller (GPIO and Pin Mux/Config)
3 The Pin Function Controller (PFC) is a Pin Mux/Config controller. On SH73A0,
4 R8A73A4 and R8A7740 it also acts as a GPIO controller.
8 -----------
12 - compatible: should be one of the following.
13 - "renesas,pfc-emev2": for EMEV2 (EMMA Mobile EV2) compatible pin-controller.
14 - "renesas,pfc-r8a73a4": for R8A73A4 (R-Mobile APE6) compatible pin-controller.
15 - "renesas,pfc-r8a7740": for R8A7740 (R-Mobile A1) compatible pin-controller.
16 - "renesas,pfc-r8a7742": for R8A7742 (RZ/G1H) compatible pin-controller.
17 - "renesas,pfc-r8a7743": for R8A7743 (RZ/G1M) compatible pin-controller.
18 - "renesas,pfc-r8a7744": for R8A7744 (RZ/G1N) compatible pin-controller.
19 - "renesas,pfc-r8a7745": for R8A7745 (RZ/G1E) compatible pin-controller.
20 - "renesas,pfc-r8a77470": for R8A77470 (RZ/G1C) compatible pin-controller.
21 - "renesas,pfc-r8a774a1": for R8A774A1 (RZ/G2M) compatible pin-controller.
22 - "renesas,pfc-r8a774b1": for R8A774B1 (RZ/G2N) compatible pin-controller.
23 - "renesas,pfc-r8a774c0": for R8A774C0 (RZ/G2E) compatible pin-controller.
24 - "renesas,pfc-r8a774e1": for R8A774E1 (RZ/G2H) compatible pin-controller.
25 - "renesas,pfc-r8a7778": for R8A7778 (R-Car M1) compatible pin-controller.
26 - "renesas,pfc-r8a7779": for R8A7779 (R-Car H1) compatible pin-controller.
27 - "renesas,pfc-r8a7790": for R8A7790 (R-Car H2) compatible pin-controller.
28 - "renesas,pfc-r8a7791": for R8A7791 (R-Car M2-W) compatible pin-controller.
29 - "renesas,pfc-r8a7792": for R8A7792 (R-Car V2H) compatible pin-controller.
30 - "renesas,pfc-r8a7793": for R8A7793 (R-Car M2-N) compatible pin-controller.
31 - "renesas,pfc-r8a7794": for R8A7794 (R-Car E2) compatible pin-controller.
32 - "renesas,pfc-r8a7795": for R8A7795 (R-Car H3) compatible pin-controller.
33 - "renesas,pfc-r8a7796": for R8A77960 (R-Car M3-W) compatible pin-controller.
34 - "renesas,pfc-r8a77961": for R8A77961 (R-Car M3-W+) compatible pin-controller.
35 - "renesas,pfc-r8a77965": for R8A77965 (R-Car M3-N) compatible pin-controller.
36 - "renesas,pfc-r8a77970": for R8A77970 (R-Car V3M) compatible pin-controller.
37 - "renesas,pfc-r8a77980": for R8A77980 (R-Car V3H) compatible pin-controller.
38 - "renesas,pfc-r8a77990": for R8A77990 (R-Car E3) compatible pin-controller.
39 - "renesas,pfc-r8a77995": for R8A77995 (R-Car D3) compatible pin-controller.
40 - "renesas,pfc-sh73a0": for SH73A0 (SH-Mobile AG5) compatible pin-controller.
42 - reg: Base address and length of each memory resource used by the pin
47 - #gpio-range-cells: Mandatory when the PFC doesn't handle GPIO, forbidden
50 - interrupts-extended: Specify the interrupts associated with external
55 The PFC node also acts as a container for pin configuration nodes. Please refer
56 to pinctrl-bindings.txt in this directory for the definition of the term "pin
59 Each pin configuration node represents a desired configuration for a pin, a
60 pin group, or a list of pins or pin groups. The configuration can include the
62 pull-up and pull-down).
66 be grouped in that way and referenced as a single pin configuration node by
69 A configuration node or subnode must reference at least one pin (through the
70 pins or pin groups properties) and contain at least a function or one
79 - pins : An array of strings, each string containing the name of a pin.
80 - groups : An array of strings, each string containing the name of a pin
83 - function: A string containing the name of the function to mux to the pin
88 (drivers/pinctrl/sh-pfc/pfc-*.c)
91 pinctrl-bindings.txt in this directory. The supported parameters are
92 bias-disable, bias-pull-up, bias-pull-down, drive-strength and power-source. For
93 pins that have a configurable I/O voltage, the power-source value should be the
97 GPIO
98 ----
100 On SH73A0, R8A73A4 and R8A7740 the PFC node is also a GPIO controller node.
104 - gpio-controller: Marks the device node as a gpio controller.
106 - #gpio-cells: Should be 2. The first cell is the GPIO number and the second
107 cell specifies GPIO flags, as defined in <dt-bindings/gpio/gpio.h>. Only the
110 The syntax of the gpio specifier used by client nodes should be the following
113 <[phandle of the gpio controller node]
114 [pin number within the gpio controller]
117 On other mach-shmobile platforms GPIO is handled by the gpio-rcar driver.
118 Please refer to Documentation/devicetree/bindings/gpio/renesas,rcar-gpio.yaml
119 for documentation of the GPIO device tree bindings on those platforms.
123 --------
125 Example 1: SH73A0 (SH-Mobile AG5) pin controller node
127 pfc: pin-controller@e6050000 {
128 compatible = "renesas,pfc-sh73a0";
131 gpio-controller;
132 #gpio-cells = <2>;
133 interrupts-extended =
144 Example 2: A GPIO LED node that references a GPIO
146 #include <dt-bindings/gpio/gpio.h>
149 compatible = "gpio-leds";
155 Example 3: KZM-A9-GT (SH-Mobile AG5) default pin state hog and pin control maps
159 pinctrl-0 = <&scifa4_pins>;
160 pinctrl-names = "default";
170 bias-pull-up;
180 Example 4: KZM-A9-GT (SH-Mobile AG5) default pin state for the MMCIF device
183 pinctrl-0 = <&mmcif_pins>;
184 pinctrl-names = "default";
186 bus-width = <8>;
187 vmmc-supply = <®_1p8v>;