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