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