Lines Matching +full:bias +full:- +full:pull +full:- +full:pin +full:- +full:default
2 # SPDX-License-Identifier: Apache-2.0
5 The SmartBond pin controller is a singleton node responsible for controlling
6 pin function selection and pin properties, such as routing a UART RX to pin
7 P1.8 and enabling the pullup resistor on that pin.
16 All device pin configurations should be placed in child nodes of the
19 /* You can put this in places like a board-pinctrl.dtsi file in
24 #include <dt-bindings/pinctrl/smartbond-pinctrl.h>
27 /* configuration for uart device, default state */
36 /* route UART RX to P0.8 and enable pull-up */
38 bias-pull-up;
43 The 'uart0_default' child node encodes the pin configurations for a
44 particular state of a device; in this case, the default (that is, active)
47 As shown, pin configurations are organized in groups within each child node.
48 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 - bias-pull-up: Enable pull-up resistor.
57 - bias-pull-down: Enable pull-down resistor.
59 Note that bias options are mutually exclusive.
61 To link this pin configuration with a device, use a pinctrl-N property
65 #include "board-pinctrl.dtsi"
68 pinctrl-0 = <&uart_default>;
69 pinctrl-names = "default";
72 compatible: "renesas,smartbond-pinctrl"
76 child-binding:
79 child-binding:
82 - name: pincfg-node.yaml
83 property-allowlist:
84 - bias-pull-down
85 - bias-pull-up
86 - output-enable
87 - input-enable
96 pin and function.