2023-08-04 23:46:37 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2023 Antmicro <www.antmicro.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2023-10-04 21:38:30 +08:00
|
|
|
#include <dt-bindings/pinctrl/renesas-rzt2m-pinctrl.h>
|
2023-08-04 23:46:37 +08:00
|
|
|
#include <arm/renesas/rzt2m.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "RZT/2M Starter Kit";
|
|
|
|
compatible = "renesas,rzt2m_starter_kit";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &cpu0_atcm;
|
2023-08-10 20:49:35 +08:00
|
|
|
zephyr,console = &uart0;
|
|
|
|
zephyr,shell-uart = &uart0;
|
2023-08-04 23:46:37 +08:00
|
|
|
};
|
2023-10-03 18:42:32 +08:00
|
|
|
|
|
|
|
aliases {
|
|
|
|
led0 = &led0;
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
led0: led0 {
|
|
|
|
gpios = <&gpio19 6 0>;
|
|
|
|
label = "led0";
|
|
|
|
};
|
|
|
|
led1: led1 {
|
|
|
|
gpios = <&gpio19 4 0>;
|
|
|
|
label = "led1";
|
|
|
|
};
|
|
|
|
led2: led2 {
|
|
|
|
gpios = <&gpio20 0 0>;
|
|
|
|
label = "led2";
|
|
|
|
};
|
|
|
|
led3: led3 {
|
|
|
|
gpios = <&gpio23 4 0>;
|
|
|
|
label = "led3";
|
|
|
|
};
|
|
|
|
};
|
2023-08-04 23:46:37 +08:00
|
|
|
};
|
2023-08-10 20:49:35 +08:00
|
|
|
|
2023-10-04 21:38:30 +08:00
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
uart0_default: uart0_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <UART0TX_P16_5>;
|
|
|
|
};
|
|
|
|
group2 {
|
|
|
|
pinmux = <UART0RX_P16_6>;
|
|
|
|
input-enable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
uart3_default: uart3_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <UART3TX_P18_0>;
|
|
|
|
};
|
|
|
|
group2 {
|
|
|
|
pinmux = <UART3RX_P17_7>;
|
|
|
|
input-enable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-08-10 20:49:35 +08:00
|
|
|
&uart0 {
|
|
|
|
status = "okay";
|
2023-10-04 21:38:30 +08:00
|
|
|
pinctrl-0 = <&uart0_default>;
|
|
|
|
pinctrl-names = "default";
|
2023-08-10 20:49:35 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart3 {
|
|
|
|
status = "okay";
|
2023-10-04 21:38:30 +08:00
|
|
|
pinctrl-0 = <&uart3_default>;
|
|
|
|
pinctrl-names = "default";
|
2023-08-10 20:49:35 +08:00
|
|
|
};
|