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 5b9a376..fb712b9 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 59828b0..455aaea 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 {