summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2013-05-27 17:55:26 +0200
committerJason Cooper <jason@lakedaemon.net>2013-05-27 16:19:58 +0000
commite45498cb0490cf108a4b67ee761900c9179f663b (patch)
tree358fb02e2de2dd941f476f53b915428551bf6098 /arch
parentdf6bf2e9a72eb0e77febb15e85a08c5477f874d7 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/kirkwood-km_kirkwood.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-km_kirkwood.dts b/arch/arm/boot/dts/kirkwood-km_kirkwood.dts
index 66b971bbe68f..5d9f5ea78700 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 */
+ };
};