]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: add SDIO controller on RK3576
authorAlexey Charkov <alchark@gmail.com>
Sat, 14 Jun 2025 18:14:34 +0000 (22:14 +0400)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 19 Jun 2025 21:02:46 +0000 (23:02 +0200)
RK3576 has one more SD/MMC controller than are currently listed in its
.dtsi, with the missing one intended as an SDIO controller. Add the
missing node (tested with the onboard WiFi module on ArmSoM Sige5 v1.2)

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://lore.kernel.org/r/20250614-sige5-updates-v2-2-3bb31b02623c@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3576.dtsi

index 1086482f04792325dc4c22fb8ceeb27eef59afe4..d3225d20baadd56364655fdde6b33113b65484ad 100644 (file)
                        status = "disabled";
                };
 
+               sdio: mmc@2a320000 {
+                       compatible = "rockchip,rk3576-dw-mshc";
+                       reg = <0x0 0x2a320000 0x0 0x4000>;
+                       clocks = <&cru HCLK_SDIO>, <&cru CCLK_SRC_SDIO>;
+                       clock-names = "biu", "ciu";
+                       fifo-depth = <0x100>;
+                       interrupts = <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>;
+                       max-frequency = <200000000>;
+                       pinctrl-0 = <&sdmmc1m0_clk &sdmmc1m0_cmd &sdmmc1m0_bus4>;
+                       pinctrl-names = "default";
+                       power-domains = <&power RK3576_PD_SDGMAC>;
+                       resets = <&cru SRST_H_SDIO>;
+                       reset-names = "reset";
+                       status = "disabled";
+               };
+
                sdhci: mmc@2a330000 {
                        compatible = "rockchip,rk3576-dwcmshc", "rockchip,rk3588-dwcmshc";
                        reg = <0x0 0x2a330000 0x0 0x10000>;