xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/i2c-owl.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunActions Semiconductor Owl I2C controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible        : Should be one of the following:
6*4882a593Smuzhiyun		      - "actions,s700-i2c" for S700 SoC
7*4882a593Smuzhiyun		      - "actions,s900-i2c" for S900 SoC
8*4882a593Smuzhiyun- reg               : Offset and length of the register set for the device.
9*4882a593Smuzhiyun- #address-cells    : Should be 1.
10*4882a593Smuzhiyun- #size-cells       : Should be 0.
11*4882a593Smuzhiyun- interrupts        : A single interrupt specifier.
12*4882a593Smuzhiyun- clocks            : Phandle of the clock feeding the I2C controller.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunOptional properties:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun- clock-frequency   : Desired I2C bus clock frequency in Hz. As only Normal and
17*4882a593Smuzhiyun                      Fast modes are supported, possible values are 100000 and
18*4882a593Smuzhiyun                      400000.
19*4882a593SmuzhiyunExamples:
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun        i2c0: i2c@e0170000 {
22*4882a593Smuzhiyun                compatible = "actions,s900-i2c";
23*4882a593Smuzhiyun                reg = <0 0xe0170000 0 0x1000>;
24*4882a593Smuzhiyun                #address-cells = <1>;
25*4882a593Smuzhiyun                #size-cells = <0>;
26*4882a593Smuzhiyun                interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
27*4882a593Smuzhiyun                clocks = <&clock CLK_I2C0>;
28*4882a593Smuzhiyun                clock-frequency = <100000>;
29*4882a593Smuzhiyun        };
30