79 lines
1.1 KiB
Plaintext
79 lines
1.1 KiB
Plaintext
/*
|
|
* Copyright (c) 2024 Renesas Electronics Corporation
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <renesas/ra/ra4/r7fa4e2b93cfm.dtsi>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include "ek_ra4e2-pinctrl.dtsi"
|
|
|
|
/ {
|
|
model = "Renesas EK-RA4E2";
|
|
compatible = "renesas,ra4e2", "renesas,ra";
|
|
|
|
chosen {
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
led1: led1 {
|
|
gpios = <&ioport2 7 GPIO_ACTIVE_HIGH>;
|
|
label = "LED1";
|
|
};
|
|
led2: led2 {
|
|
gpios = <&ioport1 4 GPIO_ACTIVE_HIGH>;
|
|
label = "LED2";
|
|
};
|
|
led3: led3 {
|
|
gpios = <&ioport1 12 GPIO_ACTIVE_HIGH>;
|
|
label = "LED3";
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &led1;
|
|
};
|
|
};
|
|
|
|
&xtal {
|
|
clock-frequency = <DT_FREQ_M(20)>;
|
|
mosel = <0>;
|
|
#clock-cells = <0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&subclk {
|
|
status = "okay";
|
|
};
|
|
|
|
&pll {
|
|
clocks = <&xtal>;
|
|
div = <1>;
|
|
mul = <10 0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&sci0 {
|
|
pinctrl-0 = <&sci0_default>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
uart0: uart {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&ioport1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&ioport2 {
|
|
status = "okay";
|
|
};
|