[PATCH v1 1/3] realtek: drop routing for unused interrupts

Sander Vanheule sander at svanheule.net
Sun Feb 13 06:42:55 PST 2022


Drop routing entries for hardware that is not present (GPIO EFGH, RTC)
or currently not used (bridge timeouts, timers on RLT838x, USB on
RTL930x).

Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
 target/linux/realtek/dts-5.10/rtl838x.dtsi | 7 -------
 target/linux/realtek/dts-5.10/rtl930x.dtsi | 1 -
 2 files changed, 8 deletions(-)

diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi
index 899c1731fb51..a5713748a9ea 100644
--- a/target/linux/realtek/dts-5.10/rtl838x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi
@@ -96,15 +96,8 @@
 			interrupt-map =
 				<31 &cpuintc 2>, /* UART0 */
 				<30 &cpuintc 1>, /* UART1 */
-				<29 &cpuintc 5>, /* TC0 */
-				<28 &cpuintc 1>, /* TC1 */
-				<27 &cpuintc 1>, /* OCPTO */
-				<26 &cpuintc 1>, /* HLXTO */
-				<25 &cpuintc 1>, /* SLXTO */
 				<24 &cpuintc 4>, /* NIC */
 				<23 &cpuintc 4>, /* GPIO_ABCD */
-				<22 &cpuintc 4>, /* GPIO_EFGH */
-				<21 &cpuintc 4>, /* RTC */
 				<20 &cpuintc 3>, /* SWCORE */
 				<19 &cpuintc 4>, /* WDT_IP1 */
 				<18 &cpuintc 5>; /* WDT_IP2 */
diff --git a/target/linux/realtek/dts-5.10/rtl930x.dtsi b/target/linux/realtek/dts-5.10/rtl930x.dtsi
index a4c9757505f5..38630bb6c26a 100644
--- a/target/linux/realtek/dts-5.10/rtl930x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl930x.dtsi
@@ -101,7 +101,6 @@
 			interrupt-map =
 				<31 &cpuintc 1>, /* UART1 */
 				<30 &cpuintc 2>, /* UART0 */
-				<28 &cpuintc 1>, /* USB_H2 */
 				<24 &cpuintc 4>, /* NIC */
 				<23 &cpuintc 3>, /* SWCORE */
 				<13 &cpuintc 4>, /* GPIO_ABCD */
-- 
2.34.1




More information about the openwrt-devel mailing list