aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/dts/rtl838x.dtsi
diff options
context:
space:
mode:
authorBirger Koblitz <git@birger-koblitz.de>2021-01-21 14:11:35 +0100
committerPetr Štetiar <ynezz@true.cz>2021-01-26 15:06:50 +0100
commit03c79ca269e612faa55e3decd034c44f9b77c05c (patch)
tree0b1717c0793236e577804eb085b96990015ba135 /target/linux/realtek/dts/rtl838x.dtsi
parentcb39602399e3c3ee48b4f2c39df7bf759418584e (diff)
downloadupstream-03c79ca269e612faa55e3decd034c44f9b77c05c.tar.gz
upstream-03c79ca269e612faa55e3decd034c44f9b77c05c.tar.bz2
upstream-03c79ca269e612faa55e3decd034c44f9b77c05c.zip
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>
Diffstat (limited to 'target/linux/realtek/dts/rtl838x.dtsi')
-rw-r--r--target/linux/realtek/dts/rtl838x.dtsi9
1 files changed, 4 insertions, 5 deletions
diff --git a/target/linux/realtek/dts/rtl838x.dtsi b/target/linux/realtek/dts/rtl838x.dtsi
index 36d8847a15..b59b141f66 100644
--- a/target/linux/realtek/dts/rtl838x.dtsi
+++ b/target/linux/realtek/dts/rtl838x.dtsi
@@ -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";
};