Skip to content

Commit

Permalink
arm64: dts: Fixed the problem of WiFi not being recognized and increa…
Browse files Browse the repository at this point in the history
…sed the driver strength of sdio
  • Loading branch information
jack@armsom.org committed Feb 12, 2025
1 parent 7956aa2 commit 8d203b4
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
30 changes: 30 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3576-armsom-cm5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,36 @@
rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
};
};

// sdio wifi occasionally fails to recognize, increase the drive current strength to level 5
sdmmc1 {
/omit-if-no-ref/
sdmmc1m0_bus4: sdmmc1m0-bus4 {
rockchip,pins =
/* sdmmc1_d0_m0 */
<1 RK_PB4 2 &pcfg_pull_up_drv_level_5>,
/* sdmmc1_d1_m0 */
<1 RK_PB5 2 &pcfg_pull_up_drv_level_5>,
/* sdmmc1_d2_m0 */
<1 RK_PB6 2 &pcfg_pull_up_drv_level_5>,
/* sdmmc1_d3_m0 */
<1 RK_PB7 2 &pcfg_pull_up_drv_level_5>;
};

/omit-if-no-ref/
sdmmc1m0_clk: sdmmc1m0-clk {
rockchip,pins =
/* sdmmc1_clk_m0 */
<1 RK_PC1 2 &pcfg_pull_up_drv_level_5>;
};

/omit-if-no-ref/
sdmmc1m0_cmd: sdmmc1m0-cmd {
rockchip,pins =
/* sdmmc1_cmd_m0 */
<1 RK_PC0 2 &pcfg_pull_up_drv_level_5>;
};
};
};

&rga2_core0 {
Expand Down
30 changes: 30 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,36 @@
rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
};
};

// sdio wifi occasionally fails to recognize, increase the drive current strength to level 5
sdmmc1 {
/omit-if-no-ref/
sdmmc1m0_bus4: sdmmc1m0-bus4 {
rockchip,pins =
/* sdmmc1_d0_m0 */
<1 RK_PB4 2 &pcfg_pull_up_drv_level_5>,
/* sdmmc1_d1_m0 */
<1 RK_PB5 2 &pcfg_pull_up_drv_level_5>,
/* sdmmc1_d2_m0 */
<1 RK_PB6 2 &pcfg_pull_up_drv_level_5>,
/* sdmmc1_d3_m0 */
<1 RK_PB7 2 &pcfg_pull_up_drv_level_5>;
};

/omit-if-no-ref/
sdmmc1m0_clk: sdmmc1m0-clk {
rockchip,pins =
/* sdmmc1_clk_m0 */
<1 RK_PC1 2 &pcfg_pull_up_drv_level_5>;
};

/omit-if-no-ref/
sdmmc1m0_cmd: sdmmc1m0-cmd {
rockchip,pins =
/* sdmmc1_cmd_m0 */
<1 RK_PC0 2 &pcfg_pull_up_drv_level_5>;
};
};
};

&pwm2_8ch_7 {
Expand Down

0 comments on commit 8d203b4

Please sign in to comment.