/* * Copyright (c) 2024 Renesas Electronics Corporation * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include #include #include #include "ek_ra6m5-pinctrl.dtsi" / { model = "Renesas EK-RA6M5"; compatible = "renesas,ra6m5", "renesas,ra"; chosen { zephyr,sram = &sram0; zephyr,flash = &flash0; zephyr,console = &uart0; zephyr,shell-uart = &uart0; }; leds { compatible = "gpio-leds"; led1: led1 { gpios = <&ioport0 6 GPIO_ACTIVE_HIGH>; label = "LED1"; }; led2: led2 { gpios = <&ioport0 7 GPIO_ACTIVE_HIGH>; label = "LED2"; }; led3: led3 { gpios = <&ioport0 8 GPIO_ACTIVE_HIGH>; label = "LED3"; }; }; buttons { compatible = "gpio-keys"; button0: s1 { gpios = <&ioport0 5 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; label = "Push button switch 1"; zephyr,code = ; }; button1: s2 { gpios = <&ioport0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; label = "Push button switch 2"; zephyr,code = ; }; }; aliases { led0 = &led1; sw0 = &button0; sw1 = &button1; }; }; &sci0 { pinctrl-0 = <&sci0_default>; pinctrl-names = "default"; status = "okay"; uart0: uart { current-speed = <115200>; status = "okay"; }; }; &iic1 { status = "okay"; #address-cells = <1>; #size-cells = <0>; interrupts = <91 1>, <92 1>, <93 1>, <94 1>; interrupt-names = "rxi", "txi", "tei", "eri"; clock-frequency = ; pinctrl-0 = <&iic1_default>; pinctrl-names = "default"; }; &spi0 { pinctrl-0 = <&spi0_default>; pinctrl-names = "default"; status = "okay"; }; &ioport0 { status = "okay"; }; &xtal { clock-frequency = ; mosel = <0>; #clock-cells = <0>; status = "okay"; }; &subclk { status = "okay"; }; &pll { clocks = <&xtal>; div = <3>; mul = <25 0>; status = "okay"; }; &usbhs { pinctrl-0 = <&usbhs_default>; pinctrl-names = "default"; maximum-speed = "high-speed"; status = "okay"; zephyr_udc0: udc { status = "okay"; }; }; &usbhs_phy { phys-clock-src = "xtal"; }; &adc0 { status = "okay"; pinctrl-0 = <&adc0_default>; pinctrl-names = "default"; }; &port_irq9 { interrupts = <41 12>; status = "okay"; }; &port_irq10 { interrupts = <42 12>; status = "okay"; }; &pwm1 { pinctrl-0 = <&pwm1_default>; pinctrl-names = "default"; interrupts = <63 1>, <64 1>; interrupt-names = "gtioca", "overflow"; status = "okay"; };