mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-15 07:43:07 +00:00
7f5ea25062
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
18 lines
472 B
Text
18 lines
472 B
Text
* 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>;
|
|
};
|