Files
zephyr/boards/renesas/ek_ra2l1/ek_ra2l1.dts
Sylvio Alves d14a547d42 dts/dtsi: add missing zephyr prefix for consistency
Many dts/dtsi files where its dt-bindings are in-tree
do not include zephyr prefix in the #include path.
Add it to make it consistent globally.

Some dt-bindings that resides in hal can not be changed.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-03 15:38:17 -05:00

135 lines
2.1 KiB
Plaintext

/**
* Copyright (c) 2021-2024 MUNIC SA
* Copyright (c) 2024-2025 Renesas Electronics Corporation
*
* DTS for Renesas EK-RA2L1 eval. board
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <renesas/ra/ra2/ra2l1.dtsi>
#include <renesas/ra/ra2/r7fa2l1xb.dtsi>
#include <renesas/ra/ra2/r7fa2l1xxxxfp.dtsi>
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/adc/adc.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include "ek_ra2l1-pinctrl.dtsi"
/ {
model = "Renesas EK-RA2L1";
compatible = "renesas,r7fa2l1abxxfp", "renesas,ra2l1";
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,entropy = &trng;
zephyr,crc = &crc;
};
leds {
compatible = "gpio-leds";
led1: led1 {
gpios = <&ioport5 3 GPIO_ACTIVE_HIGH>;
label = "LED1";
};
};
buttons {
compatible = "gpio-keys";
button0: s1 {
gpios = <&ioport0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
label = "Push button switch 1";
zephyr,code = <INPUT_KEY_0>;
};
button1: s2 {
gpios = <&ioport0 15 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
label = "Push button switch 2";
zephyr,code = <INPUT_KEY_1>;
};
};
aliases {
led0 = &led1;
sw0 = &button0;
sw1 = &button1;
watchdog0 = &wdt;
};
};
&ioport5 {
status = "okay";
};
&ioport0 {
status = "okay";
};
&sci0 {
pinctrl-0 = <&sci0_default>;
pinctrl-names = "default";
status = "okay";
uart0: uart {
current-speed = <115200>;
status = "okay";
};
};
&wdt {
status = "okay";
};
&trng {
status = "okay";
};
&adc0 {
pinctrl-0 = <&adc0_default>;
pinctrl-names = "default";
interrupts = <8 1>;
interrupt-names = "scanend";
status = "okay";
};
&dac0 {
pinctrl-0 = <&dac0_default>;
pinctrl-names = "default";
status = "okay";
};
&port_irq3 {
interrupts = <11 1>;
status = "okay";
};
&port_irq7 {
interrupts = <15 1>;
status = "okay";
};
&crc {
status = "okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0x0 DT_SIZE_K(8)>;
};
};
};