ARM: dts: omap24xx: Enable gpio and interrupt controller for GPMC
authorRoger Quadros <rogerq@ti.com>
Thu, 7 Apr 2016 10:25:28 +0000 (13:25 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 12 Apr 2016 21:32:02 +0000 (14:32 -0700)
GPMC driver provides interrupts and gpio for the GPMC_WAIT pins.
Mark it as gpio and interrupt capable.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap2420.dtsi
arch/arm/boot/dts/omap2430.dtsi

index 5b9a376cc31eee01e38a0cbd8a5cb16b8bf6c04f..fb712b9aa87462bf0879dcc4331383fdb064e337 100644 (file)
                        gpmc,num-cs = <8>;
                        gpmc,num-waitpins = <4>;
                        ti,hwmods = "gpmc";
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
                };
 
                mcbsp1: mcbsp@48074000 {
index 59828b0e34f148a4af40584ba3990fcf77208a56..455aaea407ddeb1f34449bd917a07bd95d69e166 100644 (file)
                        gpmc,num-cs = <8>;
                        gpmc,num-waitpins = <4>;
                        ti,hwmods = "gpmc";
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
                };
 
                mcbsp1: mcbsp@48074000 {