Lines Matching +full:6 +full:- +full:pin
2 # SPDX-License-Identifier: Apache-2.0
5 The TI CC32XX pin controller is a singleton node responsible for controlling
6 pin function selection and pin properties. For example, you can
7 use this node to route UART0 RX to pin 55 and enable the pull-up resistor
8 on the pin.
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>
32 /* configure pin 55 as UART0 TX and pin 61 as UART0 CTS */
37 /* configure pin 57 as UART0 RX and pin 62 as UART0 RTS */
39 /* both pin 57 and 62 have pull-up enabled */
40 bias-pull-up;
44 The 'uart0_default' child node encodes the pin configurations for a
48 As shown, pin configurations are organized in groups within each child node.
49 Each group can specify a list of pin function selections in the 'pinmux'
52 A group can also specify shared pin properties common to all the specified
53 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
54 supported standard pin properties:
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
97 be defined using pre-defined macros or, alternatively, using the
100 drive-strength:
101 default: 6
103 - 0
104 - 2
105 - 4
106 - 6
107 - 8
108 - 10
109 - 12
110 - 14