aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArthur Li <arthur.li@cortina-access.com>2020-06-01 12:56:31 -0700
committerHeiko Schocher <hs@denx.de>2020-07-09 06:02:44 +0200
commit7f5ea25062001589f301813416119b5353caca16 (patch)
tree6d18cd33addbd951806eb3f30ddda597a7936b7e /doc
parent5c2c3e8b44e7fa9bc81e6e367797b3ee2b424168 (diff)
downloadu-boot-7f5ea25062001589f301813416119b5353caca16.zip
u-boot-7f5ea25062001589f301813416119b5353caca16.tar.gz
u-boot-7f5ea25062001589f301813416119b5353caca16.tar.bz2
i2c: i2c-cortina: added CAxxxx I2C support
Add I2C controller support for Cortina Access CAxxxx SoCs Signed-off-by: Arthur Li <arthur.li@cortina-access.com> Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com> CC: Heiko Schocher <hs@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de> hs: fixed build error, add include log.h
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/i2c/i2c-cortina.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/i2c/i2c-cortina.txt b/doc/device-tree-bindings/i2c/i2c-cortina.txt
new file mode 100644
index 0000000..59d5235
--- /dev/null
+++ b/doc/device-tree-bindings/i2c/i2c-cortina.txt
@@ -0,0 +1,18 @@
+* I2C for Cortina platforms
+
+Required properties :
+- compatible : Must be "cortina,ca-i2c"
+- reg : Offset and length of the register set for the device
+
+Recommended properties :
+- clock-frequency : desired I2C bus clock frequency in Hz. If not specified,
+ default value is 100000. Possible values are 100000,
+ 400000 and 1000000.
+
+Examples :
+
+ i2c: i2c@f4329120 {
+ compatible = "cortina,ca-i2c";
+ reg = <0x0 0xf4329120 0x28>;
+ clock-frequency = <400000>;
+ };