lantiq: dts: mark PCI bridges as such
authorMathias Kresin <dev@kresin.me>
Mon, 28 Dec 2020 13:03:54 +0000 (14:03 +0100)
committerMathias Kresin <dev@kresin.me>
Mon, 12 Apr 2021 21:23:09 +0000 (23:23 +0200)
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@kresin.me>
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi

index 362ecaa90cbf45c37830cfe2e1578a110659d133..0eec0c614d07c0feebb0a6a1d41dd7c0bad58dc1 100644 (file)
                        interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
                        interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
                        req-mask = <0x1>;
+
+                       device_type = "pci";
                };
        };
 
index bb3e9fb188266474561af8457718882ecad8126e..34d828954254275b0da14663757659ab374f0f44 100644 (file)
                        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";
                };
        };
 
index 3bb0b7e8371f3098096b758a78652e474fdf3895..22d5509a33faa0665de6c8e3e46ce0655d65ff62 100644 (file)
                        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";
                };
        };