From: Gregory CLEMENT Date: Tue, 22 Jan 2013 21:10:25 +0000 (+0100) Subject: arm: mvebu: enable gpio expander over i2c on Mirabox platform X-Git-Tag: upstream/snapshot3+hdmi~5161^2~3^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66bcb58ba430034e7d58a37bf4f7c6904d6442cf;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git arm: mvebu: enable gpio expander over i2c on Mirabox platform The Globalscale Mirabox platform can be connected to the JTAG/GPIO box through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port expansion IC to provide 40-bit parallel input/output GPIOs. This patch enable the use of this expander on the Mirabox. Signed-off-by: Gregory CLEMENT Acked-by: Linus Walleij Signed-off-by: Jason Cooper --- diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts index dd0c57d..193ae14 100644 --- a/arch/arm/boot/dts/armada-370-mirabox.dts +++ b/arch/arm/boot/dts/armada-370-mirabox.dts @@ -70,5 +70,16 @@ usb@d0051000 { status = "okay"; }; + + i2c@d0011000 { + status = "okay"; + clock-frequency = <100000>; + pca9505: pca9505@25 { + compatible = "nxp,pca9505"; + gpio-controller; + #gpio-cells = <2>; + reg = <0x25>; + }; + }; }; };