Back to home page

OSCL-LXR

 
 

    


0001 Socionext SynQuacer I2C
0002 
0003 Required properties:
0004 - compatible      : Must be "socionext,synquacer-i2c"
0005 - reg             : Offset and length of the register set for the device
0006 - interrupts      : A single interrupt specifier
0007 - #address-cells  : Must be <1>;
0008 - #size-cells     : Must be <0>;
0009 - clock-names     : Must contain "pclk".
0010 - clocks          : Must contain an entry for each name in clock-names.
0011                     (See the common clock bindings.)
0012 
0013 Optional properties:
0014 - clock-frequency : Desired I2C bus clock frequency in Hz. As only Normal and
0015                     Fast modes are supported, possible values are 100000 and
0016                     400000.
0017 
0018 Example :
0019 
0020     i2c@51210000 {
0021         compatible = "socionext,synquacer-i2c";
0022         reg = <0x51210000 0x1000>;
0023         interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
0024         #address-cells = <1>;
0025         #size-cells = <0>;
0026         clock-names = "pclk";
0027         clocks = <&clk_i2c>;
0028         clock-frequency = <400000>;
0029     };