Message ID | 20230531161220.280744-3-macroalpha82@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add Support for RK3588s Indiedroid Nova | expand |
Hi, On Wed, May 31, 2023 at 11:12:17AM -0500, Chris Morgan wrote: > From: Chris Morgan <macromorgan@hotmail.com> > > Add SDIO node for rk3588/rk3588s. > > Signed-off-by: Chris Morgan <macromorgan@hotmail.com> > --- Reviewed-by: Sebastian Reichel <sebastian.reichel@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@fe2c0000 { > status = "disabled"; > }; > > + sdio: mmc@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@fe2e0000 { > compatible = "rockchip,rk3588-dwcmshc"; > reg = <0x0 0xfe2e0000 0x0 0x10000>; > -- > 2.34.1 >
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@fe2c0000 { status = "disabled"; }; + sdio: mmc@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@fe2e0000 { compatible = "rockchip,rk3588-dwcmshc"; reg = <0x0 0xfe2e0000 0x0 0x10000>;