Skip to content
Commit 4c7938b8 authored by Phil Elwell's avatar Phil Elwell Committed by Dom Cobley
Browse files

ARM: dts: bcm2711-rpi: Set a 1GB ZONE_DMA limit

The arm64 initialisation uses the physical address reachable by all
DMA controllers to set the size of ZONE_DMA. This fails on BCM2711
with the current dts files because the declaration of the I/O space
fools it into thinking the legacy 30-bit DMA channels can see most
of the 32-bit space.

Take advantage of the simple nature of the implementation by adding
a node with a restricted dma-ranges property solely so to act as the
limiting factor in the calculation.

See: https://github.com/raspberrypi/linux/issues/5470



Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 6abd6fa7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment