Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Actions Semiconductor Owl I2C controller
2
3Required properties:
4
5- compatible : Should be one of the following:
6 - "actions,s700-i2c" for S700 SoC
7 - "actions,s900-i2c" for S900 SoC
8- reg : Offset and length of the register set for the device.
9- #address-cells : Should be 1.
10- #size-cells : Should be 0.
11- interrupts : A single interrupt specifier.
12- clocks : Phandle of the clock feeding the I2C controller.
13
14Optional properties:
15
16- clock-frequency : Desired I2C bus clock frequency in Hz. As only Normal and
17 Fast modes are supported, possible values are 100000 and
18 400000.
19Examples:
20
21 i2c0: i2c@e0170000 {
22 compatible = "actions,s900-i2c";
23 reg = <0 0xe0170000 0 0x1000>;
24 #address-cells = <1>;
25 #size-cells = <0>;
26 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
27 clocks = <&clock CLK_I2C0>;
28 clock-frequency = <100000>;
29 };