xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r9a09g057h44-rzv2h-evk.dts (revision 5f0dad980205e497434671a24255a29609646b85)
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
10*5f0dad98SLad Prabhakar#include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
11*5f0dad98SLad 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 {
19*5f0dad98SLad Prabhakar		i2c0 = &i2c0;
20*5f0dad98SLad Prabhakar		i2c1 = &i2c1;
21*5f0dad98SLad Prabhakar		i2c2 = &i2c2;
22*5f0dad98SLad Prabhakar		i2c3 = &i2c3;
23*5f0dad98SLad Prabhakar		i2c6 = &i2c6;
24*5f0dad98SLad Prabhakar		i2c7 = &i2c7;
25*5f0dad98SLad Prabhakar		i2c8 = &i2c8;
26*5f0dad98SLad 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	};
45*5f0dad98SLad Prabhakar
46*5f0dad98SLad Prabhakar	reg_3p3v: regulator1 {
47*5f0dad98SLad Prabhakar		compatible = "regulator-fixed";
48*5f0dad98SLad Prabhakar
49*5f0dad98SLad Prabhakar		regulator-name = "fixed-3.3V";
50*5f0dad98SLad Prabhakar		regulator-min-microvolt = <3300000>;
51*5f0dad98SLad Prabhakar		regulator-max-microvolt = <3300000>;
52*5f0dad98SLad Prabhakar		regulator-boot-on;
53*5f0dad98SLad Prabhakar		regulator-always-on;
54*5f0dad98SLad Prabhakar	};
55*5f0dad98SLad Prabhakar
56*5f0dad98SLad Prabhakar	vqmmc_sdhi1: regulator-vccq-sdhi1 {
57*5f0dad98SLad Prabhakar		compatible = "regulator-gpio";
58*5f0dad98SLad Prabhakar		regulator-name = "SDHI1 VccQ";
59*5f0dad98SLad Prabhakar		gpios = <&pinctrl RZG2L_GPIO(10, 2) GPIO_ACTIVE_HIGH>;
60*5f0dad98SLad Prabhakar		regulator-min-microvolt = <1800000>;
61*5f0dad98SLad Prabhakar		regulator-max-microvolt = <3300000>;
62*5f0dad98SLad Prabhakar		gpios-states = <0>;
63*5f0dad98SLad Prabhakar		states = <3300000 0>, <1800000 1>;
64*5f0dad98SLad Prabhakar	};
652fddca72SLad Prabhakar};
662fddca72SLad Prabhakar
672fddca72SLad Prabhakar&audio_extal_clk {
682fddca72SLad Prabhakar	clock-frequency = <22579200>;
692fddca72SLad Prabhakar};
702fddca72SLad Prabhakar
71*5f0dad98SLad Prabhakar&i2c0 {
72*5f0dad98SLad Prabhakar	pinctrl-0 = <&i2c0_pins>;
73*5f0dad98SLad Prabhakar	pinctrl-names = "default";
74*5f0dad98SLad Prabhakar	clock-frequency = <400000>;
75*5f0dad98SLad Prabhakar
76*5f0dad98SLad Prabhakar	status = "okay";
77*5f0dad98SLad Prabhakar};
78*5f0dad98SLad Prabhakar
79*5f0dad98SLad Prabhakar&i2c1 {
80*5f0dad98SLad Prabhakar	pinctrl-0 = <&i2c1_pins>;
81*5f0dad98SLad Prabhakar	pinctrl-names = "default";
82*5f0dad98SLad Prabhakar	clock-frequency = <400000>;
83*5f0dad98SLad Prabhakar
84*5f0dad98SLad Prabhakar	status = "okay";
85*5f0dad98SLad Prabhakar};
86*5f0dad98SLad Prabhakar
87*5f0dad98SLad Prabhakar&i2c2 {
88*5f0dad98SLad Prabhakar	pinctrl-0 = <&i2c2_pins>;
89*5f0dad98SLad Prabhakar	pinctrl-names = "default";
90*5f0dad98SLad Prabhakar	clock-frequency = <400000>;
91*5f0dad98SLad Prabhakar
92*5f0dad98SLad Prabhakar	status = "okay";
93*5f0dad98SLad Prabhakar};
94*5f0dad98SLad Prabhakar
95*5f0dad98SLad Prabhakar&i2c3 {
96*5f0dad98SLad Prabhakar	pinctrl-0 = <&i2c3_pins>;
97*5f0dad98SLad Prabhakar	pinctrl-names = "default";
98*5f0dad98SLad Prabhakar	clock-frequency = <400000>;
99*5f0dad98SLad Prabhakar
100*5f0dad98SLad Prabhakar	status = "okay";
101*5f0dad98SLad Prabhakar};
102*5f0dad98SLad Prabhakar
103*5f0dad98SLad Prabhakar&i2c6 {
104*5f0dad98SLad Prabhakar	pinctrl-0 = <&i2c6_pins>;
105*5f0dad98SLad Prabhakar	pinctrl-names = "default";
106*5f0dad98SLad Prabhakar	clock-frequency = <400000>;
107*5f0dad98SLad Prabhakar
108*5f0dad98SLad Prabhakar	status = "okay";
109*5f0dad98SLad Prabhakar};
110*5f0dad98SLad Prabhakar
111*5f0dad98SLad Prabhakar&i2c7 {
112*5f0dad98SLad Prabhakar	pinctrl-0 = <&i2c7_pins>;
113*5f0dad98SLad Prabhakar	pinctrl-names = "default";
114*5f0dad98SLad Prabhakar	clock-frequency = <400000>;
115*5f0dad98SLad Prabhakar
116*5f0dad98SLad Prabhakar	status = "okay";
117*5f0dad98SLad Prabhakar};
118*5f0dad98SLad Prabhakar
119*5f0dad98SLad Prabhakar&i2c8 {
120*5f0dad98SLad Prabhakar	pinctrl-0 = <&i2c8_pins>;
121*5f0dad98SLad Prabhakar	pinctrl-names = "default";
122*5f0dad98SLad Prabhakar	clock-frequency = <400000>;
123*5f0dad98SLad Prabhakar
124*5f0dad98SLad Prabhakar	status = "okay";
125*5f0dad98SLad Prabhakar};
126*5f0dad98SLad Prabhakar
127*5f0dad98SLad Prabhakar&ostm0 {
128*5f0dad98SLad Prabhakar	status = "okay";
129*5f0dad98SLad Prabhakar};
130*5f0dad98SLad Prabhakar
131*5f0dad98SLad Prabhakar&ostm1 {
132*5f0dad98SLad Prabhakar	status = "okay";
133*5f0dad98SLad Prabhakar};
134*5f0dad98SLad Prabhakar
135*5f0dad98SLad Prabhakar&ostm2 {
136*5f0dad98SLad Prabhakar	status = "okay";
137*5f0dad98SLad Prabhakar};
138*5f0dad98SLad Prabhakar
139*5f0dad98SLad Prabhakar&ostm3 {
140*5f0dad98SLad Prabhakar	status = "okay";
141*5f0dad98SLad Prabhakar};
142*5f0dad98SLad Prabhakar
143*5f0dad98SLad Prabhakar&ostm4 {
144*5f0dad98SLad Prabhakar	status = "okay";
145*5f0dad98SLad Prabhakar};
146*5f0dad98SLad Prabhakar
147*5f0dad98SLad Prabhakar&ostm5 {
148*5f0dad98SLad Prabhakar	status = "okay";
149*5f0dad98SLad Prabhakar};
150*5f0dad98SLad Prabhakar
151*5f0dad98SLad Prabhakar&ostm6 {
152*5f0dad98SLad Prabhakar	status = "okay";
153*5f0dad98SLad Prabhakar};
154*5f0dad98SLad Prabhakar
155*5f0dad98SLad Prabhakar&ostm7 {
156*5f0dad98SLad Prabhakar	status = "okay";
157*5f0dad98SLad Prabhakar};
158*5f0dad98SLad Prabhakar
1592fddca72SLad Prabhakar&pinctrl {
160*5f0dad98SLad Prabhakar	i2c0_pins: i2c0 {
161*5f0dad98SLad Prabhakar		pinmux = <RZG2L_PORT_PINMUX(3, 0, 1)>, /* I2C0_SDA */
162*5f0dad98SLad Prabhakar			 <RZG2L_PORT_PINMUX(3, 1, 1)>; /* I2C0_SCL */
163*5f0dad98SLad Prabhakar	};
164*5f0dad98SLad Prabhakar
165*5f0dad98SLad Prabhakar	i2c1_pins: i2c1 {
166*5f0dad98SLad Prabhakar		pinmux = <RZG2L_PORT_PINMUX(3, 2, 1)>, /* I2C1_SDA */
167*5f0dad98SLad Prabhakar			 <RZG2L_PORT_PINMUX(3, 3, 1)>; /* I2C1_SCL */
168*5f0dad98SLad Prabhakar	};
169*5f0dad98SLad Prabhakar
170*5f0dad98SLad Prabhakar	i2c2_pins: i2c2 {
171*5f0dad98SLad Prabhakar		pinmux = <RZG2L_PORT_PINMUX(2, 0, 4)>, /* I2C2_SDA */
172*5f0dad98SLad Prabhakar			 <RZG2L_PORT_PINMUX(2, 1, 4)>; /* I2C2_SCL */
173*5f0dad98SLad Prabhakar	};
174*5f0dad98SLad Prabhakar
175*5f0dad98SLad Prabhakar	i2c3_pins: i2c3 {
176*5f0dad98SLad Prabhakar		pinmux = <RZG2L_PORT_PINMUX(3, 6, 1)>, /* I2C3_SDA */
177*5f0dad98SLad Prabhakar			 <RZG2L_PORT_PINMUX(3, 7, 1)>; /* I2C3_SCL */
178*5f0dad98SLad Prabhakar	};
179*5f0dad98SLad Prabhakar
180*5f0dad98SLad Prabhakar	i2c6_pins: i2c6 {
181*5f0dad98SLad Prabhakar		pinmux = <RZG2L_PORT_PINMUX(4, 4, 1)>, /* I2C6_SDA */
182*5f0dad98SLad Prabhakar			 <RZG2L_PORT_PINMUX(4, 5, 1)>; /* I2C6_SCL */
183*5f0dad98SLad Prabhakar	};
184*5f0dad98SLad Prabhakar
185*5f0dad98SLad Prabhakar	i2c7_pins: i2c7 {
186*5f0dad98SLad Prabhakar		pinmux = <RZG2L_PORT_PINMUX(4, 6, 1)>, /* I2C7_SDA */
187*5f0dad98SLad Prabhakar			 <RZG2L_PORT_PINMUX(4, 7, 1)>; /* I2C7_SCL */
188*5f0dad98SLad Prabhakar	};
189*5f0dad98SLad Prabhakar
190*5f0dad98SLad Prabhakar	i2c8_pins: i2c8 {
191*5f0dad98SLad Prabhakar		pinmux = <RZG2L_PORT_PINMUX(0, 6, 1)>, /* I2C8_SDA */
192*5f0dad98SLad Prabhakar			 <RZG2L_PORT_PINMUX(0, 7, 1)>; /* I2C8_SCL */
193*5f0dad98SLad Prabhakar	};
194*5f0dad98SLad Prabhakar
1952fddca72SLad Prabhakar	scif_pins: scif {
1962fddca72SLad Prabhakar		pins = "SCIF_TXD", "SCIF_RXD";
1972fddca72SLad Prabhakar		renesas,output-impedance = <1>;
1982fddca72SLad Prabhakar	};
199*5f0dad98SLad Prabhakar
200*5f0dad98SLad Prabhakar	sd1-pwr-en-hog {
201*5f0dad98SLad Prabhakar		gpio-hog;
202*5f0dad98SLad Prabhakar		gpios = <RZG2L_GPIO(10, 3) GPIO_ACTIVE_HIGH>;
203*5f0dad98SLad Prabhakar		output-high;
204*5f0dad98SLad Prabhakar		line-name = "sd1_pwr_en";
205*5f0dad98SLad Prabhakar	};
206*5f0dad98SLad Prabhakar
207*5f0dad98SLad Prabhakar	sdhi1_pins: sd1 {
208*5f0dad98SLad Prabhakar		sd1_dat_cmd {
209*5f0dad98SLad Prabhakar			pins = "SD1DAT0", "SD1DAT1", "SD1DAT2", "SD1DAT3", "SD1CMD";
210*5f0dad98SLad Prabhakar			input-enable;
211*5f0dad98SLad Prabhakar			renesas,output-impedance = <3>;
212*5f0dad98SLad Prabhakar			slew-rate = <0>;
213*5f0dad98SLad Prabhakar		};
214*5f0dad98SLad Prabhakar
215*5f0dad98SLad Prabhakar		sd1_clk {
216*5f0dad98SLad Prabhakar			pins = "SD1CLK";
217*5f0dad98SLad Prabhakar			renesas,output-impedance = <3>;
218*5f0dad98SLad Prabhakar			slew-rate = <0>;
219*5f0dad98SLad Prabhakar		};
220*5f0dad98SLad Prabhakar
221*5f0dad98SLad Prabhakar		sd1_cd {
222*5f0dad98SLad Prabhakar			pinmux = <RZG2L_PORT_PINMUX(9, 4, 14)>; /* SD1_CD */
223*5f0dad98SLad Prabhakar		};
224*5f0dad98SLad 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};
241*5f0dad98SLad Prabhakar
242*5f0dad98SLad Prabhakar&sdhi1 {
243*5f0dad98SLad Prabhakar	pinctrl-0 = <&sdhi1_pins>;
244*5f0dad98SLad Prabhakar	pinctrl-1 = <&sdhi1_pins>;
245*5f0dad98SLad Prabhakar	pinctrl-names = "default", "state_uhs";
246*5f0dad98SLad Prabhakar	vmmc-supply = <&reg_3p3v>;
247*5f0dad98SLad Prabhakar	vqmmc-supply = <&vqmmc_sdhi1>;
248*5f0dad98SLad Prabhakar	bus-width = <4>;
249*5f0dad98SLad Prabhakar	sd-uhs-sdr50;
250*5f0dad98SLad Prabhakar	sd-uhs-sdr104;
251*5f0dad98SLad Prabhakar	status = "okay";
252*5f0dad98SLad Prabhakar};
253