Skip to content

Commit

Permalink
ARM: kirkwood: add i2c-gpio controller for km_kirkwood
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Valentin Longchamp authored and Jason Cooper committed May 27, 2013
1 parent df6bf2e commit e45498c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/kirkwood-km_kirkwood.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
};

0 comments on commit e45498c

Please sign in to comment.