Lines Matching +full:alternate +full:- +full:port +full:- +full:control
2 # SPDX-License-Identifier: Apache-2.0
6 to specific port/pins (also known as alternate functions) and configures pin properties.
12 compatible = "infineon,xmc4xxx-uart";
13 pinctrl-0 = <&uart_tx_p0_1_u1c1 &uart_rx_p0_0_u1c1>;
14 pinctrl-names = "default";
15 input-src = "DX0D";
19 pinctrl-0 is the phandle that stores the pin settings for two pins: &uart_tx_p0_1_u1c1
20 and &uart_rx_p0_0_u1c1. These nodes are pre-defined and their naming convention is designed
22 pin direction, port/pin number and USIC in the name.
24 The pre-defined nodes only set the alternate function of the output pin. The
27 to the inherited property-allowlist list from pincfg-node.yaml).
31 #include <zephyr/dt-bindings/pinctrl/xmc4xxx-pinctrl.h>
35 drive-push-pull;
38 where XMC4XXX_PINMUX_SET(PORT, PIN, ALTERNATE_FUNCTION) is a helper macro for setting the
39 alternate function for a given port/pin. Setting ALTERNATE_FUNCTION = 0 means that no
40 alternate function is selected.
42 The pinctrl driver only sets the alternate function for output pins. The input mux is
43 handled by the peripheral drivers. For example the &usic1ch1 node has input-src property for
44 this purpose. There are no pre-defined nodes for the input mux and this must be properly set
45 by the user. Refer to the peripheral .yaml file (i.e. infineon,xmc4xxx-uart.yaml) and
48 compatible: "infineon,xmc4xxx-pinctrl"
53 "#address-cells":
56 "#size-cells":
60 child-binding:
64 - name: pincfg-node.yaml
65 property-allowlist:
66 - bias-pull-down
67 - bias-pull-up
68 - drive-push-pull
69 - drive-open-drain
70 - output-high
71 - output-low
76 Encodes port/pin and alternate function. See helper macro XMC4XX_PINMUX_SET().
77 Alternate function is only set for output pins; It selects ALT1-ALT4
78 output line in the GPIO element. The alternate function for input pins is
80 input pin to use (For example see parameter input-src in infineon,xmc4xxx-uart.yaml).
84 drive-strength:
87 See xmc4_gpio.h. This only has an effect if the pin is in drive-push-pull mode.
91 - "strong-sharp-edge"
92 - "strong-medium-edge"
93 - "strong-soft-edge"
94 - "strong-slow-edge"
95 - "medium"
96 - "medium-unknown1-edge"
97 - "medium-unknown2-edge"
98 - "weak"
100 invert-input:
105 description: Pre-assigns hardware control of the pin to a certain peripheral.
109 - "disabled"
110 - "periph1"
111 - "periph2"