1/* 2 * Copyright (c) 2023 IoT.bzh 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 */ 7 8/dts-v1/; 9#include <arm/renesas/rcar/gen4/r8a779f0.dtsi> 10#include "rcar_spider_s4_r8a779f0_r52-pinctrl.dtsi" 11#include <zephyr/dt-bindings/input/input-event-codes.h> 12 13/ { 14 model = "Renesas Spider board"; 15 compatible = "renesas,spider-s4-cr52"; 16 17 chosen { 18 zephyr,sram = &sram0; 19 zephyr,console = &scif0; 20 zephyr,shell-uart = &scif0; 21 }; 22 23 leds { 24 compatible = "gpio-leds"; 25 user_led: led_8 { 26 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; 27 label = "User LED"; 28 }; 29 }; 30 31 gpio_keys { 32 compatible = "gpio-keys"; 33 user_button: sw10 { 34 gpios = <&gpio4 13 GPIO_ACTIVE_LOW>; 35 label = "User switch"; 36 zephyr,code = <INPUT_KEY_0>; 37 }; 38 }; 39 40 aliases { 41 led0 = &user_led; 42 sw0 = &user_button; 43 }; 44}; 45 46&scif0 { 47 pinctrl-0 = <&scif0_data_tx_default &scif0_data_rx_default>; 48 pinctrl-names = "default"; 49 status = "okay"; 50}; 51 52&gpio0 { 53 status = "okay"; 54}; 55 56&gpio4 { 57 status = "okay"; 58}; 59