Lines Matching +full:board +full:- +full:pinctrl
2 # 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
21 * your board directory, or a devicetree overlay in your application.
24 /* include pre-defined pins and functions for the SoC used by the board */
25 #include <dt-bindings/pinctrl/it8xxx2-pinctrl.h>
27 &pinctrl {
31 gpio-voltage = "1p8";
35 gpio-voltage = "1v8";
40 bias-pull-up;
51 To link pin configurations with a device, use a pinctrl-N property for some
52 number N, like this example you could place in your board's DTS file:
54 #include "board-pinctrl.dtsi"
57 pinctrl-0 = <&uart1_rx_pb0_default &uart1_tx_pb1_default>;
58 pinctrl-1 = <&uart1_rx_pb0_sleep &uart1_tx_pb1_sleep>;
59 pinctrl-names = "default", "sleep";
62 compatible: "ite,it8xxx2-pinctrl"
66 child-binding:
71 - name: pincfg-node.yaml
72 property-allowlist:
73 - bias-high-impedance
74 - bias-pull-pin-default
75 - bias-pull-up
76 - bias-pull-down
77 - input-enable
78 - drive-push-pull
79 - drive-open-drain
84 type: phandle-array
86 ITE IT8XXX2 pin's configuration (pinctrl node, pin and function).
88 gpio-voltage:
92 This property only needs to be configured if the board specifies a
97 - "3v3"
98 - "1v8"