diff options
author | Arthur Li <arthur.li@cortina-access.com> | 2020-06-01 12:56:31 -0700 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2020-07-09 06:02:44 +0200 |
commit | 7f5ea25062001589f301813416119b5353caca16 (patch) | |
tree | 6d18cd33addbd951806eb3f30ddda597a7936b7e /doc/device-tree-bindings | |
parent | 5c2c3e8b44e7fa9bc81e6e367797b3ee2b424168 (diff) |
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/device-tree-bindings')
-rw-r--r-- | doc/device-tree-bindings/i2c/i2c-cortina.txt | 18 |
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 0000000000..59d523582a --- /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>; + }; |