diff mbox

ARM: kirkwood: add i2c-gpio controller for km_kirkwood

Message ID 1369670126-27284-1-git-send-email-valentin.longchamp@keymile.com (mailing list archive)
State New, archived
Headers show

Commit Message

Valentin Longchamp May 27, 2013, 3:55 p.m. UTC
This controller is used to access the reset management FPGA of the
km_kirkwood boards.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
---
 arch/arm/boot/dts/kirkwood-km_kirkwood.dts | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Jason Cooper May 27, 2013, 4:20 p.m. UTC | #1
On Mon, May 27, 2013 at 05:55:26PM +0200, Valentin Longchamp wrote:
> This controller is used to access the reset management FPGA of the
> km_kirkwood boards.
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
> ---
>  arch/arm/boot/dts/kirkwood-km_kirkwood.dts | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to mvebu/dt

thx,

Jason.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/kirkwood-km_kirkwood.dts b/arch/arm/boot/dts/kirkwood-km_kirkwood.dts
index 5bbd054..64ee738 100644
--- a/arch/arm/boot/dts/kirkwood-km_kirkwood.dts
+++ b/arch/arm/boot/dts/kirkwood-km_kirkwood.dts
@@ -42,4 +42,11 @@ 
 			chip-delay = <25>;
 		};
 	};
+
+	i2c@0 {
+		compatible = "i2c-gpio";
+		gpios = < &gpio0 8 0		/* sda */
+			&gpio0 9 0 >;		/* scl */
+		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
+	};
 };