Lines Matching +full:device +full:- +full:pinmux
3 # Copyright (c) 2021-2022, Gerson Fernando Budke <nandojve@gmail.com>
4 # SPDX-License-Identifier: Apache-2.0
11 to route USART0 RX to pin PA10 and enable the pull-up resistor on the pin.
20 All device pin configurations should be placed in child nodes of the 'pinctrl'
23 /** You can put this in places like a <board>-pinctrl.dtsi file in
27 /** include pre-defined combinations for the SoC variant used by the board */
28 #include <dt-bindings/pinctrl/sam4sXc-pinctrl.h>
36 pinmux = <PA6A_USART0_TXD0>, <PA8A_USART0_CTS0>;
41 pinmux = <PA5A_USART0_RXD0>, <PA7A_USART0_RTS0>;
42 /* both PA5 and PA7 have pull-up enabled */
43 bias-pull-up;
49 particular state of a device; in this case, the default (that is, active)
53 Each group can specify a list of pin function selections in the 'pinmux'
57 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
60 - bias-pull-up: Enable pull-up resistor.
61 - bias-pull-down: Enable pull-down resistor.
62 - drive-open-drain: Open-drain drive mode.
64 To link pin configurations with a device, use a pinctrl-N property for some
67 #include "board-pinctrl.dtsi"
70 pinctrl-0 = <&usart0_default>;
71 pinctrl-names = "default";
74 compatible: "atmel,sam-pinctrl"
79 "#address-cells":
82 "#size-cells":
86 child-binding:
89 child-binding:
94 - name: pincfg-node.yaml
95 property-allowlist:
96 - bias-pull-up
97 - bias-pull-down
98 - drive-open-drain
101 pinmux:
106 be defined using pre-defined macros or, alternatively, using the
107 SAM_PINMUX utility macros depending on the pinmux model used by the