Back to home page

OSCL-LXR

 
 

    


0001 LSI Axxia I2C
0002 
0003 Required properties :
0004 - compatible : Must be "lsi,api2c"
0005 - reg : Offset and length of the register set for the device
0006 - interrupts : the interrupt specifier
0007 - #address-cells : Must be <1>;
0008 - #size-cells : Must be <0>;
0009 - clock-names : Must contain "i2c".
0010 - clocks: Must contain an entry for each name in clock-names. See the common
0011   clock bindings.
0012 
0013 Optional properties :
0014 - clock-frequency : Desired I2C bus clock frequency in Hz. If not specified,
0015   the default 100 kHz frequency will be used. As only Normal and Fast modes
0016   are supported, possible values are 100000 and 400000.
0017 
0018 Example :
0019 
0020 i2c@2010084000 {
0021         compatible = "lsi,api2c";
0022         device_type = "i2c";
0023         #address-cells = <1>;
0024         #size-cells = <0>;
0025         reg = <0x20 0x10084000 0x00 0x1000>;
0026         interrupts = <0 19 4>;
0027         clocks = <&clk_per>;
0028         clock-names = "i2c";
0029         clock-frequency = <400000>;
0030 };