realtek: add support for the RTL8390 and RTL9300 SoC IRQs

This adds support for the RTL8390 and RTL9300 SoCs
it also cleans up unnecessary definitions in mach-rtl83xx.h
and moves definitions relevant for irq routing to irq.h

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
This commit is contained in:
Birger Koblitz
2021-01-21 14:11:35 +01:00
committed by Petr Štetiar
parent cb39602399
commit 03c79ca269
4 changed files with 174 additions and 150 deletions

View File

@@ -101,8 +101,8 @@
clock-frequency = <200000000>;
interrupt-parent = <&cpuintc>;
interrupts = <3>;
interrupt-parent = <&intc>;
interrupts = <31>;
reg-io-width = <1>;
reg-shift = <2>;
@@ -180,9 +180,8 @@
switch0: switch@bb000000 {
status = "okay";
interrupt-parent = <&cpuintc>;
interrupts = <4>;
interrupt-parent = <&intc>;
interrupts = <20>;
compatible = "realtek,rtl83xx-switch";
};