[PATCH v2 3/7] arm: a37xx: pci: Fix DT compatible string to Linux' DT compatible

Stefan Roese sr at denx.de
Thu May 27 08:20:25 CEST 2021


On 26.05.21 17:59, Pali Rohár wrote:
> Change DT compatible string for A3700 PCIe from 'marvell,armada-37xx-pcie'
> to 'marvell,armada-3700-pcie' to make U-Boot A3700 PCIe DT node compatible
> with Linux' DT node.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>
> Reviewed-by: Marek Behún <marek.behun at nic.cz>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   arch/arm/dts/armada-37xx.dtsi | 2 +-
>   drivers/pci/pci-aardvark.c    | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi
> index a1052add0cca..b7d325b40577 100644
> --- a/arch/arm/dts/armada-37xx.dtsi
> +++ b/arch/arm/dts/armada-37xx.dtsi
> @@ -323,7 +323,7 @@
>   		};
>   
>   		pcie0: pcie at d0070000 {
> -			compatible = "marvell,armada-37xx-pcie";
> +			compatible = "marvell,armada-3700-pcie";
>   			reg = <0 0xd0070000 0 0x20000>;
>   			#address-cells = <3>;
>   			#size-cells = <2>;
> diff --git a/drivers/pci/pci-aardvark.c b/drivers/pci/pci-aardvark.c
> index ee81b2ea46d3..ae1a20551fed 100644
> --- a/drivers/pci/pci-aardvark.c
> +++ b/drivers/pci/pci-aardvark.c
> @@ -717,7 +717,7 @@ static const struct dm_pci_ops pcie_advk_ops = {
>   };
>   
>   static const struct udevice_id pcie_advk_ids[] = {
> -	{ .compatible = "marvell,armada-37xx-pcie" },
> +	{ .compatible = "marvell,armada-3700-pcie" },
>   	{ }
>   };
>   
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list