Forráskód Böngészése

ARM: dts: imx6ul: enable GPC as extended interrupt controller

Enable GPC as extended interrupt controller of
GIC, as GPC needs to manage wakeup source for
low power modes.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Anson Huang 10 éve
szülő
commit
18619ff55d
1 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      arch/arm/boot/dts/imx6ul.dtsi

+ 4 - 1
arch/arm/boot/dts/imx6ul.dtsi

@@ -126,7 +126,7 @@
 		#address-cells = <1>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 		#size-cells = <1>;
 		compatible = "simple-bus";
 		compatible = "simple-bus";
-		interrupt-parent = <&intc>;
+		interrupt-parent = <&gpc>;
 		ranges;
 		ranges;
 
 
 		pmu {
 		pmu {
@@ -433,7 +433,10 @@
 			gpc: gpc@020dc000 {
 			gpc: gpc@020dc000 {
 				compatible = "fsl,imx6ul-gpc", "fsl,imx6q-gpc";
 				compatible = "fsl,imx6ul-gpc", "fsl,imx6q-gpc";
 				reg = <0x020dc000 0x4000>;
 				reg = <0x020dc000 0x4000>;
+				interrupt-controller;
+				#interrupt-cells = <3>;
 				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
 				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
+				interrupt-parent = <&intc>;
 			};
 			};
 
 
 			iomuxc: iomuxc@020e0000 {
 			iomuxc: iomuxc@020e0000 {