samples: drivers: counter: Add support alarm for ek_ra4m1

Add support counter/alarm to run sample app on ek_ra4m1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
This commit is contained in:
Khoa Nguyen 2025-02-07 15:23:00 +07:00 committed by Benjamin Cabé
commit f8d05ea9e9

View file

@ -0,0 +1,15 @@
/*
* Copyright (c) 2025 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
&agt0 {
status = "okay";
interrupts = <30 1>, <31 1>;
interrupt-names = "agti", "agtcmai";
renesas,prescaler = <4>;
counter0: counter {
status = "okay";
};
};