From: Michal Suchanek Date: Sat, 3 Dec 2022 12:31:29 +0000 (+0100) Subject: rockchip: Pinebook Pro: Do not initialize i2c before relocation X-Git-Tag: v2023.07~228^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=216928c772798609ba2cb01a42b6f89832bb0587;p=platform%2Fkernel%2Fu-boot.git rockchip: Pinebook Pro: Do not initialize i2c before relocation The i2c locks up when initialized before relocation, and it stays broken in Linux as well breaking the ability to boot Linux. The i2c bus and pmic was not actually used in pre-reloc before commit ad607512f575 ("power: pmic: rk8xx: Support sysreset shutdown method") The cause is not known. This is board-specific, other boards that do not add the option to include the i2c bus in pre-reloc DT are not affected. Signed-off-by: Michal Suchanek Reviewed-by: Peter Robinson Tested-by: Peter Robinson Reviewed-by: Kever Yang --- diff --git a/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi b/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi index 2d87bea..fd87102 100644 --- a/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi +++ b/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi @@ -20,14 +20,6 @@ rockchip,panel = <&edp_panel>; }; -&i2c0 { - u-boot,dm-pre-reloc; -}; - -&rk808 { - u-boot,dm-pre-reloc; -}; - &sdhci { max-frequency = <25000000>; u-boot,dm-pre-reloc;