]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: renesas: eagle-function-expansion: Add eMMC support
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 23 Sep 2025 16:15:49 +0000 (18:15 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 13 Oct 2025 09:35:40 +0000 (11:35 +0200)
Add pinmuxing and configuration of the MMC-capable SDHI instance to make
use of the eMMC.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20250923161709.3110-2-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a77970-eagle-function-expansion.dtso

index 0c005660d8dd309486f9820ad77f32e08c71d5e8..ecb35257b9ae18476b25d457c67632d4c1c73360 100644 (file)
        };
 };
 
+&mmc0 {
+       pinctrl-0 = <&mmc_pins>;
+       pinctrl-names = "default";
+
+       vmmc-supply = <&d3p3>;
+       vqmmc-supply = <&d1p8>;
+       bus-width = <8>;
+       non-removable;
+       status = "okay";
+};
+
 &pfc {
+       mmc_pins: mmc {
+               groups = "mmc_data8", "mmc_ctrl";
+               function = "mmc";
+               power-source = <1800>;
+       };
+
        vin0_pins_parallel: vin0 {
                groups = "vin0_data12", "vin0_sync", "vin0_clk", "vin0_clkenb";
                function = "vin0";