RK3328 set SD drive levels to 8mA

- Tested on Renegade and Rock64
  - Solves failure to boot some users experience
This commit is contained in:
Thomas McKahan 2018-09-09 21:23:52 -04:00
parent fa88e5c2aa
commit 2b63e0495c

View File

@ -0,0 +1,46 @@
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index 9f11025a..151665c8 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -2067,17 +2067,17 @@
sdmmc0 {
sdmmc0_clk: sdmmc0-clk {
rockchip,pins =
- <1 RK_PA6 RK_FUNC_1 &pcfg_pull_none_4ma>;
+ <1 RK_PA6 RK_FUNC_1 &pcfg_pull_none_8ma>;
};
sdmmc0_cmd: sdmmc0-cmd {
rockchip,pins =
- <1 RK_PA4 RK_FUNC_1 &pcfg_pull_up_4ma>;
+ <1 RK_PA4 RK_FUNC_1 &pcfg_pull_up_8ma>;
};
sdmmc0_dectn: sdmmc0-dectn {
rockchip,pins =
- <1 RK_PA5 RK_FUNC_1 &pcfg_pull_up_4ma>;
+ <1 RK_PA5 RK_FUNC_1 &pcfg_pull_up_8ma>;
};
sdmmc0_wrprt: sdmmc0-wrprt {
@@ -2087,15 +2087,15 @@
sdmmc0_bus1: sdmmc0-bus1 {
rockchip,pins =
- <1 RK_PA0 RK_FUNC_1 &pcfg_pull_up_4ma>;
+ <1 RK_PA0 RK_FUNC_1 &pcfg_pull_up_8ma>;
};
sdmmc0_bus4: sdmmc0-bus4 {
rockchip,pins =
- <1 RK_PA0 RK_FUNC_1 &pcfg_pull_up_4ma>,
- <1 RK_PA1 RK_FUNC_1 &pcfg_pull_up_4ma>,
- <1 RK_PA2 RK_FUNC_1 &pcfg_pull_up_4ma>,
- <1 RK_PA3 RK_FUNC_1 &pcfg_pull_up_4ma>;
+ <1 RK_PA0 RK_FUNC_1 &pcfg_pull_up_8ma>,
+ <1 RK_PA1 RK_FUNC_1 &pcfg_pull_up_8ma>,
+ <1 RK_PA2 RK_FUNC_1 &pcfg_pull_up_8ma>,
+ <1 RK_PA3 RK_FUNC_1 &pcfg_pull_up_8ma>;
};
sdmmc0_gpio: sdmmc0-gpio {