Browse Source

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 <[email protected]>
Mathias Kresin 5 years ago
parent
commit
276c85825c

+ 2 - 0
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";
 		};
 	};
 

+ 2 - 0
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";
 		};
 	};
 

+ 2 - 0
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";
 		};
 	};