diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2013-01-22 16:10:25 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-03-12 07:32:56 -0400 |
commit | 66bcb58ba430034e7d58a37bf4f7c6904d6442cf (patch) | |
tree | 441a9cbc928291e82d899ad9e0cfeae498645c74 /arch/arm/boot/dts/armada-370-mirabox.dts | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff) |
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 <gregory.clement@free-electrons.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-mirabox.dts')
-rw-r--r-- | arch/arm/boot/dts/armada-370-mirabox.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts index dd0c57dd9f30..193ae1467816 100644 --- a/arch/arm/boot/dts/armada-370-mirabox.dts +++ b/arch/arm/boot/dts/armada-370-mirabox.dts | |||
@@ -70,5 +70,16 @@ | |||
70 | usb@d0051000 { | 70 | usb@d0051000 { |
71 | status = "okay"; | 71 | status = "okay"; |
72 | }; | 72 | }; |
73 | |||
74 | i2c@d0011000 { | ||
75 | status = "okay"; | ||
76 | clock-frequency = <100000>; | ||
77 | pca9505: pca9505@25 { | ||
78 | compatible = "nxp,pca9505"; | ||
79 | gpio-controller; | ||
80 | #gpio-cells = <2>; | ||
81 | reg = <0x25>; | ||
82 | }; | ||
83 | }; | ||
73 | }; | 84 | }; |
74 | }; | 85 | }; |