Add interrupt controller support for RDA Micro RDA8810PL SoC.

Signed-off-by: Andreas Färber <afaer...@suse.de>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasi...@linaro.org>
---
 arch/arm/boot/dts/rda8810pl.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/rda8810pl.dtsi b/arch/arm/boot/dts/rda8810pl.dtsi
index 7f1ff2021eff..093d6980bfbd 100644
--- a/arch/arm/boot/dts/rda8810pl.dtsi
+++ b/arch/arm/boot/dts/rda8810pl.dtsi
@@ -9,6 +9,7 @@
 
 / {
        compatible = "rda,8810pl";
+       interrupt-parent = <&intc>;
        #address-cells = <1>;
        #size-cells = <1>;
 
@@ -49,6 +50,13 @@
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x0 0x20800000 0x100000>;
+
+                       intc: interrupt-controller {
+                               compatible = "rda,8810pl-intc";
+                               reg = <0x0 0x1000>;
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                       };
                };
 
                apb@20900000 {
-- 
2.17.1

Reply via email to