boards: arm: mimxrt1060_evk: added additional PWM outputs
Added PWM outputs to arduino header, to make testing PWM support with this EVK simpler. These PWM outputs are enabled by the pwm_api test, although they are not used. The user can enable the PWM shell in order to test these PWM outputs. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
43be17a5fe
commit
fdd7e78d3c
@ -98,7 +98,7 @@
|
||||
};
|
||||
|
||||
/* flexpwm output for board LED */
|
||||
pinmux_flexpwm2: pinmux_flexpwm2 {
|
||||
pinmux_flexpwm2_3: pinmux_flexpwm2_3 {
|
||||
group0 {
|
||||
pinmux = <&iomuxc_gpio_ad_b0_09_flexpwm2_pwma3>;
|
||||
drive-strength = "r0-4";
|
||||
@ -109,6 +109,29 @@
|
||||
};
|
||||
};
|
||||
|
||||
/* Conflicts with SD and SPI pins. Requires R281/R356 be populated */
|
||||
pinmux_flexpwm1_0: pinmux_flexpwm1_0 {
|
||||
group0 {
|
||||
pinmux = <&iomuxc_gpio_sd_b0_01_flexpwm1_pwmb0>;
|
||||
drive-strength = "r0-4";
|
||||
bias-pull-up;
|
||||
bias-pull-up-value = "47k";
|
||||
slew-rate = "slow";
|
||||
nxp,speed = "100-mhz";
|
||||
};
|
||||
};
|
||||
|
||||
pinmux_flexpwm1: pinmux_flexpwm1 {
|
||||
group0 {
|
||||
pinmux = <&iomuxc_gpio_ad_b0_10_flexpwm1_pwma3>;
|
||||
drive-strength = "r0-4";
|
||||
bias-pull-up;
|
||||
bias-pull-up-value = "47k";
|
||||
slew-rate = "slow";
|
||||
nxp,speed = "100-mhz";
|
||||
};
|
||||
};
|
||||
|
||||
pinmux_flexspi1: pinmux_flexspi1 {
|
||||
group0 {
|
||||
pinmux = <&iomuxc_gpio_sd_b1_05_flexspi_a_dqs>;
|
||||
|
||||
@ -238,7 +238,17 @@ zephyr_udc0: &usb1 {
|
||||
|
||||
&flexpwm2_pwm3 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm2>;
|
||||
pinctrl-0 = <&pinmux_flexpwm2_3>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&flexpwm1_pwm0 {
|
||||
pinctrl-0 = <&pinmux_flexpwm1_0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&flexpwm1_pwm3 {
|
||||
pinctrl-0 = <&pinmux_flexpwm1>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
|
||||
18
tests/drivers/pwm/pwm_api/boards/mimxrt1060_evk.overlay
Normal file
18
tests/drivers/pwm/pwm_api/boards/mimxrt1060_evk.overlay
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright 2023 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/*
|
||||
* Enable PWM outputs on J24 pin 3 and J22 pin 6. These outputs are not used
|
||||
* by the test, but can be tested using the PWM shell.
|
||||
*/
|
||||
|
||||
&flexpwm1_pwm3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&flexpwm1_pwm0 {
|
||||
status = "okay";
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user