- Add SPI support for ek_ra6m1, ek_ra6m2, ek_ra6m3, ek_ra6m4, ek_ra6m5, ek_ra6e2, fpb_ra6e1, fpb_ra6e2, ek_ra4e2, ek_ra4m2, ek_ra4m3, ek_ra4w1, ek_ra2a1 - Add SPI support doc for these board Signed-off-by: Tri Nguyen <tri.nguyen.wj@bp.renesas.com> Signed-off-by: Thao Luong <thao.luong.uw@renesas.com> Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
71 lines
1 KiB
Text
71 lines
1 KiB
Text
/*
|
|
* 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";
|
|
};
|
|
};
|
|
|
|
&spi1 {
|
|
pinctrl-0 = <&spi1_default>;
|
|
pinctrl-names = "default";
|
|
cs-gpios = <&ioport1 2 GPIO_ACTIVE_LOW>;
|
|
status = "okay";
|
|
};
|
|
|
|
&ioport1 {
|
|
status = "okay";
|
|
};
|