76 lines
1.1 KiB
Plaintext
76 lines
1.1 KiB
Plaintext
|
/*
|
||
|
* Copyright (c) 2024 Renesas Electronics Corporation
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
/dts-v1/;
|
||
|
|
||
|
#include <renesas/ra/ra6/r7fa6m5bh3cfc.dtsi>
|
||
|
#include <dt-bindings/gpio/gpio.h>
|
||
|
|
||
|
#include "ek_ra6m5-pinctrl.dtsi"
|
||
|
|
||
|
/ {
|
||
|
model = "Renesas EK-RA6M5";
|
||
|
compatible = "renesas,ra6m5", "renesas,ra";
|
||
|
|
||
|
chosen {
|
||
|
zephyr,sram = &sram0;
|
||
|
zephyr,flash = &flash0;
|
||
|
zephyr,console = &uart0;
|
||
|
zephyr,shell-uart = &uart0;
|
||
|
};
|
||
|
|
||
|
leds {
|
||
|
compatible = "gpio-leds";
|
||
|
led1: led1 {
|
||
|
gpios = <&ioport0 6 GPIO_ACTIVE_HIGH>;
|
||
|
label = "LED1";
|
||
|
};
|
||
|
led2: led2 {
|
||
|
gpios = <&ioport0 7 GPIO_ACTIVE_HIGH>;
|
||
|
label = "LED2";
|
||
|
};
|
||
|
led3: led3 {
|
||
|
gpios = <&ioport0 8 GPIO_ACTIVE_HIGH>;
|
||
|
label = "LED3";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
aliases {
|
||
|
led0 = &led1;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&sci0 {
|
||
|
pinctrl-0 = <&sci0_default>;
|
||
|
pinctrl-names = "default";
|
||
|
status = "okay";
|
||
|
uart0: uart {
|
||
|
current-speed = <115200>;
|
||
|
status = "okay";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&ioport0 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&xtal {
|
||
|
clock-frequency = <DT_FREQ_M(24)>;
|
||
|
mosel = <0>;
|
||
|
#clock-cells = <0>;
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&subclk {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&pll {
|
||
|
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
||
|
div = <RA_PLL_DIV_3>;
|
||
|
mul = <25 0>;
|
||
|
status = "okay";
|
||
|
};
|