OrangePi_CM5/arch/arm64/boot/dts/marvell
Pali Rohár 8bfb959ea2 arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
commit a1cc1697bb56cdf880ad4d17b79a39ef2c294bc9 upstream.

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

Since commit 64f160e19e92 ("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 # 64f160e19e92 ("PCI: aardvark: Configure PCIe resources from 'ranges' DT property")
Cc: stable@vger.kernel.org # 514ef1e62d65 ("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:16:01 +01:00
..
Makefile arm64: dts: marvell: build ESPRESSObin variants 2020-03-15 10:36:43 +01:00
armada-37xx.dtsi arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0 2022-03-16 14:16:01 +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: indicate dts version 2020-03-15 10:35:34 +01:00
armada-3720-espressobin-v7-emmc.dts arm64: dts: marvell: espressobin: Add ethernet switch aliases 2020-09-24 10:16:16 +02:00
armada-3720-espressobin-v7.dts arm64: dts: marvell: espressobin: Add ethernet switch aliases 2020-09-24 10:16:16 +02: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: espressobin: Add ethernet switch aliases 2020-09-24 10:16:16 +02:00
armada-3720-turris-mox.dts arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0 2022-03-16 14:16:01 +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 arm64: dts: marvell: Convert 7k/8k usb-phy properties to phy-supply 2019-08-27 16:30:03 +02:00
armada-7040.dtsi arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040 2020-12-30 11:54:14 +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 arm64: dts: clearfog-gt-8k: fix switch link configuration 2020-07-19 18:11:10 -07:00
armada-8040-db.dts arm64: dts: marvell: Convert 7k/8k usb-phy properties to phy-supply 2019-08-27 16:30:03 +02:00
armada-8040-mcbin-singleshot.dts arm64: dts: update SolidRun Armada 8040 phy interface types 2020-05-17 17:43:48 +02: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: mcbin: support 2W SFP modules 2020-03-13 21:17:00 +01:00
armada-8040.dtsi arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040 2020-12-30 11:54:14 +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: marvell: add SMMU support 2020-07-18 23:08:23 +02: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: marvell: Add support for AP807/AP807-quad 2019-10-09 09:36:40 +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 arm64: dts: marvell: Externalize PCIe macros from CP11x file 2019-10-09 09:36:41 +02: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-db.dts arch/arm64/boot/dts/marvell: fix NAND partitioning scheme 2021-07-25 14:36:16 +02:00
cn9130.dtsi arm64: dts: marvell: cn9130: enable CP0 GPIO controllers 2022-01-27 10:53:58 +01:00
cn9131-db.dts arm64: dts: marvell: Add support for Marvell CN9131-DB 2019-10-09 09:36:41 +02:00
cn9132-db.dts arm64: dts: marvell: Add support for Marvell CN9132-DB 2019-10-09 09:36:41 +02:00