Lines Matching +full:12 +full:- +full:pin
3 # SPDX-License-Identifier: Apache-2.0
6 The RPi Pico pin controller is a node responsible for controlling
7 pin function selection and pin properties, such as routing a UART0 Rx
8 to pin 1 and enabling the pullup resistor on that 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/rpi-pico-rp2040-pinctrl.h>
39 /* enable input on pin 1 */
40 input-enable;
45 The 'uart0_default' child node encodes the pin configurations for a
49 As shown, pin configurations are organized in groups within each child node.
50 Each group can specify a list of pin function selections in the 'pinmux'
53 A group can also specify shared pin properties common to all the specified
54 pins, such as the 'input-enable' property in group 2. Here is a list of
55 supported standard pin properties:
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 hysteresys.
62 - drive-strength: Set the drive strength of the pin, in milliamps. Possible
63 values are: 2, 4, 8, 12 (default: 4mA)
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
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:
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
105 pin number and the alternative function of the pin.
106 drive-strength:
108 - 2
109 - 4
110 - 8
111 - 12
114 The drive strength of a pin, in mA. The default value is 4mA, as this
116 slew-rate:
118 - 0
119 - 1
122 The slew rate of a pin. 0 corresponds to slow, and 1 corresponds to fast.