61 lines
895 B
Plaintext
61 lines
895 B
Plaintext
/*
|
|
* Copyright (c) 2024 TOKITA Hiroshi
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <renesas/ra/ra2/r7fa2a1ab3cfm.dtsi>
|
|
#include <zephyr/dt-bindings/gpio/gpio.h>
|
|
|
|
#include "ek_ra2a1-pinctrl.dtsi"
|
|
|
|
/ {
|
|
model = "Renesas EK-RA2A1";
|
|
compatible = "renesas,ra2a1", "renesas,ra2";
|
|
|
|
chosen {
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
led1: led1 {
|
|
gpios = <&ioport2 5 GPIO_ACTIVE_HIGH>;
|
|
label = "LED1";
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &led1;
|
|
};
|
|
};
|
|
|
|
&xtal {
|
|
clock-frequency = <DT_FREQ_M(12)>;
|
|
mosel = <0>;
|
|
#clock-cells = <0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&subclk {
|
|
status = "okay";
|
|
};
|
|
|
|
&ioport2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&sci0 {
|
|
pinctrl-0 = <&sci0_default>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
uart0: uart {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
};
|