Lines Matching +full:device +full:- +full:pinmux

2 # SPDX-License-Identifier: Apache-2.0
7 use this node to route USART0 RX to pin PA10 and enable the pull-up resistor
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>
33 pinmux = <USART0_TX_PA9>, <USART0_CTS_PA11>;
38 pinmux = <USART0_RX_PA10>, <USART0_RTS_PA12>;
39 /* both PA10 and PA12 have pull-up enabled */
40 bias-pull-up;
48 pinmux = <ANALOG_PA9>, <ANALOG_PA10>, <ANALOG_PA12>, <ANALOG_PA11>;
53 particular state of a device; in this case, the default (that is, active)
55 for the sleep state (used in device low power mode). Note that analog mode
56 is used for low power states because it disconnects the pin pull-up/down
60 Each group can specify a list of pin function selections in the 'pinmux'
64 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
67 - drive-push-pull: Push-pull drive mode (default, not required).
68 - drive-open-drain: Open-drain drive mode.
69 - bias-disable: Disable pull-up/down (default, not required).
70 - bias-pull-up: Enable pull-up resistor.
71 - bias-pull-down: Enable pull-down resistor.
72 - slew-rate: Set the maximum speed (and so the slew-rate) of the output
77 To link pin configurations with a device, use a pinctrl-N property for some
80 #include "board-pinctrl.dtsi"
83 pinctrl-0 = <&usart0_default>;
84 pinctrl-1 = <&usart0_sleep>;
85 pinctrl-names = "default", "sleep";
88 compatible: "gd,gd32-pinctrl-af"
90 include: gd,gd32-pinctrl-common.yaml
92 child-binding:
95 child-binding:
99 slew-rate:
101 default: "max-speed-2mhz"
103 - "max-speed-2mhz"
104 - "max-speed-25mhz"
105 - "max-speed-50mhz"
106 - "max-speed-200mhz"
109 slew rate of the output signal. Defaults to "max-speed-2mhz", the SoC