arm64: dts: marvell: armada-37xx: Increase PCIe IO size from 64 KiB to 1 MiB
authorPali Rohár <pali@kernel.org>
Thu, 13 Jan 2022 17:07:55 +0000 (18:07 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 27 Jan 2022 09:49:01 +0000 (10:49 +0100)
commit224d725d0458ac1d3335aef5b8a28cf136a2c889
tree60bfe222c50dae8c450aa9036abb09d4fe88cfd2
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
arm64: dts: marvell: armada-37xx: Increase PCIe IO size from 64 KiB to 1 MiB

Commit 514ef1e62d65 ("arm64: dts: marvell: armada-37xx: Extend PCIe MEM
space") increased size of PCIe MEM to 127 MiB, which is the maximal
possible size for allocated 128 MiB PCIe window. PCIe IO size in that
commit was unchanged.

Armada 3720 PCIe controller supports 32-bit IO space mapping so it is
possible to assign more than 64 KiB if address space for IO.

Currently controller has assigned 127 MiB + 64 KiB memory and therefore
there is 960 KiB of unused memory. So assign it to IO space by increasing
IO window from 64 KiB to 1 MiB.

DTS file armada-3720-turris-mox.dts already uses whole 128 MiB space, so
only update comment about 32-bit IO space mapping.

Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: 514ef1e62d65 ("arm64: dts: marvell: armada-37xx: Extend PCIe MEM space")
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
arch/arm64/boot/dts/marvell/armada-37xx.dtsi