[openwrt/openwrt] lantiq: dts: mark PCI bridges as such
LEDE Commits
lede-commits at lists.infradead.org
Mon Apr 12 22:23:28 BST 2021
mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/276c85825c859f93d3f7ce501630af631e4d9e32
commit 276c85825c859f93d3f7ce501630af631e4d9e32
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Mon Dec 28 14:03:54 2020 +0100
lantiq: dts: mark PCI bridges as such
Use the device_type property to mark PCI host bridges as such. With
linux 5.10 it is mandatory, otherwise the PCI IO space is flages as PCI
memory and the PCI init fails.
Signed-off-by: Mathias Kresin <dev at kresin.me>
---
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi | 2 ++
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi | 2 ++
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi | 2 ++
3 files changed, 6 insertions(+)
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
index 362ecaa90c..0eec0c614d 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
@@ -412,6 +412,8 @@
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
req-mask = <0x1>;
+
+ device_type = "pci";
};
};
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
index bb3e9fb188..34d8289542 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
@@ -325,6 +325,8 @@
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
req-mask = <0x1>; /* GNT1 */
+
+ device_type = "pci";
};
};
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
index 3bb0b7e837..22d5509a33 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
@@ -520,6 +520,8 @@
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
req-mask = <0x1>; /* GNT1 */
+
+ device_type = "pci";
};
};
More information about the lede-commits
mailing list