arm: a37xx: pci: Find PCIe controller node by compatible instead of path
authorPali Rohár <pali@kernel.org>
Wed, 26 May 2021 15:59:37 +0000 (17:59 +0200)
committerStefan Roese <sr@denx.de>
Fri, 4 Jun 2021 09:32:41 +0000 (11:32 +0200)
commit46b679e3ec344c4cf9e1c18409bcfe822ca7ff01
tree2a603cdf8a87031be91400f4a13293e1362f8839
parenta544d65f1ddf0a14c49ca137aea1f2407edddb4c
arm: a37xx: pci: Find PCIe controller node by compatible instead of path

Find PCIe DT node by compatible string instead of retrieving it by using
hardcoded DT path.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/armada3700/cpu.c