啊黎 发表于 2023-10-21 10:58:50

rk3588:rtl8821cs:wifi mode:MMC识别SDIO 卡

MMC识别SDIO 卡失败,检查发现:我们原理图接在了sdio_m0,dts提供的板级配置接在了sdiom1_pin,没有对应的sdiom0_pin,芯片级配置如下:




sdio: mmc@fe2d0000 {
                compatible = "rockchip,rk3588-dw-mshc", "rockchip,rk3288-dw-mshc";
                reg = <0x0 0xfe2d0000 0x0 0x4000>;
                interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
                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";
        };

log如下:
[    2.006709] dwmmc_rockchip fe2d0000.mmc: No normal pinctrl state
[    2.006723] dwmmc_rockchip fe2d0000.mmc: No idle pinctrl state
[    2.006857] dwmmc_rockchip fe2d0000.mmc: IDMAC supports 32-bit address mode.
[    2.006886] dwmmc_rockchip fe2d0000.mmc: Using internal DMA controller.
[    2.006914] dwmmc_rockchip fe2d0000.mmc: Version ID is 270a
[    2.006966] dwmmc_rockchip fe2d0000.mmc: DW MMC controller at irq 61,32 bit host data width,256 deep fifo

请问这个如何解决,如果需要修改,这个地址是多少?,谢谢
页: [1]
查看完整版本: rk3588:rtl8821cs:wifi mode:MMC识别SDIO 卡