From: James Hogan Date: Mon, 22 Apr 2013 15:07:31 +0000 (+0100) Subject: metag: tz1090: instantiate gpio-tz1090-pdc X-Git-Tag: firefly_0821_release~176^2~5379^2~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8a697827540d54443f343b058b8dac695c847f9f;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/arch/metag/boot/dts/tz1090.dtsi b/arch/metag/boot/dts/tz1090.dtsi index 66cf55de1825..24ea7d2e9138 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>; + }; }; };