linux/arch/arm64/boot/dts/marvell
Pali Rohár 72ea28d88d arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
commit a1cc1697bb upstream.

Legacy and old PCI I/O based cards do not support 32-bit I/O addressing.

Since commit 64f160e19e ("PCI: aardvark: Configure PCIe resources from
'ranges' DT property") kernel can set different PCIe address on CPU and
different on the bus for the one A37xx address mapping without any firmware
support in case the bus address does not conflict with other A37xx mapping.

So remap I/O space to the bus address 0x0 to enable support for old legacy
I/O port based cards which have hardcoded I/O ports in low address space.

Note that DDR on A37xx is mapped to bus address 0x0. And mapping of I/O
space can be set to address 0x0 too because MEM space and I/O space are
separate and so do not conflict.

Remapping IO space on Turris Mox to different address is not possible to
due bootloader bug.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 76f6386b25 ("arm64: dts: marvell: Add Aardvark PCIe support for Armada 3700")
Cc: stable@vger.kernel.org # 64f160e19e ("PCI: aardvark: Configure PCIe resources from 'ranges' DT property")
Cc: stable@vger.kernel.org # 514ef1e62d ("arm64: dts: marvell: armada-37xx: Extend PCIe MEM space")
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-16 14:23:43 +01:00
..
armada-37xx.dtsi arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0 2022-03-16 14:23:43 +01:00
armada-70x0.dtsi arm64: dts: marvell: Externalize PCIe macros from CP11x file 2019-10-09 09:36:41 +02:00
armada-80x0.dtsi arm64: dts: marvell: Externalize PCIe macros from CP11x file 2019-10-09 09:36:41 +02:00
armada-371x.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-372x.dtsi arm64: dts: Remove inconsistent use of 'arm,armv8' compatible string 2019-01-30 17:34:36 +01:00
armada-3720-db.dts arm64: dts: marvell: armada-37xx: Set pcie_reset_pin to gpio function 2020-05-17 17:51:43 +02:00
armada-3720-espressobin-emmc.dts arm64: dts: marvell: espressobin: De-duplicate eMMC definitions 2020-11-29 11:56:34 +01:00
armada-3720-espressobin-ultra.dts arm64: dts: marvell: add DT for ESPRESSObin-Ultra 2020-11-29 12:15:06 +01:00
armada-3720-espressobin-v7-emmc.dts arm64: dts: marvell: espressobin: Update link to V7 schematic 2020-11-30 11:16:57 +01:00
armada-3720-espressobin-v7.dts arm64: dts: marvell: espressobin: Update link to V7 schematic 2020-11-30 11:16:57 +01:00
armada-3720-espressobin.dts arm64: dts: marvell: add ESPRESSObin variants 2019-10-09 09:36:41 +02:00
armada-3720-espressobin.dtsi arm64: dts: marvell: armada-37xx: Add SATA comphy into main armada-37xx.dtsi file 2021-01-29 16:50:28 +01:00
armada-3720-turris-mox.dts arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0 2022-03-16 14:23:43 +01:00
armada-3720-uDPU.dts arm64: dts: add uDPU i2c bus recovery 2020-05-17 18:07:34 +02:00
armada-7020.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-7040-db.dts arch/arm64: dts: change 10gbase-kr to 10gbase-r in Armada 2021-07-23 14:35:05 +02:00
armada-7040.dtsi arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040 2020-11-30 16:46:29 +01:00
armada-8020.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-8040-clearfog-gt-8k.dts arm/arm64: dts: Fix remaining dtc 'unit_address_format' warnings 2021-08-26 13:46:29 +02:00
armada-8040-db.dts arch/arm64: dts: change 10gbase-kr to 10gbase-r in Armada 2021-07-23 14:35:05 +02:00
armada-8040-mcbin-singleshot.dts arm64: dts: mcbin-singleshot: add heartbeat LED 2020-11-30 16:46:29 +01:00
armada-8040-mcbin.dts arm64: dts: update SolidRun Armada 8040 phy interface types 2020-05-17 17:43:48 +02:00
armada-8040-mcbin.dtsi arm64: dts: marvell: enable CP110 UTMI PHY usage 2021-04-02 22:43:51 +02:00
armada-8040-puzzle-m801.dts arm64: dts: marvell: Add a device tree for the IEI Puzzle-M801 board 2020-11-29 12:05:09 +01:00
armada-8040.dtsi arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040 2020-11-30 16:46:29 +01:00
armada-8080-db.dts arm64: dts: marvell: armada-8080-db: use SPDX-License-Identifier 2018-02-14 13:24:48 +01:00
armada-8080.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-ap80x.dtsi arm64: dts: armada: add pwm offsets for ap/cp gpios 2021-01-29 16:54:48 +01:00
armada-ap806-dual.dtsi arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi 2020-03-15 10:37:00 +01:00
armada-ap806-quad.dtsi arm64: dts: marvell: Add AP806-quad cache description 2019-10-09 09:36:40 +02:00
armada-ap806.dtsi arm64: dts: marvell: Move clocks to AP806 specific file 2019-10-09 09:36:40 +02:00
armada-ap807-quad.dtsi arm64: dts: marvell: Fix cpu compatible for AP807-quad 2020-03-15 10:37:00 +01:00
armada-ap807.dtsi arm64: dts: ensure backward compatibility of the AP807 Xenon 2021-06-17 15:13:29 +02:00
armada-ap810-ap0-octa-core.dtsi arm64: dts: Remove inconsistent use of 'arm,armv8' compatible string 2019-01-30 17:34:36 +01:00
armada-ap810-ap0.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-common.dtsi arm64: dts: marvell: Prepare the introduction of CP115 2019-10-09 09:36:41 +02:00
armada-cp11x.dtsi ARM: devicetree changes for 5.13 2021-04-26 12:20:49 -07:00
armada-cp110.dtsi arm64: dts: marvell: Prepare the introduction of CP115 2019-10-09 09:36:41 +02:00
armada-cp115.dtsi arm64: dts: marvell: Add support for CP115 2019-10-09 09:36:41 +02:00
cn9130-crb-A.dts arm64: dts: add support for Marvell cn9130-crb platform 2021-07-23 14:34:26 +02:00
cn9130-crb-B.dts arm64: dts: add support for Marvell cn9130-crb platform 2021-07-23 14:34:26 +02:00
cn9130-crb.dtsi arm/arm64: dts: Fix remaining dtc 'unit_address_format' warnings 2021-08-26 13:46:29 +02:00
cn9130-db-B.dts arm64: dts: cn913x: add device trees for topology B boards 2021-07-23 14:33:11 +02:00
cn9130-db.dts arm64: dts: cn913x: add device trees for topology B boards 2021-07-23 14:33:11 +02:00
cn9130-db.dtsi arm/arm64: dts: Fix remaining dtc 'unit_address_format' warnings 2021-08-26 13:46:29 +02:00
cn9130.dtsi arm64: dts: marvell: cn9130: enable CP0 GPIO controllers 2022-01-27 11:03:41 +01:00
cn9131-db-B.dts arm64: dts: cn913x: add device trees for topology B boards 2021-07-23 14:33:11 +02:00
cn9131-db.dts arm64: dts: cn913x: add device trees for topology B boards 2021-07-23 14:33:11 +02:00
cn9131-db.dtsi arch/arm64: dts: change 10gbase-kr to 10gbase-r in Armada 2021-07-23 14:35:05 +02:00
cn9132-db-B.dts arm64: dts: cn913x: add device trees for topology B boards 2021-07-23 14:33:11 +02:00
cn9132-db.dts arm64: dts: cn913x: add device trees for topology B boards 2021-07-23 14:33:11 +02:00
cn9132-db.dtsi arch/arm64: dts: change 10gbase-kr to 10gbase-r in Armada 2021-07-23 14:35:05 +02:00
Makefile arm64: dts: add support for Marvell cn9130-crb platform 2021-07-23 14:34:26 +02:00