Lines Matching +full:part +full:- +full:2 +full:- +full:pins

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/renesas,rza1-ports.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacopo Mondi <jacopo+renesas@jmondi.org>
11 - Geert Uytterhoeven <geert+renesas@glider.be>
16 Pin multiplexing and GPIO configuration is performed on a per-pin basis
17 writing configuration values to per-port register sets.
18 Each "port" features up to 16 pins, each of them configurable for GPIO
25 - const: renesas,r7s72100-ports # RZ/A1H
26 - items:
27 - const: renesas,r7s72101-ports # RZ/A1M
28 - const: renesas,r7s72100-ports # fallback
29 - const: renesas,r7s72102-ports # RZ/A1L
35 - $ref: "pinctrl.yaml#"
38 - compatible
39 - reg
42 "^gpio-[0-9]*$":
49 Different SoCs have different numbers of available pins per port, but
52 Describe GPIO controllers using sub-nodes with the following properties.
55 gpio-controller: true
57 '#gpio-cells':
58 const: 2
60 gpio-ranges:
64 - gpio-controller
65 - '#gpio-cells'
66 - gpio-ranges
71 - type: object
73 - $ref: pincfg-node.yaml#
74 - $ref: pinmux-node.yaml#
77 A pin multiplexing sub-node describes how to configure a set of (or a
79 A single sub-node may define several pin configurations.
88 to work in bi-directional mode and when the IO direction has to be
89 specified by software. Bi-directional pins must be managed by the pin
101 When multiple pins are required to be configured as part of the
107 <include/dt-bindings/pinctrl/r7s72100-pinctrl.h>
112 input-enable: true
113 output-enable: true
116 - pinmux
120 - type: object
128 - |
129 #include <dt-bindings/pinctrl/r7s72100-pinctrl.h>
131 compatible = "renesas,r7s72100-ports";
136 * A GPIO controller node, controlling 16 pins indexed from 0.
138 * 48, thus pins [0 - 15] on this controller map to pins [48 - 63]
141 port3: gpio-3 {
142 gpio-controller;
143 #gpio-cells = <2>;
144 gpio-ranges = <&pinctrl 0 48 16>;
151 * Pin #2 on port #3 is configured as alternate function #4.
154 pinmux = <RZA1_PINMUX(3, 0, 6)>, <RZA1_PINMUX(3, 2, 4)>;
159 * I2c master: both SDA and SCL pins need bi-directional operations
162 * Both need to work in bi-directional mode, the driver must manage
171 * Multi-function timer input and output compare pins.
176 * Pin #0 on port #4 is configured as alternate function #2
180 pinmux = <RZA1_PINMUX(4, 0, 2)>;
181 input-enable;
191 output-enable;