Commit 916b5916 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

arm64: dts: qcom: sc8180x: switch UFS QMP PHY to new style of bindings

Change the UFS QMP PHY to use newer style of QMP PHY bindings (single
resource region, no per-PHY subnodes).
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230731111158.3998107-1-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 989aac9d
...@@ -2118,7 +2118,7 @@ ufs_mem_hc: ufshc@1d84000 { ...@@ -2118,7 +2118,7 @@ ufs_mem_hc: ufshc@1d84000 {
"jedec,ufs-2.0"; "jedec,ufs-2.0";
reg = <0 0x01d84000 0 0x2500>; reg = <0 0x01d84000 0 0x2500>;
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
phys = <&ufs_mem_phy_lanes>; phys = <&ufs_mem_phy>;
phy-names = "ufsphy"; phy-names = "ufsphy";
lanes-per-direction = <2>; lanes-per-direction = <2>;
#reset-cells = <1>; #reset-cells = <1>;
...@@ -2157,10 +2157,8 @@ ufs_mem_hc: ufshc@1d84000 { ...@@ -2157,10 +2157,8 @@ ufs_mem_hc: ufshc@1d84000 {
ufs_mem_phy: phy-wrapper@1d87000 { ufs_mem_phy: phy-wrapper@1d87000 {
compatible = "qcom,sc8180x-qmp-ufs-phy"; compatible = "qcom,sc8180x-qmp-ufs-phy";
reg = <0 0x01d87000 0 0x1c0>; reg = <0 0x01d87000 0 0x1000>;
#address-cells = <2>;
#size-cells = <2>;
ranges;
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_UFS_PHY_PHY_AUX_CLK>; <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
clock-names = "ref", clock-names = "ref",
...@@ -2168,16 +2166,10 @@ ufs_mem_phy: phy-wrapper@1d87000 { ...@@ -2168,16 +2166,10 @@ ufs_mem_phy: phy-wrapper@1d87000 {
resets = <&ufs_mem_hc 0>; resets = <&ufs_mem_hc 0>;
reset-names = "ufsphy"; reset-names = "ufsphy";
status = "disabled";
ufs_mem_phy_lanes: phy@1d87400 { #phy-cells = <0>;
reg = <0 0x01d87400 0 0x108>,
<0 0x01d87600 0 0x1e0>, status = "disabled";
<0 0x01d87c00 0 0x1dc>,
<0 0x01d87800 0 0x108>,
<0 0x01d87a00 0 0x1e0>;
#phy-cells = <0>;
};
}; };
ipa_virt: interconnect@1e00000 { ipa_virt: interconnect@1e00000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment