Merge branch 'tunnels'
[linux.git] / Documentation / devicetree / bindings / i2c / i2c-mv64xxx.txt
1
2 * Marvell MV64XXX I2C controller
3
4 Required properties :
5
6  - reg             : Offset and length of the register set for the device
7  - compatible      : Should be "marvell,mv64xxx-i2c" or "allwinner,sun4i-i2c"
8                      or "marvell,mv78230-i2c" or "marvell,mv78230-a0-i2c"
9                      Note: Only use "marvell,mv78230-a0-i2c" for a very rare,
10                      initial version of the SoC which had broken offload
11                      support.  Linux auto-detects this and sets it
12                      appropriately.
13  - interrupts      : The interrupt number
14
15 Optional properties :
16
17  - clock-frequency : Desired I2C bus clock frequency in Hz. If not set the
18 default frequency is 100kHz
19
20 Examples:
21
22         i2c@11000 {
23                 compatible = "marvell,mv64xxx-i2c";
24                 reg = <0x11000 0x20>;
25                 interrupts = <29>;
26                 clock-frequency = <100000>;
27         };
28
29 For the Armada XP:
30
31         i2c@11000 {
32                 compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
33                 reg = <0x11000 0x100>;
34                 interrupts = <29>;
35                 clock-frequency = <100000>;
36         };