Suneel Garapati | 5c2c3e8 | 2020-05-26 14:13:07 +0200 | [diff] [blame] | 1 | * I2C controller embedded in Marvell Octeon platforms |
| 2 | |
| 3 | Required 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 | |
| 10 | Optional 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 | |
| 15 | Example : |
| 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 | }; |