aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@savoirfairelinux.com>2016-06-09 10:46:49 -0400
committerShawn Guo <shawnguo@kernel.org>2016-06-09 11:13:32 -0400
commitd6535e6a33168cc0bd49ac0712c32b64292bc1fb (patch)
treea9c72efc85ee9d1865debbe7726bfbc869719d27
parent97f5c1817b7e3c159b2c079df97415580096b7ad (diff)
ARM: dts: TS-4800: add FPGA's IRQ controller support
Enable FPGA's IRQ controller. It is in charge of dispatching interrupts generated by IPs in the FPGA. The SoC is notified that an interrupt occurred through a GPIO. Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm/boot/dts/imx51-ts4800.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx51-ts4800.dts b/arch/arm/boot/dts/imx51-ts4800.dts
index 0ff76a1bc0f1..0e80fb7bfb2d 100644
--- a/arch/arm/boot/dts/imx51-ts4800.dts
+++ b/arch/arm/boot/dts/imx51-ts4800.dts
@@ -165,6 +165,17 @@
165 reg = <0x12000 0x1000>; 165 reg = <0x12000 0x1000>;
166 syscon = <&syscon 0x10 6>; 166 syscon = <&syscon 0x10 6>;
167 }; 167 };
168
169 fpga_irqc: fpga-irqc@15000 {
170 compatible = "technologic,ts4800-irqc";
171 reg = <0x15000 0x1000>;
172 pinctrl-names = "default";
173 pinctrl-0 = <&pinctrl_interrupt_fpga>;
174 interrupt-parent = <&gpio2>;
175 interrupts= <9 IRQ_TYPE_LEVEL_HIGH>;
176 interrupt-controller;
177 #interrupt-cells = <1>;
178 };
168 }; 179 };
169}; 180};
170 181
@@ -228,6 +239,12 @@
228 >; 239 >;
229 }; 240 };
230 241
242 pinctrl_interrupt_fpga: fpgaicgrp {
243 fsl,pins = <
244 MX51_PAD_EIM_D27__GPIO2_9 0xe5
245 >;
246 };
247
231 pinctrl_lcd: lcdgrp { 248 pinctrl_lcd: lcdgrp {
232 fsl,pins = < 249 fsl,pins = <
233 MX51_PAD_DISP1_DAT0__DISP1_DAT0 0x5 250 MX51_PAD_DISP1_DAT0__DISP1_DAT0 0x5