arm64: dts: renesas: white-hawk-cpu: Add eMMC support
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>
Wed, 12 Oct 2022 07:12:34 +0000 (09:12 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 17 Oct 2022 13:38:49 +0000 (15:38 +0200)
Describe the eMMC on the White Hawk CPU board.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/253cd479e55486dd0d3e3804add405e41c32d53b.1665558371.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi

index f424b827fcbc7666c58351579ca51c80827c7811..b306e5a10794dfb5033fc259cb63abae9064e8a3 100644 (file)
                device_type = "memory";
                reg = <0x6 0x00000000 0x1 0x00000000>;
        };
+
+       reg_1p8v: regulator-1p8v {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-1.8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
+       reg_3p3v: regulator-3p3v {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-3.3V";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
 };
 
 &avb0 {
        };
 };
 
+&mmc0 {
+       pinctrl-0 = <&mmc_pins>;
+       pinctrl-1 = <&mmc_pins>;
+       pinctrl-names = "default", "state_uhs";
+
+       vmmc-supply = <&reg_3p3v>;
+       vqmmc-supply = <&reg_1p8v>;
+       mmc-hs200-1_8v;
+       mmc-hs400-1_8v;
+       bus-width = <8>;
+       no-sd;
+       no-sdio;
+       non-removable;
+       full-pwr-cycle-in-suspend;
+       status = "okay";
+};
+
 &pfc {
        pinctrl-0 = <&scif_clk_pins>;
        pinctrl-names = "default";
                bias-pull-up;
        };
 
+       mmc_pins: mmc {
+               groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
+               function = "mmc";
+               power-source = <1800>;
+       };
+
        scif_clk_pins: scif_clk {
                groups = "scif_clk";
                function = "scif_clk";