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, 10 Mar 2023 08:39:00 +0000 (09:39 +0100)
[ 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
Stable-dep-of: 7ba33591b45f ("arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index ae32e2380dd5afc28c6115bb978db82a8cddac32..a7ce999182e9e458c31be127fbbc5287b8149e3e 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;