From: Christian Lamparter Date: Fri, 24 Dec 2021 13:42:35 +0000 (+0100) Subject: apm821xx: remove broken PCIe MSI support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e841fd4a229e974a573b5e79d2f0e6247275b15;p=openwrt%2Fstaging%2Fblocktrron.git apm821xx: remove broken PCIe MSI support These never worked and upstream is in the process of removing them as well. Legacy PCI interrupt signaling is still working as before. Signed-off-by: Christian Lamparter --- diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi index 6bab8c41fc..f7c4c65401 100644 --- a/target/linux/apm821xx/dts/apm82181.dtsi +++ b/target/linux/apm821xx/dts/apm82181.dtsi @@ -421,31 +421,6 @@ #size-cells = <0>; }; - MSI: ppc4xx-msi@c10000000 { - compatible = "amcc,ppc4xx-msi", "ppc4xx-msi"; - reg = <0xc 0x10000000 0x100 - 0xc 0x10000000 0x100>; - sdr-base = <0x36C>; - msi-data = <0x00004440>; - msi-mask = <0x0000ffe0>; - interrupts =<0 1 2 3 4 5 6 7>; - interrupt-parent = <&MSI>; - #interrupt-cells = <1>; - #address-cells = <0>; - #size-cells = <0>; - msi-available-ranges = <0x0 0x100>; - interrupt-map = - <0 &UIC3 0x18 IRQ_TYPE_EDGE_RISING>, - <1 &UIC3 0x19 IRQ_TYPE_EDGE_RISING>, - <2 &UIC3 0x1a IRQ_TYPE_EDGE_RISING>, - <3 &UIC3 0x1b IRQ_TYPE_EDGE_RISING>, - <4 &UIC3 0x1c IRQ_TYPE_EDGE_RISING>, - <5 &UIC3 0x1d IRQ_TYPE_EDGE_RISING>, - <6 &UIC3 0x1e IRQ_TYPE_EDGE_RISING>, - <7 &UIC3 0x1f IRQ_TYPE_EDGE_RISING>; - status = "disabled"; - }; - PCIE0: pciex@d00000000 { device_type = "pci"; /* see ppc4xx_pci_find_bridge */ #interrupt-cells = <1>; diff --git a/target/linux/apm821xx/dts/meraki-mr24.dts b/target/linux/apm821xx/dts/meraki-mr24.dts index e20d4f1fa9..a876e77511 100644 --- a/target/linux/apm821xx/dts/meraki-mr24.dts +++ b/target/linux/apm821xx/dts/meraki-mr24.dts @@ -244,7 +244,3 @@ }; }; }; - -&MSI { - status = "okay"; -}; diff --git a/target/linux/apm821xx/dts/meraki-mx60.dts b/target/linux/apm821xx/dts/meraki-mx60.dts index 06dfa07965..05274e9d42 100644 --- a/target/linux/apm821xx/dts/meraki-mx60.dts +++ b/target/linux/apm821xx/dts/meraki-mx60.dts @@ -205,7 +205,3 @@ }; }; }; - -&MSI { - status = "okay"; -}; diff --git a/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi b/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi index 910817e5ed..c18c73d956 100644 --- a/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi +++ b/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi @@ -207,10 +207,6 @@ status = "okay"; }; -&MSI { - status = "okay"; -}; - &IIC0 { status = "okay"; diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts index 6ec3d3ee63..2e98a53292 100644 --- a/target/linux/apm821xx/dts/netgear-wndr4700.dts +++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts @@ -514,7 +514,3 @@ }; }; }; - -&MSI { - status = "okay"; -};