Commit 002a13ed authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

arm64: dts: qcom: sm8350: 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).
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231205032552.1583336-9-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent ba865bdc
...@@ -678,9 +678,9 @@ gcc: clock-controller@100000 { ...@@ -678,9 +678,9 @@ gcc: clock-controller@100000 {
<0>, <0>,
<0>, <0>,
<0>, <0>,
<&ufs_mem_phy_lanes 0>, <&ufs_mem_phy 0>,
<&ufs_mem_phy_lanes 1>, <&ufs_mem_phy 1>,
<&ufs_mem_phy_lanes 2>, <&ufs_mem_phy 2>,
<&usb_1_qmpphy QMP_USB43DP_USB3_PIPE_CLK>, <&usb_1_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
<0>; <0>;
}; };
...@@ -1680,7 +1680,7 @@ ufs_mem_hc: ufshc@1d84000 { ...@@ -1680,7 +1680,7 @@ ufs_mem_hc: ufshc@1d84000 {
"jedec,ufs-2.0"; "jedec,ufs-2.0";
reg = <0 0x01d84000 0 0x3000>; reg = <0 0x01d84000 0 0x3000>;
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>;
...@@ -1724,10 +1724,8 @@ ufs_mem_hc: ufshc@1d84000 { ...@@ -1724,10 +1724,8 @@ ufs_mem_hc: ufshc@1d84000 {
ufs_mem_phy: phy@1d87000 { ufs_mem_phy: phy@1d87000 {
compatible = "qcom,sm8350-qmp-ufs-phy"; compatible = "qcom,sm8350-qmp-ufs-phy";
reg = <0 0x01d87000 0 0x1c4>; reg = <0 0x01d87000 0 0x1000>;
#address-cells = <2>;
#size-cells = <2>;
ranges;
clock-names = "ref", clock-names = "ref",
"ref_aux"; "ref_aux";
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
...@@ -1735,17 +1733,11 @@ ufs_mem_phy: phy@1d87000 { ...@@ -1735,17 +1733,11 @@ ufs_mem_phy: phy@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 { #clock-cells = <1>;
reg = <0 0x01d87400 0 0x188>, #phy-cells = <0>;
<0 0x01d87600 0 0x200>,
<0 0x01d87c00 0 0x200>, status = "disabled";
<0 0x01d87800 0 0x188>,
<0 0x01d87a00 0 0x200>;
#clock-cells = <1>;
#phy-cells = <0>;
};
}; };
cryptobam: dma-controller@1dc4000 { cryptobam: dma-controller@1dc4000 {
......
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