Lines Matching +full:board +full:- +full:pinctrl
2 # SPDX-License-Identifier: Apache-2.0
7 To configure a PWM node, you first need to define a board overlay with a
8 pinctrl configuration for the pin on which the PWM signal should be present:
10 &pinctrl {
13 bias-disable;
14 drive-strength = <8>; /* in mA, can be 2, 4 or 8 */
20 - GPT0: IOC_PORT_MCU_PORT_EVENT1
21 - GPT1: IOC_PORT_MCU_PORT_EVENT3
22 - GPT2: IOC_PORT_MCU_PORT_EVENT5
23 - GPT3: IOC_PORT_MCU_PORT_EVENT7
25 Be careful not to choose a pin that is already in use on your board, this
26 might irreversible damage to your board as the given pin will be configured as
30 pinctrl entry:
38 pinctrl-0 = <&gpt0_pwm>;
39 pinctrl-names = "default";
53 LOG_ERR("Error: PWM device %s is not ready\n", pwm->name);
54 return -ENODEV;
63 compatible: "ti,cc13xx-cc26xx-timer-pwm"
65 include: [base.yaml, pwm-controller.yaml, pinctrl-device.yaml]
68 pinctrl-0:
71 pwm-cells:
72 - channel
73 - period
74 - flags