[PATCH 3/3] mips: dts: Connect the EcoNet EN751221 intc to IP2-IP6

From: Akshat Singh via B4 Relay

Date: Sun Nov 15 2026 - 14:26:08 EST


From: Akshat Singh <automobilehacks@xxxxxxxxx>

The interrupt controller presents the number of the pending interrupt
plus one, in binary, on the CPU interrupt lines IP2-IP7. Without VEIC,
chaining it to IP2 alone leaves the odd-numbered interrupts, such as the
QDMA, xHCI and the first PCIe port, waiting for an even-numbered one to
run the handler.

List IP2-IP6. IP7 is left out: the CPU can also signal its own timer on
it, and only hwirq 31, which is unused, needs it.

Signed-off-by: Akshat Singh <automobilehacks@xxxxxxxxx>
---
arch/mips/boot/dts/econet/en751221.dtsi | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/mips/boot/dts/econet/en751221.dtsi b/arch/mips/boot/dts/econet/en751221.dtsi
index 57ae84a8a..5e3f626b5 100644
--- a/arch/mips/boot/dts/econet/en751221.dtsi
+++ b/arch/mips/boot/dts/econet/en751221.dtsi
@@ -66,7 +66,12 @@ intc: interrupt-controller@1fb40000 {
compatible = "econet,en751221-intc";
reg = <0x1fb40000 0x100>;
interrupt-parent = <&cpuintc>;
- interrupts = <2>;
+ /*
+ * The number of the pending interrupt plus one is presented in
+ * binary on IP2-IP7. IP7 is left out: the CPU can also signal its
+ * own timer on it, and only hwirq 31, which is unused, needs it.
+ */
+ interrupts = <2>, <3>, <4>, <5>, <6>;

interrupt-controller;
#interrupt-cells = <1>;

--
2.43.0