From: Valentin Longchamp Date: Mon, 27 May 2013 15:55:26 +0000 (+0200) Subject: ARM: kirkwood: add i2c-gpio controller for km_kirkwood X-Git-Tag: v5.15~19842^2~1^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e45498cb0490cf108a4b67ee761900c9179f663b;p=platform%2Fkernel%2Flinux-starfive.git ARM: kirkwood: add i2c-gpio controller for km_kirkwood This controller is used to access the reset management FPGA of the km_kirkwood boards. Signed-off-by: Valentin Longchamp Signed-off-by: Jason Cooper --- diff --git a/arch/arm/boot/dts/kirkwood-km_kirkwood.dts b/arch/arm/boot/dts/kirkwood-km_kirkwood.dts index 66b971b..5d9f5ea 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 */ + }; };