Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
2* Marvell MV64XXX I2C controller
3
4Required properties :
5
6 - reg : Offset and length of the register set for the device
7 - compatible : Should be either:
8 - "allwinner,sun4i-a10-i2c"
9 - "allwinner,sun6i-a31-i2c"
10 - "marvell,mv64xxx-i2c"
11 - "marvell,mv78230-i2c"
12 - "marvell,mv78230-a0-i2c"
13 * Note: Only use "marvell,mv78230-a0-i2c" for a
14 very rare, initial version of the SoC which
15 had broken offload support. Linux
16 auto-detects this and sets it appropriately.
17 - interrupts : The interrupt number
18
19Optional properties :
20
21 - clock-frequency : Desired I2C bus clock frequency in Hz. If not set the
22default frequency is 100kHz
23
24 - resets : phandle to the parent reset controller. Mandatory
25 whenever you're using the "allwinner,sun6i-a31-i2c"
26 compatible.
27
28Examples:
29
30 i2c@11000 {
31 compatible = "marvell,mv64xxx-i2c";
32 reg = <0x11000 0x20>;
33 interrupts = <29>;
34 clock-frequency = <100000>;
35 };
36
37For the Armada XP:
38
39 i2c@11000 {
40 compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
41 reg = <0x11000 0x100>;
42 interrupts = <29>;
43 clock-frequency = <100000>;
44 };