ARM: renesas: condor: switch eMMC bus to 1V8
authorHai Pham <hai.pham.ud@renesas.com>
Thu, 22 Dec 2022 21:18:01 +0000 (22:18 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 14 Jan 2023 13:10:12 +0000 (14:10 +0100)
The eMMC card has two supplies, VCC and VCCQ. The VCC supplies the NAND
array and the VCCQ supplies the bus. On Condor, the VCC is connected to
3.3V rail, while the VCCQ is connected to 1.8V rail. Adjust the pinmux
to match the bus, which is always operating in 1.8V mode.

Based on Linux commit 69efe4bbeda50745 ("arm64: dts: renesas: condor:
Switch eMMC bus to 1V8") from Wolfram Sang

Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
arch/arm/dts/r8a77980-condor.dts

index 3dde028..f0a0a51 100644 (file)
 
 &mmc0 {
        pinctrl-0 = <&mmc_pins>;
-       pinctrl-1 = <&mmc_pins_uhs>;
+       pinctrl-1 = <&mmc_pins>;
        pinctrl-names = "default", "state_uhs";
 
        vmmc-supply = <&d3_3v>;
        };
 
        mmc_pins: mmc {
-               groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
-               function = "mmc";
-               power-source = <3300>;
-       };
-
-       mmc_pins_uhs: mmc_uhs {
                groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
                function = "mmc";
                power-source = <1800>;