]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
metag: tz1090: instantiate gpio-tz1090-pdc
authorJames Hogan <james.hogan@imgtec.com>
Mon, 22 Apr 2013 15:07:31 +0000 (16:07 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Mon, 22 Jul 2013 09:55:31 +0000 (10:55 +0100)
Instantiate the PDC GPIO controller driver from tz1090.dtsi ready for
when it is merged.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
arch/metag/boot/dts/tz1090.dtsi

index 66cf55de1825760d5966d3d96975e1fc09b746cc..24ea7d2e9138032c713088e70f5175cfa26155a4 100644 (file)
                                gpio-ranges = <&pinctrl 0 60 30>;
                        };
                };
+
+               pdc_gpios: gpios@02006500 {
+                       gpio-controller;
+                       #gpio-cells = <2>;
+
+                       compatible = "img,tz1090-pdc-gpio";
+                       reg = <0x02006500 0x100>;
+
+                       interrupt-parent = <&pdc>;
+                       interrupts =    <8  IRQ_TYPE_NONE>,
+                                       <9  IRQ_TYPE_NONE>,
+                                       <10 IRQ_TYPE_NONE>;
+                       gpio-ranges = <&pdc_pinctrl 0 0 7>;
+               };
        };
 };