samples: drivers: counter: Add support alarm for ek_ra8p1

Add support sample counter/alarm for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
This commit is contained in:
Khoa Nguyen 2025-04-02 15:51:05 +07:00 committed by Dan Kalowsky
parent 3367bd46dd
commit 25701ab73e

View File

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