ARM: dts: renesas: genmai: Enable MMCIF

Luckily, I still had an MMC card lying around. Works fine.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20240928092953.2982-8-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
Wolfram Sang 2024-09-28 11:29:56 +02:00 committed by Geert Uytterhoeven
parent 3a1a08549d
commit 86b0d9fc83

View file

@ -87,6 +87,15 @@
device_type = "memory";
reg = <0x08000000 0x08000000>;
};
cvcc2: regulator-mmc {
compatible = "regulator-fixed";
regulator-name = "Cvcc2";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
};
&bsc {
@ -178,6 +187,17 @@
};
};
&mmcif {
pinctrl-0 = <&mmcif_pins>;
pinctrl-names = "default";
cd-gpios = <&port3 8 GPIO_ACTIVE_LOW>;
vmmc-supply = <&cvcc2>;
vqmmc-supply = <&cvcc2>;
bus-width = <8>;
status = "okay";
};
&mtu2 {
status = "okay";
};
@ -223,6 +243,20 @@
pinmux = <RZA1_PINMUX(3, 1, 3)>;
};
mmcif_pins: mmcif {
/* MMCIF: P3_8 is CD_GPIO, P3_10 up to P3_15, P4_0 up to P4_3 */
pinmux = <RZA1_PINMUX(3, 10, 8)>, /* MMC_D1 */
<RZA1_PINMUX(3, 11, 8)>, /* MMC_D0 */
<RZA1_PINMUX(3, 12, 8)>, /* MMC_CLK */
<RZA1_PINMUX(3, 13, 8)>, /* MMC_CMD */
<RZA1_PINMUX(3, 14, 8)>, /* MMC_D3 */
<RZA1_PINMUX(3, 15, 8)>, /* MMC_D2 */
<RZA1_PINMUX(4, 0, 8)>, /* MMC_D4 */
<RZA1_PINMUX(4, 1, 8)>, /* MMC_D5 */
<RZA1_PINMUX(4, 2, 8)>, /* MMC_D6 */
<RZA1_PINMUX(4, 3, 8)>; /* MMC_D7 */
};
scif2_pins: serial2 {
/* P3_0 as TxD2; P3_2 as RxD2 */
pinmux = <RZA1_PINMUX(3, 0, 6)>, <RZA1_PINMUX(3, 2, 4)>;