arm64: dts: rockchip: add pinctrl and alias to emmc node to rk3568-evb1-v10
authorMichael Riesch <michael.riesch@wolfvision.net>
Thu, 5 Aug 2021 12:01:07 +0000 (14:01 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 15 Sep 2021 15:50:38 +0000 (17:50 +0200)
Since the EMMC pins can be used for other functions as well, we need to
configure the pinctrl.

Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
Link: https://lore.kernel.org/r/20210805120107.27007-8-michael.riesch@wolfvision.net
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts

index 1c34d52..1bc79e9 100644 (file)
@@ -17,6 +17,7 @@
                ethernet0 = &gmac0;
                ethernet1 = &gmac1;
                mmc0 = &sdmmc0;
+               mmc1 = &sdhci;
        };
 
        chosen: chosen {
        bus-width = <8>;
        max-frequency = <200000000>;
        non-removable;
+       pinctrl-names = "default";
+       pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
        status = "okay";
 };