zephyr/tests/drivers/pwm/pwm_api/boards/native_sim.overlay
Nathan Olff 85e8303861 tests: drivers: test fake-pwm on native_sim for pwm_api test
create native_sim overlay to use fake pwm for test of pwm_api

Signed-off-by: Nathan Olff <nathan@kickmaker.net>
2024-12-14 16:14:57 +01:00

18 lines
238 B
Text

/*
* Copyright (c) 2024 Kickmaker
*
* SPDX-License-Identifier: Apache-2.0
*/
/{
pwm0: pwm0 {
compatible = "zephyr,fake-pwm";
status = "okay";
#pwm-cells = <2>;
frequency = <10000000>;
};
aliases {
pwm-0 = &pwm0;
};
};