Browse Source

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 <valentin.longchamp@keymile.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Valentin Longchamp 12 years ago
parent
commit
e45498cb04
1 changed files with 7 additions and 0 deletions
  1. 7 0
      arch/arm/boot/dts/kirkwood-km_kirkwood.dts

+ 7 - 0
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 */
+	};
 };