Lines Matching +full:pinctrl +full:- +full:n

3 # SPDX-License-Identifier: Apache-2.0
10 The node has the 'pinctrl' node label set in your SoC's devicetree,
13 &pinctrl {
18 'pinctrl' node, as shown in this example:
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/rpi-pico-rp2040-pinctrl.h>
27 &pinctrl {
40 input-enable;
54 pins, such as the 'input-enable' property in group 2. Here is a list of
57 - bias-disable: Disable pull-up/down (default, not required).
58 - bias-pull-up: Enable pull-up resistor.
59 - bias-pull-down: Enable pull-down resistor.
60 - input-enable: Enable input from the pin.
61 - input-schmitt-enable: Enable input hysteresis.
62 - drive-strength: Set the drive strength of the pin, in milliamps. Possible
64 - slew-rate: If set to 0, slew rate is set to slow. If set to 1, it is set
67 To link pin configurations with a device, use a pinctrl-N property for some
68 number N, like this example you could place in your board's DTS file:
70 #include "board-pinctrl.dtsi"
73 pinctrl-0 = <&uart0_default>;
74 pinctrl-1 = <&uart0_sleep>;
75 pinctrl-names = "default", "sleep";
78 compatible: "raspberrypi,pico-pinctrl"
82 child-binding:
84 Definitions for a pinctrl state.
85 child-binding:
88 - name: pincfg-node.yaml
89 property-allowlist:
90 - bias-disable
91 - bias-pull-down
92 - bias-pull-up
93 - input-enable
94 - input-schmitt-enable
95 - drive-strength
96 - slew-rate
106 drive-strength:
108 - 2
109 - 4
110 - 8
111 - 12
116 slew-rate:
118 - 0
119 - 1
124 raspberrypi,oe-override:
127 - 0
128 - 1
129 - 2
130 - 3
133 Override output-enable for a pin.
135 - 0 (RP2_GPIO_OVERRIDE_NORMAL) - drive output enable from selected
137 - 1 (RP2_GPIO_OVERRIDE_INVERT) - drive output enable from inverse of
139 - 2 (RP2_GPIO_OVERRIDE_LOW) - disable output.
140 - 3 (RP2_GPIO_OVERRIDE_HIGH) - enable output.