linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4/6] arm64: dts: realtek: Add realtek intc to RTD129x
@ 2019-07-07 13:23 Aleix Roca Nonell
  0 siblings, 0 replies; only message in thread
From: Aleix Roca Nonell @ 2019-07-07 13:23 UTC (permalink / raw)
  To: Andreas Färber, Rob Herring, Mark Rutland, Thomas Gleixner,
	Jason Cooper, Marc Zyngier
  Cc: Matthias Brugger, devicetree, linux-kernel, linux-arm-kernel

Add realtek's interrupt controller node and interrupt lines
to UART0

Signed-off-by: Aleix Roca Nonell <kernelrocks@gmail.com>
---
 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
index 9009db909fab..6f61b9858aa0 100644
--- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
@@ -29,8 +29,18 @@
 		/* Exclude up to 2 GiB of RAM */
 		ranges = <0x80000000 0x80000000 0x80000000>;
 
+		mux1_intc: intc@98007000 {
+			compatible = "realtek,rtd129x-intc-iso";
+			#interrupt-cells = <1>;
+			interrupt-controller;
+			reg = <0x98007000 0x4 0x98007040 0x4 0x98007004 0x4>;
+			interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
 		uart0: serial@98007800 {
 			compatible = "snps,dw-apb-uart";
+			interrupt-parent = <&mux1_intc>;
+			interrupts = <2>;
 			reg = <0x98007800 0x400>;
 			reg-shift = <2>;
 			reg-io-width = <4>;
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-07 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-07 13:23 [PATCH 4/6] arm64: dts: realtek: Add realtek intc to RTD129x Aleix Roca Nonell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).