xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSocionext SynQuacer I2C
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible      : Must be "socionext,synquacer-i2c"
5*4882a593Smuzhiyun- reg             : Offset and length of the register set for the device
6*4882a593Smuzhiyun- interrupts      : A single interrupt specifier
7*4882a593Smuzhiyun- #address-cells  : Must be <1>;
8*4882a593Smuzhiyun- #size-cells     : Must be <0>;
9*4882a593Smuzhiyun- clock-names     : Must contain "pclk".
10*4882a593Smuzhiyun- clocks          : Must contain an entry for each name in clock-names.
11*4882a593Smuzhiyun                    (See the common clock bindings.)
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunOptional properties:
14*4882a593Smuzhiyun- clock-frequency : Desired I2C bus clock frequency in Hz. As only Normal and
15*4882a593Smuzhiyun                    Fast modes are supported, possible values are 100000 and
16*4882a593Smuzhiyun                    400000.
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunExample :
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun    i2c@51210000 {
21*4882a593Smuzhiyun        compatible = "socionext,synquacer-i2c";
22*4882a593Smuzhiyun        reg = <0x51210000 0x1000>;
23*4882a593Smuzhiyun        interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
24*4882a593Smuzhiyun        #address-cells = <1>;
25*4882a593Smuzhiyun        #size-cells = <0>;
26*4882a593Smuzhiyun        clock-names = "pclk";
27*4882a593Smuzhiyun        clocks = <&clk_i2c>;
28*4882a593Smuzhiyun        clock-frequency = <400000>;
29*4882a593Smuzhiyun    };
30