Commit 08f399a8 authored by Christian Marangi's avatar Christian Marangi Committed by Bjorn Andersson

arm64: dts: qcom: ipq6018: improve pcie phy pcs reg table

This is not a fix on its own but more a cleanup. Phy qmp pcie driver
currently have a workaround to handle pcs_misc not declared and add
0x400 offset to the pcs reg if pcs_misc is not declared.

Correctly declare pcs_misc reg and reduce PCS size to the common value
of 0x1f0 as done for every other qmp based pcie phy device.
Signed-off-by: default avatarChristian Marangi <ansuelsmth@gmail.com>
Reviewed-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221103212125.17156-2-ansuelsmth@gmail.com
parent 147e8b20
...@@ -406,7 +406,8 @@ pcie_phy: phy@84000 { ...@@ -406,7 +406,8 @@ pcie_phy: phy@84000 {
pcie_phy0: phy@84200 { pcie_phy0: phy@84200 {
reg = <0x0 0x84200 0x0 0x16c>, /* Serdes Tx */ reg = <0x0 0x84200 0x0 0x16c>, /* Serdes Tx */
<0x0 0x84400 0x0 0x200>, /* Serdes Rx */ <0x0 0x84400 0x0 0x200>, /* Serdes Rx */
<0x0 0x84800 0x0 0x4f4>; /* PCS: Lane0, COM, PCIE */ <0x0 0x84800 0x0 0x1f0>, /* PCS: Lane0, COM, PCIE */
<0x0 0x84c00 0x0 0xf4>; /* pcs_misc */
#phy-cells = <0>; #phy-cells = <0>;
clocks = <&gcc GCC_PCIE0_PIPE_CLK>; clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
......
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