Lines Matching +full:device +full:- +full:pinmux
2 # SPDX-License-Identifier: Apache-2.0
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 */
32 pinmux = <SMARTBOND_PINMUX(UART_TX, 0, 9)>;
36 /* route UART RX to P0.8 and enable pull-up */
37 pinmux = <SMARTBOND_PINMUX(UART_RX, 0, 8)>;
38 bias-pull-up;
44 particular state of a device; in this case, the default (that is, active)
48 Each group can specify a list of pin function selections in the 'pinmux'
49 property. Note that 'pinmux' property is an array so you can configure multiple
50 pins at once there. The SMARTBOND_PINMUX macro is used to create pinmux value.
53 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
56 - bias-pull-up: Enable pull-up resistor.
57 - bias-pull-down: Enable pull-down resistor.
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
90 pinmux: