Lines Matching +full:device +full:- +full:pinmux
2 # SPDX-License-Identifier: Apache-2.0
7 use this node to route UART0 RX to pin 55 and enable the pull-up resistor
17 All device pin configurations should be placed in child nodes of the
20 /* You can put this in places like a board-pinctrl.dtsi file in
24 /* include pre-defined combinations for the SoC variant used by the board */
25 #include <dt-bindings/pinctrl/gd32f450i(g-i-k)xx-pinctrl.h>
33 pinmux = <UART0_TX_P55>, <UART0_CTS_P61>;
38 pinmux = <UART0_RX_P57>, <UART0_RTS_P62>;
39 /* both pin 57 and 62 have pull-up enabled */
40 bias-pull-up;
45 particular state of a device; in this case, the default (that is, active)
49 Each group can specify a list of pin function selections in the 'pinmux'
53 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
56 - drive-push-pull: Push-pull drive mode (default, not required).
57 - drive-open-drain: Open-drain drive mode.
58 - bias-disable: Disable pull-up/down (default, not required).
59 - bias-pull-up: Enable pull-up resistor.
60 - bias-pull-down: Enable pull-down resistor.
61 - drive-strength: Configure drive strength in mA (defaults to 6mA, IC default).
65 To link pin configurations with a device, use a pinctrl-N property for some
68 #include "board-pinctrl.dtsi"
71 pinctrl-0 = <&uart0_default>
72 pinctrl-names = "default";
75 compatible: "ti,cc32xx-pinctrl"
79 child-binding:
80 child-binding:
82 - name: pincfg-node.yaml
83 property-allowlist:
84 - drive-push-pull
85 - drive-open-drain
86 - bias-disable
87 - bias-pull-down
88 - bias-pull-up
89 - drive-strength
92 pinmux:
97 be defined using pre-defined macros or, alternatively, using the
100 drive-strength:
103 - 0
104 - 2
105 - 4
106 - 6
107 - 8
108 - 10
109 - 12
110 - 14