/* * Copyright (c) 2024 Renesas Electronics Corporation * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include #include #include "mck_ra8t1-pinctrl.dtsi" / { model = "Renesas MCK-RA8T1"; compatible = "renesas,ra8t1", "renesas,ra8"; chosen { zephyr,sram = &sram0; zephyr,flash = &flash0; zephyr,console = &uart3; zephyr,shell-uart = &uart3; zephyr,entropy = &trng; zephyr,flash-controller = &flash1; zephyr,canbus = &canfd1; }; leds { compatible = "gpio-leds"; led1: led1 { gpios = <&ioporta 12 GPIO_ACTIVE_HIGH>; label = "LED1"; }; led2: led2 { gpios = <&ioporta 14 GPIO_ACTIVE_HIGH>; label = "LED2"; }; led3: led3 { gpios = <&ioport6 6 GPIO_ACTIVE_HIGH>; label = "LED3"; }; led4: led4 { gpios = <&ioporta 6 GPIO_ACTIVE_HIGH>; label = "LED4"; }; }; aliases { led0 = &led1; sdhc0 = &sdhc0; }; }; &xtal { clock-frequency = ; mosel = <0>; #clock-cells = <0>; status = "okay"; }; &subclk { status = "okay"; }; &pll { status = "okay"; pllp { status = "okay"; }; pllq { status = "okay"; }; pllr { status = "okay"; }; }; &sciclk { clocks = <&pllp>; div = <4>; status = "okay"; }; &canfdclk { clocks = <&pll>; div = <5>; status = "okay"; }; &ioport3 { status = "okay"; }; &ioport6 { status = "okay"; }; &ioporta { status = "okay"; }; &sci3 { pinctrl-0 = <&sci3_default>; pinctrl-names = "default"; status = "okay"; uart3: uart { current-speed = <115200>; status = "okay"; }; }; &trng { status = "okay"; }; &spi0 { pinctrl-0 = <&spi0_default>; pinctrl-names = "default"; status = "okay"; }; &flash1 { partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; storage_partition: partition@0 { label = "storage"; reg = <0X0 DT_SIZE_K(12)>; }; }; }; &pwm2 { pinctrl-0 = <&pwm2_default>; interrupts = <40 1>, <41 1>; interrupt-names = "gtioca", "overflow"; pinctrl-names = "default"; status = "okay"; }; &canfd_global { status = "okay"; canfd1 { pinctrl-0 = <&canfd1_default>; pinctrl-names = "default"; rx-max-filters = <16>; status = "okay"; }; }; &iic1 { #address-cells = <1>; #size-cells = <0>; clock-frequency = ; pinctrl-0 = <&iic1_default>; pinctrl-names = "default"; }; ð { local-mac-address = [74 90 50 6D 81 75]; status = "okay"; phy-handle = <&phy>; }; &mdio { pinctrl-0 = <ðer_default>; pinctrl-names = "default"; status = "okay"; phy: ethernet-phy@5 { compatible = "ethernet-phy"; reg = <5>; status = "okay"; }; }; &adc0 { status = "okay"; pinctrl-0 = <&adc0_default>; pinctrl-names = "default"; average-count = <4>; }; &sdhc0 { compatible = "renesas,ra-sdhc"; pinctrl-0 = <&sdhc0_default>; enable-gpios = <&ioport3 11 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; status = "okay"; sdmmc { compatible = "zephyr,sdmmc-disk"; disk-name = "SD"; status = "okay"; }; };