Commit 01b60414 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sm6115: Fix UFS node



In its current form, UFS did not even probe successfully - it failed
when trying to set XO (ref_clk) to 300 MHz instead of doing so to
the ICE clk. Moreover, the missing reg-names prevented ICE from
working or being discovered at all. Fix both of these issues.

As a sidenote, the log reveals that this SoC uses UFS ICE v3.1.0.

Fixes: 97e563bf ("arm64: dts: qcom: sm6115: Add basic soc dtsi")
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: default avatarIskren Chernev <me@iskren.info>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221208201401.530555-1-konrad.dybcio@linaro.org
parent 582e7c10
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -704,6 +704,7 @@
		ufs_mem_hc: ufs@4804000 {
			compatible = "qcom,sm6115-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
			reg = <0x04804000 0x3000>, <0x04810000 0x8000>;
			reg-names = "std", "ice";
			interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
			phys = <&ufs_mem_phy_lanes>;
			phy-names = "ufsphy";
@@ -736,10 +737,10 @@
					<0 0>,
					<0 0>,
					<37500000 150000000>,
					<75000000 300000000>,
					<0 0>,
					<0 0>,
					<0 0>;
					<0 0>,
					<75000000 300000000>;

			status = "disabled";
		};