]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 15 Sep 2022 14:34:30 +0000 (16:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Oct 2022 10:38:34 +0000 (12:38 +0200)
[ Upstream commit ed22cc93abae68f9d3fc4957c20a1d902cf28882 ]

The size of the PCIe PHY serdes register region is 0x1c4 and the
corresponding 'reg' property should specifically not include the
adjacent regions that are defined in the child node (e.g. tx and rx).

Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220915143431.19842-1-johan+linaro@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index d53675fc15959ab385e6bc7f8b1c5bf1814caa70..b9bf43215ada95364f563d8851dcda94d7af509a 100644 (file)
 
                pcie_qmp0: phy@86000 {
                        compatible = "qcom,ipq8074-qmp-pcie-phy";
-                       reg = <0x00086000 0x1000>;
+                       reg = <0x00086000 0x1c4>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges;
 
                pcie_qmp1: phy@8e000 {
                        compatible = "qcom,ipq8074-qmp-pcie-phy";
-                       reg = <0x0008e000 0x1000>;
+                       reg = <0x0008e000 0x1c4>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges;