1/* 2 * Copyright (c) 2023 Antmicro <www.antmicro.com> 3 * Copyright (c) 2025 Renesas Electronics Corporation 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8/dts-v1/; 9#include <zephyr/dt-bindings/input/input-event-codes.h> 10#include <arm/renesas/rz/rzt/r9a07g075.dtsi> 11#include "rzt2m_rsk-pinctrl.dtsi" 12 13/ { 14 model = "Renesas Starter Kit+ for RZ/T2M"; 15 compatible = "renesas,rzt2m-rsk"; 16 17 chosen { 18 zephyr,sram = &cpu0_atcm; 19 zephyr,flash = &xspi0_cs0; 20 zephyr,code-partition = &slot0_partition; 21 zephyr,console = &uart0; 22 zephyr,shell-uart = &uart0; 23 }; 24 25 aliases { 26 led0 = &led0; 27 sw0 = &sw1; 28 }; 29 30 leds { 31 compatible = "gpio-leds"; 32 33 led0: led0 { 34 gpios = <&gpio19 6 0>; 35 label = "led0"; 36 }; 37 38 led1: led1 { 39 gpios = <&gpio19 4 0>; 40 label = "led1"; 41 }; 42 43 led2: led2 { 44 gpios = <&gpio20 0 0>; 45 label = "led2"; 46 }; 47 48 led3: led3 { 49 gpios = <&gpio23 4 0>; 50 label = "led3"; 51 }; 52 }; 53 54 gpio_keys { 55 compatible = "gpio-keys"; 56 57 sw1: sw1 { 58 label = "sw1"; 59 gpios = <&gpio10 5 0>; 60 zephyr,code = <INPUT_KEY_0>; 61 }; 62 63 sw2: sw2 { 64 label = "sw2"; 65 gpios = <&gpio16 3 0>; 66 zephyr,code = <INPUT_KEY_1>; 67 }; 68 }; 69}; 70 71&sci0 { 72 pinctrl-0 = <&sci0_default>; 73 pinctrl-names = "default"; 74 status = "okay"; 75 76 uart0: uart { 77 current-speed = <115200>; 78 status = "okay"; 79 }; 80}; 81 82&irq2 { 83 trigger-type = "falling"; 84 pinctrl-0 = <&irq2_default>; 85 pinctrl-names = "default"; 86 status = "okay"; 87}; 88 89&gpio10 { 90 irqs = <5 2>; 91 status = "okay"; 92}; 93 94&gpio16 { 95 status = "okay"; 96}; 97 98&gpio19 { 99 status = "okay"; 100}; 101 102&gpio20 { 103 status = "okay"; 104}; 105 106&gpio23 { 107 status = "okay"; 108}; 109 110&adc0 { 111 status = "okay"; 112}; 113 114&adc1 { 115 status = "okay"; 116}; 117