mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 21:33:24 +09:00
![Arthur Li](/assets/img/avatar_default.png)
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
19 lines
472 B
Plaintext
19 lines
472 B
Plaintext
* 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>;
|
|
};
|