xref: /linux/arch/arm64/boot/dts/renesas/rzv2-evk-cn15-emmc.dtso (revision 115e74a29b530d121891238e9551c4bcdf7b04b5)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Shared DT overlay for the eMMC Sub Board (RTK0EF0186B02000BJ), which
4 * is connected to the CN15 connector on the RZ/V2H and RZ/V2N EVKs.
5 *
6 * Copyright (C) 2025 Renesas Electronics Corp.
7 */
8
9/dts-v1/;
10/plugin/;
11
12#include <dt-bindings/gpio/gpio.h>
13#include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
14
15&{/} {
16	aliases {
17		mmc0 = "/soc/mmc@15c00000";
18	};
19};
20
21&pinctrl {
22	sdhi0_emmc_pins: emmc-pins {
23		sd0-clk {
24			pins = "SD0CLK";
25			renesas,output-impedance = <3>;
26			slew-rate = <0>;
27		};
28
29		sd0-dat-cmd {
30			pins = "SD0DAT0", "SD0DAT1", "SD0DAT2", "SD0DAT3", "SD0DAT4",
31			       "SD0DAT5", "SD0DAT6", "SD0DAT7", "SD0CMD";
32			input-enable;
33			renesas,output-impedance = <3>;
34			slew-rate = <0>;
35		};
36	};
37};
38
39&sdhi0 {
40	pinctrl-0 = <&sdhi0_emmc_pins>;
41	pinctrl-1 = <&sdhi0_emmc_pins>;
42	pinctrl-names = "default", "state_uhs";
43	vmmc-supply = <&reg_3p3v>;
44	vqmmc-supply = <&reg_1p8v>;
45	bus-width = <8>;
46	mmc-hs200-1_8v;
47	non-removable;
48	fixed-emmc-driver-type = <1>;
49	status = "okay";
50};
51