From 0e841fd4a229e974a573b5e79d2f0e6247275b15 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Fri, 24 Dec 2021 14:42:35 +0100 Subject: [PATCH] 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 --- target/linux/apm821xx/dts/apm82181.dtsi | 25 ------------------- target/linux/apm821xx/dts/meraki-mr24.dts | 4 --- target/linux/apm821xx/dts/meraki-mx60.dts | 4 --- .../linux/apm821xx/dts/netgear-wndap6x0.dtsi | 4 --- .../linux/apm821xx/dts/netgear-wndr4700.dts | 4 --- 5 files changed, 41 deletions(-) diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi index 6bab8c41fcd1..f7c4c654017d 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 e20d4f1fa942..a876e775110e 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 06dfa07965cd..05274e9d42e0 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 910817e5edf2..c18c73d95672 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 6ec3d3ee6355..2e98a53292e0 100644 --- a/target/linux/apm821xx/dts/netgear-wndr4700.dts +++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts @@ -514,7 +514,3 @@ }; }; }; - -&MSI { - status = "okay"; -}; -- 2.30.2