瀏覽代碼

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 年之前
父節點
當前提交
e45498cb04
共有 1 個文件被更改,包括 7 次插入0 次删除
  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 */
+	};
 };