diff mbox series

[V2,1/5] arm64: dts: rockchip: add default pinctrl for rk3588 emmc

Message ID 20230531161220.280744-2-macroalpha82@gmail.com (mailing list archive)
State New, archived
Headers show
Series Add Support for RK3588s Indiedroid Nova | expand

Commit Message

Chris Morgan May 31, 2023, 4:12 p.m. UTC
From: Chris Morgan <macromorgan@hotmail.com>

Add a default pinctrl definition for the rk3588 emmc.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 3 +++
 1 file changed, 3 insertions(+)

Comments

Sebastian Reichel May 31, 2023, 4:29 p.m. UTC | #1
Hi,

On Wed, May 31, 2023 at 11:12:16AM -0500, Chris Morgan wrote:
> From: Chris Morgan <macromorgan@hotmail.com>
> 
> Add a default pinctrl definition for the rk3588 emmc.
> 
> Signed-off-by: Chris Morgan <macromorgan@hotmail.com>

Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>

-- Sebastian

> ---
>  arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
> index 657c019d27fa..571cdec24a66 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
> @@ -1187,6 +1187,9 @@ sdhci: mmc@fe2e0000 {
>  			 <&cru TMCLK_EMMC>;
>  		clock-names = "core", "bus", "axi", "block", "timer";
>  		max-frequency = <200000000>;
> +		pinctrl-0 = <&emmc_rstnout>, <&emmc_bus8>, <&emmc_clk>,
> +			    <&emmc_cmd>, <&emmc_data_strobe>;
> +		pinctrl-names = "default";
>  		resets = <&cru SRST_C_EMMC>, <&cru SRST_H_EMMC>,
>  			 <&cru SRST_A_EMMC>, <&cru SRST_B_EMMC>,
>  			 <&cru SRST_T_EMMC>;
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
index 657c019d27fa..571cdec24a66 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
@@ -1187,6 +1187,9 @@  sdhci: mmc@fe2e0000 {
 			 <&cru TMCLK_EMMC>;
 		clock-names = "core", "bus", "axi", "block", "timer";
 		max-frequency = <200000000>;
+		pinctrl-0 = <&emmc_rstnout>, <&emmc_bus8>, <&emmc_clk>,
+			    <&emmc_cmd>, <&emmc_data_strobe>;
+		pinctrl-names = "default";
 		resets = <&cru SRST_C_EMMC>, <&cru SRST_H_EMMC>,
 			 <&cru SRST_A_EMMC>, <&cru SRST_B_EMMC>,
 			 <&cru SRST_T_EMMC>;