From 8a697827540d54443f343b058b8dac695c847f9f Mon Sep 17 00:00:00 2001 From: James Hogan Date: Mon, 22 Apr 2013 16:07:31 +0100 Subject: [PATCH] metag: tz1090: instantiate gpio-tz1090-pdc Instantiate the PDC GPIO controller driver from tz1090.dtsi ready for when it is merged. Signed-off-by: James Hogan Acked-by: Linus Walleij Acked-by: Grant Likely --- arch/metag/boot/dts/tz1090.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/metag/boot/dts/tz1090.dtsi b/arch/metag/boot/dts/tz1090.dtsi index 66cf55de182..24ea7d2e913 100644 --- a/arch/metag/boot/dts/tz1090.dtsi +++ b/arch/metag/boot/dts/tz1090.dtsi @@ -90,5 +90,19 @@ 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>; + }; }; }; -- 2.43.2