ARM: dts: bcm2711: Add pcie0 alias
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Wed, 26 Feb 2020 16:46:00 +0000 (17:46 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 27 Feb 2020 19:29:45 +0000 (11:29 -0800)
Some bcm2711 revisions have different DMA constraints on the their PCIE
bus. The lower common denominator, being able to access the lower 3GB of
memory, is the default setting for now. Newer SoC revisions are able to
access the whole memory space.

Raspberry Pi 4's firmware is aware of this limitation and will correct
the PCIE's dma-ranges property if a pcie0 alias is available. So add
it.

Fixes: d5c8dc0d4c88 ("ARM: dts: bcm2711: Enable PCIe controller")
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Phil Elwell <phil@raspberrypi.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm2711-rpi-4-b.dts

index b8c4b5b..efea891 100644 (file)
@@ -21,6 +21,7 @@
 
        aliases {
                ethernet0 = &genet;
+               pcie0 = &pcie0;
        };
 
        leds {