1 LSI Axxia I2C 1 LSI Axxia I2C 2 2 3 Required properties : 3 Required properties : 4 - compatible : Must be "lsi,api2c" 4 - compatible : Must be "lsi,api2c" 5 - reg : Offset and length of the register set 5 - reg : Offset and length of the register set for the device 6 - interrupts : the interrupt specifier 6 - interrupts : the interrupt specifier 7 - #address-cells : Must be <1>; 7 - #address-cells : Must be <1>; 8 - #size-cells : Must be <0>; 8 - #size-cells : Must be <0>; 9 - clock-names : Must contain "i2c". 9 - clock-names : Must contain "i2c". 10 - clocks: Must contain an entry for each name 10 - clocks: Must contain an entry for each name in clock-names. See the common 11 clock bindings. 11 clock bindings. 12 12 13 Optional properties : 13 Optional properties : 14 - clock-frequency : Desired I2C bus clock freq 14 - clock-frequency : Desired I2C bus clock frequency in Hz. If not specified, 15 the default 100 kHz frequency will be used. 15 the default 100 kHz frequency will be used. As only Normal and Fast modes 16 are supported, possible values are 100000 an 16 are supported, possible values are 100000 and 400000. 17 17 18 Example : 18 Example : 19 19 20 i2c@2010084000 { 20 i2c@2010084000 { 21 compatible = "lsi,api2c"; 21 compatible = "lsi,api2c"; 22 device_type = "i2c"; 22 device_type = "i2c"; 23 #address-cells = <1>; 23 #address-cells = <1>; 24 #size-cells = <0>; 24 #size-cells = <0>; 25 reg = <0x20 0x10084000 0x00 0x1000>; 25 reg = <0x20 0x10084000 0x00 0x1000>; 26 interrupts = <0 19 4>; 26 interrupts = <0 19 4>; 27 clocks = <&clk_per>; 27 clocks = <&clk_per>; 28 clock-names = "i2c"; 28 clock-names = "i2c"; 29 clock-frequency = <400000>; 29 clock-frequency = <400000>; 30 }; 30 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.