tests: pwm: Add support for SCTimer PWM on FRDM-MCXN947

Add overlay files to enable test of PWM over SCTimer.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2024-10-24 17:46:51 -05:00 committed by Anas Nashif
commit 21d0a3b699
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,12 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Disable flexpwm node as it is mapped to pwm-0 alias which is picked up first by the test.
* PWM signal is visible on J9-16.
*/
&flexpwm1_pwm0 {
status = "disabled";
};

View file

@ -25,3 +25,8 @@ tests:
extra_args: DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
drivers.pwm.frdm_mcxn947_mcxn947_cpu0_sctimer:
extra_args: DTC_OVERLAY_FILE="boards/frdm_mcxn947_mcxn947_cpu0_sctimer.overlay"
platform_allow:
- frdm_mcxn947/mcxn947/cpu0
- frdm_mcxn947/mcxn947/cpu0/qspi