blob: 9c1908ec2cc58be1d53f344bf2d63d88d3bd2926 [file] [log] [blame]
Suneel Garapatic6baea22020-05-26 14:13:07 +02001* I2C controller embedded in Marvell Octeon platforms
2
3Required properties :
4- compatible : Must be "cavium,octeon-7890-twsi" or a compatible string
5- reg : Offset and length of the register set for the device
6- clocks: Must contain the input clock of the I2C instance
7- #address-cells = <1>;
8- #size-cells = <0>;
9
10Optional properties :
11- clock-frequency : Desired I2C bus clock frequency in Hz. If not specified,
12 the default 100 kHz frequency will be used. As only Normal, Fast and Fast+
13 modes are implemented, possible values are 100000, 400000 and 1000000.
14
15Example :
16
17 i2c0: i2c@1180000001000 {
18 #address-cells = <1>;
19 #size-cells = <0>;
20 compatible = "cavium,octeon-7890-twsi";
21 reg = <0x11800 0x00001000 0x0 0x200>;
22 clock-frequency = <100000>;
23 clocks = <&sclk>;
24 };