1/*
2 * Copyright (c) 2025 Renesas Electronics Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8
9#include <renesas/r5f52618bgfp.dtsi>
10#include <dt-bindings/gpio/gpio.h>
11#include "fpb_rx261-pinctrl.dtsi"
12
13/ {
14	model = "Renesas FPB-RX261";
15	compatible = "renesas,fpb_rx261";
16
17	chosen {
18		zephyr,sram = &sram0;
19		zephyr,flash = &code_flash;
20		zephyr,console = &uart5;
21		zephyr,shell-uart = &uart5;
22	};
23
24	leds {
25		compatible = "gpio-leds";
26
27		led1: led1 {
28			gpios = <&ioportj 1 GPIO_ACTIVE_LOW>;
29			label = "LED1";
30		};
31
32		led2: led2 {
33			gpios = <&ioportc 5 GPIO_ACTIVE_LOW>;
34			label = "LED2";
35		};
36	};
37
38	aliases {
39		led0 = &led1;
40		led1 = &led2;
41	};
42};
43
44&subclk {
45	status = "okay";
46};
47
48&cmt {
49	clock-frequency = <DT_FREQ_M(4)>;
50	status = "okay";
51};
52
53&pclkblock {
54	clocks = <&hoco>;
55};
56
57&clkout {
58	clocks = <&hoco>;
59};
60
61&uclk {
62	clocks = <&hoco>;
63};
64
65&ioport3 {
66	status = "okay";
67};
68
69&ioportc {
70	status = "okay";
71};
72
73&ioportj {
74	status = "okay";
75};
76
77&sci5 {
78	pinctrl-0 = <&sci5_default>;
79	pinctrl-names = "default";
80	status = "okay";
81
82	uart5: uart {
83		current-speed = <115200>;
84		status = "okay";
85	};
86};
87