[PATCH V2 2/5] arm64: dts: rockchip: Add sdio node to rk3588

Sebastian Reichel sebastian.reichel at collabora.com
Wed May 31 09:32:38 PDT 2023


Hi,

On Wed, May 31, 2023 at 11:12:17AM -0500, Chris Morgan wrote:
> From: Chris Morgan <macromorgan at hotmail.com>
> 
> Add SDIO node for rk3588/rk3588s.
> 
> Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
> ---

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

-- Sebastian

>  arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
> index 571cdec24a66..6335d5648bc3 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
> @@ -1176,6 +1176,21 @@ sdmmc: mmc at fe2c0000 {
>  		status = "disabled";
>  	};
>  
> +	sdio: mmc at fe2d0000 {
> +		compatible = "rockchip,rk3588-dw-mshc", "rockchip,rk3288-dw-mshc";
> +		reg = <0x00 0xfe2d0000 0x00 0x4000>;
> +		interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH 0>;
> +		clocks = <&cru HCLK_SDIO>, <&cru CCLK_SRC_SDIO>,
> +			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
> +		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
> +		fifo-depth = <0x100>;
> +		max-frequency = <200000000>;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&sdiom1_pins>;
> +		power-domains = <&power RK3588_PD_SDIO>;
> +		status = "disabled";
> +	};
> +
>  	sdhci: mmc at fe2e0000 {
>  		compatible = "rockchip,rk3588-dwcmshc";
>  		reg = <0x0 0xfe2e0000 0x0 0x10000>;
> -- 
> 2.34.1
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20230531/396bae8e/attachment.sig>


More information about the Linux-rockchip mailing list