12fddca72SLad Prabhakar// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 22fddca72SLad Prabhakar/* 32fddca72SLad Prabhakar * Device Tree Source for the RZ/V2H EVK board 42fddca72SLad Prabhakar * 52fddca72SLad Prabhakar * Copyright (C) 2024 Renesas Electronics Corp. 62fddca72SLad Prabhakar */ 72fddca72SLad Prabhakar 82fddca72SLad Prabhakar/dts-v1/; 92fddca72SLad Prabhakar 105f0dad98SLad Prabhakar#include <dt-bindings/pinctrl/rzg2l-pinctrl.h> 115f0dad98SLad Prabhakar#include <dt-bindings/gpio/gpio.h> 122fddca72SLad Prabhakar#include "r9a09g057.dtsi" 132fddca72SLad Prabhakar 142fddca72SLad Prabhakar/ { 152fddca72SLad Prabhakar model = "Renesas RZ/V2H EVK Board based on r9a09g057h44"; 162fddca72SLad Prabhakar compatible = "renesas,rzv2h-evk", "renesas,r9a09g057h44", "renesas,r9a09g057"; 172fddca72SLad Prabhakar 182fddca72SLad Prabhakar aliases { 195f0dad98SLad Prabhakar i2c0 = &i2c0; 205f0dad98SLad Prabhakar i2c1 = &i2c1; 215f0dad98SLad Prabhakar i2c2 = &i2c2; 225f0dad98SLad Prabhakar i2c3 = &i2c3; 235f0dad98SLad Prabhakar i2c6 = &i2c6; 245f0dad98SLad Prabhakar i2c7 = &i2c7; 255f0dad98SLad Prabhakar i2c8 = &i2c8; 265f0dad98SLad Prabhakar mmc1 = &sdhi1; 272fddca72SLad Prabhakar serial0 = &scif; 282fddca72SLad Prabhakar }; 292fddca72SLad Prabhakar 302fddca72SLad Prabhakar chosen { 312fddca72SLad Prabhakar bootargs = "ignore_loglevel"; 322fddca72SLad Prabhakar stdout-path = "serial0:115200n8"; 332fddca72SLad Prabhakar }; 342fddca72SLad Prabhakar 352fddca72SLad Prabhakar memory@48000000 { 362fddca72SLad Prabhakar device_type = "memory"; 372fddca72SLad Prabhakar /* first 128MB is reserved for secure area. */ 382fddca72SLad Prabhakar reg = <0x0 0x48000000 0x1 0xF8000000>; 392fddca72SLad Prabhakar }; 402fddca72SLad Prabhakar 412fddca72SLad Prabhakar memory@240000000 { 422fddca72SLad Prabhakar device_type = "memory"; 432fddca72SLad Prabhakar reg = <0x2 0x40000000 0x2 0x00000000>; 442fddca72SLad Prabhakar }; 455f0dad98SLad Prabhakar 465f0dad98SLad Prabhakar reg_3p3v: regulator1 { 475f0dad98SLad Prabhakar compatible = "regulator-fixed"; 485f0dad98SLad Prabhakar 495f0dad98SLad Prabhakar regulator-name = "fixed-3.3V"; 505f0dad98SLad Prabhakar regulator-min-microvolt = <3300000>; 515f0dad98SLad Prabhakar regulator-max-microvolt = <3300000>; 525f0dad98SLad Prabhakar regulator-boot-on; 535f0dad98SLad Prabhakar regulator-always-on; 545f0dad98SLad Prabhakar }; 555f0dad98SLad Prabhakar 565f0dad98SLad Prabhakar vqmmc_sdhi1: regulator-vccq-sdhi1 { 575f0dad98SLad Prabhakar compatible = "regulator-gpio"; 585f0dad98SLad Prabhakar regulator-name = "SDHI1 VccQ"; 595f0dad98SLad Prabhakar gpios = <&pinctrl RZG2L_GPIO(10, 2) GPIO_ACTIVE_HIGH>; 605f0dad98SLad Prabhakar regulator-min-microvolt = <1800000>; 615f0dad98SLad Prabhakar regulator-max-microvolt = <3300000>; 625f0dad98SLad Prabhakar gpios-states = <0>; 635f0dad98SLad Prabhakar states = <3300000 0>, <1800000 1>; 645f0dad98SLad Prabhakar }; 652fddca72SLad Prabhakar}; 662fddca72SLad Prabhakar 672fddca72SLad Prabhakar&audio_extal_clk { 682fddca72SLad Prabhakar clock-frequency = <22579200>; 692fddca72SLad Prabhakar}; 702fddca72SLad Prabhakar 715f0dad98SLad Prabhakar&i2c0 { 725f0dad98SLad Prabhakar pinctrl-0 = <&i2c0_pins>; 735f0dad98SLad Prabhakar pinctrl-names = "default"; 745f0dad98SLad Prabhakar clock-frequency = <400000>; 755f0dad98SLad Prabhakar 765f0dad98SLad Prabhakar status = "okay"; 775f0dad98SLad Prabhakar}; 785f0dad98SLad Prabhakar 795f0dad98SLad Prabhakar&i2c1 { 805f0dad98SLad Prabhakar pinctrl-0 = <&i2c1_pins>; 815f0dad98SLad Prabhakar pinctrl-names = "default"; 825f0dad98SLad Prabhakar clock-frequency = <400000>; 835f0dad98SLad Prabhakar 845f0dad98SLad Prabhakar status = "okay"; 855f0dad98SLad Prabhakar}; 865f0dad98SLad Prabhakar 875f0dad98SLad Prabhakar&i2c2 { 885f0dad98SLad Prabhakar pinctrl-0 = <&i2c2_pins>; 895f0dad98SLad Prabhakar pinctrl-names = "default"; 905f0dad98SLad Prabhakar clock-frequency = <400000>; 915f0dad98SLad Prabhakar 925f0dad98SLad Prabhakar status = "okay"; 935f0dad98SLad Prabhakar}; 945f0dad98SLad Prabhakar 955f0dad98SLad Prabhakar&i2c3 { 965f0dad98SLad Prabhakar pinctrl-0 = <&i2c3_pins>; 975f0dad98SLad Prabhakar pinctrl-names = "default"; 985f0dad98SLad Prabhakar clock-frequency = <400000>; 995f0dad98SLad Prabhakar 1005f0dad98SLad Prabhakar status = "okay"; 1015f0dad98SLad Prabhakar}; 1025f0dad98SLad Prabhakar 1035f0dad98SLad Prabhakar&i2c6 { 1045f0dad98SLad Prabhakar pinctrl-0 = <&i2c6_pins>; 1055f0dad98SLad Prabhakar pinctrl-names = "default"; 1065f0dad98SLad Prabhakar clock-frequency = <400000>; 1075f0dad98SLad Prabhakar 1085f0dad98SLad Prabhakar status = "okay"; 1095f0dad98SLad Prabhakar}; 1105f0dad98SLad Prabhakar 1115f0dad98SLad Prabhakar&i2c7 { 1125f0dad98SLad Prabhakar pinctrl-0 = <&i2c7_pins>; 1135f0dad98SLad Prabhakar pinctrl-names = "default"; 1145f0dad98SLad Prabhakar clock-frequency = <400000>; 1155f0dad98SLad Prabhakar 1165f0dad98SLad Prabhakar status = "okay"; 1175f0dad98SLad Prabhakar}; 1185f0dad98SLad Prabhakar 1195f0dad98SLad Prabhakar&i2c8 { 1205f0dad98SLad Prabhakar pinctrl-0 = <&i2c8_pins>; 1215f0dad98SLad Prabhakar pinctrl-names = "default"; 1225f0dad98SLad Prabhakar clock-frequency = <400000>; 1235f0dad98SLad Prabhakar 1245f0dad98SLad Prabhakar status = "okay"; 1255f0dad98SLad Prabhakar}; 1265f0dad98SLad Prabhakar 1275f0dad98SLad Prabhakar&ostm0 { 1285f0dad98SLad Prabhakar status = "okay"; 1295f0dad98SLad Prabhakar}; 1305f0dad98SLad Prabhakar 1315f0dad98SLad Prabhakar&ostm1 { 1325f0dad98SLad Prabhakar status = "okay"; 1335f0dad98SLad Prabhakar}; 1345f0dad98SLad Prabhakar 1355f0dad98SLad Prabhakar&ostm2 { 1365f0dad98SLad Prabhakar status = "okay"; 1375f0dad98SLad Prabhakar}; 1385f0dad98SLad Prabhakar 1395f0dad98SLad Prabhakar&ostm3 { 1405f0dad98SLad Prabhakar status = "okay"; 1415f0dad98SLad Prabhakar}; 1425f0dad98SLad Prabhakar 1435f0dad98SLad Prabhakar&ostm4 { 1445f0dad98SLad Prabhakar status = "okay"; 1455f0dad98SLad Prabhakar}; 1465f0dad98SLad Prabhakar 1475f0dad98SLad Prabhakar&ostm5 { 1485f0dad98SLad Prabhakar status = "okay"; 1495f0dad98SLad Prabhakar}; 1505f0dad98SLad Prabhakar 1515f0dad98SLad Prabhakar&ostm6 { 1525f0dad98SLad Prabhakar status = "okay"; 1535f0dad98SLad Prabhakar}; 1545f0dad98SLad Prabhakar 1555f0dad98SLad Prabhakar&ostm7 { 1565f0dad98SLad Prabhakar status = "okay"; 1575f0dad98SLad Prabhakar}; 1585f0dad98SLad Prabhakar 1592fddca72SLad Prabhakar&pinctrl { 1605f0dad98SLad Prabhakar i2c0_pins: i2c0 { 1615f0dad98SLad Prabhakar pinmux = <RZG2L_PORT_PINMUX(3, 0, 1)>, /* I2C0_SDA */ 1625f0dad98SLad Prabhakar <RZG2L_PORT_PINMUX(3, 1, 1)>; /* I2C0_SCL */ 1635f0dad98SLad Prabhakar }; 1645f0dad98SLad Prabhakar 1655f0dad98SLad Prabhakar i2c1_pins: i2c1 { 1665f0dad98SLad Prabhakar pinmux = <RZG2L_PORT_PINMUX(3, 2, 1)>, /* I2C1_SDA */ 1675f0dad98SLad Prabhakar <RZG2L_PORT_PINMUX(3, 3, 1)>; /* I2C1_SCL */ 1685f0dad98SLad Prabhakar }; 1695f0dad98SLad Prabhakar 1705f0dad98SLad Prabhakar i2c2_pins: i2c2 { 1715f0dad98SLad Prabhakar pinmux = <RZG2L_PORT_PINMUX(2, 0, 4)>, /* I2C2_SDA */ 1725f0dad98SLad Prabhakar <RZG2L_PORT_PINMUX(2, 1, 4)>; /* I2C2_SCL */ 1735f0dad98SLad Prabhakar }; 1745f0dad98SLad Prabhakar 1755f0dad98SLad Prabhakar i2c3_pins: i2c3 { 1765f0dad98SLad Prabhakar pinmux = <RZG2L_PORT_PINMUX(3, 6, 1)>, /* I2C3_SDA */ 1775f0dad98SLad Prabhakar <RZG2L_PORT_PINMUX(3, 7, 1)>; /* I2C3_SCL */ 1785f0dad98SLad Prabhakar }; 1795f0dad98SLad Prabhakar 1805f0dad98SLad Prabhakar i2c6_pins: i2c6 { 1815f0dad98SLad Prabhakar pinmux = <RZG2L_PORT_PINMUX(4, 4, 1)>, /* I2C6_SDA */ 1825f0dad98SLad Prabhakar <RZG2L_PORT_PINMUX(4, 5, 1)>; /* I2C6_SCL */ 1835f0dad98SLad Prabhakar }; 1845f0dad98SLad Prabhakar 1855f0dad98SLad Prabhakar i2c7_pins: i2c7 { 1865f0dad98SLad Prabhakar pinmux = <RZG2L_PORT_PINMUX(4, 6, 1)>, /* I2C7_SDA */ 1875f0dad98SLad Prabhakar <RZG2L_PORT_PINMUX(4, 7, 1)>; /* I2C7_SCL */ 1885f0dad98SLad Prabhakar }; 1895f0dad98SLad Prabhakar 1905f0dad98SLad Prabhakar i2c8_pins: i2c8 { 1915f0dad98SLad Prabhakar pinmux = <RZG2L_PORT_PINMUX(0, 6, 1)>, /* I2C8_SDA */ 1925f0dad98SLad Prabhakar <RZG2L_PORT_PINMUX(0, 7, 1)>; /* I2C8_SCL */ 1935f0dad98SLad Prabhakar }; 1945f0dad98SLad Prabhakar 1952fddca72SLad Prabhakar scif_pins: scif { 1962fddca72SLad Prabhakar pins = "SCIF_TXD", "SCIF_RXD"; 1972fddca72SLad Prabhakar renesas,output-impedance = <1>; 1982fddca72SLad Prabhakar }; 1995f0dad98SLad Prabhakar 2005f0dad98SLad Prabhakar sd1-pwr-en-hog { 2015f0dad98SLad Prabhakar gpio-hog; 2025f0dad98SLad Prabhakar gpios = <RZG2L_GPIO(10, 3) GPIO_ACTIVE_HIGH>; 2035f0dad98SLad Prabhakar output-high; 2045f0dad98SLad Prabhakar line-name = "sd1_pwr_en"; 2055f0dad98SLad Prabhakar }; 2065f0dad98SLad Prabhakar 2075f0dad98SLad Prabhakar sdhi1_pins: sd1 { 2085f0dad98SLad Prabhakar sd1_dat_cmd { 2095f0dad98SLad Prabhakar pins = "SD1DAT0", "SD1DAT1", "SD1DAT2", "SD1DAT3", "SD1CMD"; 2105f0dad98SLad Prabhakar input-enable; 2115f0dad98SLad Prabhakar renesas,output-impedance = <3>; 2125f0dad98SLad Prabhakar slew-rate = <0>; 2135f0dad98SLad Prabhakar }; 2145f0dad98SLad Prabhakar 2155f0dad98SLad Prabhakar sd1_clk { 2165f0dad98SLad Prabhakar pins = "SD1CLK"; 2175f0dad98SLad Prabhakar renesas,output-impedance = <3>; 2185f0dad98SLad Prabhakar slew-rate = <0>; 2195f0dad98SLad Prabhakar }; 2205f0dad98SLad Prabhakar 2215f0dad98SLad Prabhakar sd1_cd { 2225f0dad98SLad Prabhakar pinmux = <RZG2L_PORT_PINMUX(9, 4, 14)>; /* SD1_CD */ 2235f0dad98SLad Prabhakar }; 2245f0dad98SLad Prabhakar }; 2252fddca72SLad Prabhakar}; 2262fddca72SLad Prabhakar 2272fddca72SLad Prabhakar&qextal_clk { 2282fddca72SLad Prabhakar clock-frequency = <24000000>; 2292fddca72SLad Prabhakar}; 2302fddca72SLad Prabhakar 2312fddca72SLad Prabhakar&rtxin_clk { 2322fddca72SLad Prabhakar clock-frequency = <32768>; 2332fddca72SLad Prabhakar}; 2342fddca72SLad Prabhakar 2352fddca72SLad Prabhakar&scif { 2362fddca72SLad Prabhakar pinctrl-0 = <&scif_pins>; 2372fddca72SLad Prabhakar pinctrl-names = "default"; 2382fddca72SLad Prabhakar 2392fddca72SLad Prabhakar status = "okay"; 2402fddca72SLad Prabhakar}; 2415f0dad98SLad Prabhakar 2425f0dad98SLad Prabhakar&sdhi1 { 2435f0dad98SLad Prabhakar pinctrl-0 = <&sdhi1_pins>; 2445f0dad98SLad Prabhakar pinctrl-1 = <&sdhi1_pins>; 2455f0dad98SLad Prabhakar pinctrl-names = "default", "state_uhs"; 2465f0dad98SLad Prabhakar vmmc-supply = <®_3p3v>; 2475f0dad98SLad Prabhakar vqmmc-supply = <&vqmmc_sdhi1>; 2485f0dad98SLad Prabhakar bus-width = <4>; 2495f0dad98SLad Prabhakar sd-uhs-sdr50; 2505f0dad98SLad Prabhakar sd-uhs-sdr104; 2515f0dad98SLad Prabhakar status = "okay"; 2525f0dad98SLad Prabhakar}; 253*686bba2aSLad Prabhakar 254*686bba2aSLad Prabhakar&wdt1 { 255*686bba2aSLad Prabhakar status = "okay"; 256*686bba2aSLad Prabhakar}; 257