arm64: tegra: Fix Tegra194 PCIe EP compatible string
authorVidya Sagar <vidyas@nvidia.com>
Tue, 27 Jul 2021 18:50:55 +0000 (00:20 +0530)
committerThierry Reding <treding@nvidia.com>
Mon, 2 Aug 2021 14:32:15 +0000 (16:32 +0200)
The initialization sequence performed by the generic platform driver
pcie-designware-plat.c for a DWC based implementation doesn't work for
Tegra194. Tegra194 has a different initialization sequence requirement
which can only be satisfied by the Tegra194 specific platform driver
pcie-tegra194.c. So, remove the generic compatible string "snps,dw-pcie-ep"
from Tegra194's endpoint controller nodes.

Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194.dtsi

index b7d5328..ad257fa 100644 (file)
        };
 
        pcie_ep@14160000 {
-               compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep";
+               compatible = "nvidia,tegra194-pcie-ep";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX4A>;
                reg = <0x00 0x14160000 0x0 0x00020000>, /* appl registers (128K)      */
                      <0x00 0x36040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
        };
 
        pcie_ep@14180000 {
-               compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep";
+               compatible = "nvidia,tegra194-pcie-ep";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8B>;
                reg = <0x00 0x14180000 0x0 0x00020000>, /* appl registers (128K)      */
                      <0x00 0x38040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
        };
 
        pcie_ep@141a0000 {
-               compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep";
+               compatible = "nvidia,tegra194-pcie-ep";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8A>;
                reg = <0x00 0x141a0000 0x0 0x00020000>, /* appl registers (128K)      */
                      <0x00 0x3a040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */