/
Using I2C in Linux
  • Ready for review
  • Using I2C in Linux

    Using I2C in Linux

    The Trizeps and Myon CPU modules may be configured to have multiple I2C busses.

    Myon I

    Pins

    IO-Port

    Driver Index

    Description

    Pins

    IO-Port

    Driver Index

    Description

    66,68

    I2C4

    3

    typical connected to touch-controller

    119,121

    I2C6

    5

    I2C devices

    Trizeps VII

    Pins

    Port

    Driver Index

    Description

    Pins

    Port

    Driver Index

    Description

    194,196

    I2C2

    1

    primary I2C interface

    94,96

    I2C1

    0

    secondary I2C interface

    The PMFP0100 PMIC (7-bit address 0x08) of the Trizeps VII is connected to the primary I2C interface.

    Trizeps VIII

    Pins

    Port

    Driver Index

    Description

    Pins

    Port

    Driver Index

    Description

    194,196

    I2C2

    1

    primary I2C interface

    94,96

    I2C1

    0

    secondary I2C interface

    -

    I2C3

    2

    internal I2C interface

    The following devices are attached to the internal I2C interface:

    7bit

    8bit

    Description

    7bit

    8bit

    Description

    0x08

    0x10

    PMFP0100 PMIC

    0x10

    0x20

    MKV11 Kinetis MCU

    0x1A

    0x34

    WM8983 Audio Codec

    0x2C

    0x58

    MIPI to LVDS transceiver

    0x40

    0x80

    FPGA primary config address

    0x41

    0x82

    FPGA primary user mode

    0x42

    0x84

    FPGA secondary user mode

    0x43

    0x86

    FPGA primary config reset

    0x60

    0xC0

    VDD_SOC regulatur

    Trizeps VIII Mini

    Pins

    Port

    Driver Index

    Description

    Pins

    Port

    Driver Index

    Description

    194,196

    I2C2

    1

    primary I2C interface

    94,96

    I2C1

    0

    secondary I2C interface

    -

    I2C3

    2

    internal I2C interface

    The following devices are attached to the internal I2C interface:

    7bit

    8bit

    Description

    7bit

    8bit

    Description

    0x10

    0x20

    MKV11 Kinetis MCU

    0x1A

    0x34

    WM8983 Audio Codec

    0x2C

    0x58

    MIPI to LVDS transceiver

    0x40

    0x80

    FPGA primary config address

    0x41

    0x82

    FPGA primary user mode

    0x42

    0x84

    FPGA secondary user mode

    0x43

    0x86

    FPGA primary config reset

    0x4B

    0x96

    BD71847 PMIC

    Trizeps VIII Plus

    Pins

    Port

    Driver Index

    Description

    Pins

    Port

    Driver Index

    Description

    194,196

    I2C2

    1

    primary I2C interface

    94,96

    I2C1

    0

    secondary I2C interface

    -

    I2C3

    2

    internal I2C interface

    The following devices are attached to the internal I2C interface:

    7bit

    8bit

    Description

    7bit

    8bit

    Description

    0x10

    0x20

    MKV11 Kinetis MCU

    0x1A

    0x34

    WM8983/WM8962B Audio Codec

    0x25

    0x4A

    PCA9450 PMIC

    0x40

    0x80

    FPGA primary config address

    0x41

    0x82

    FPGA primary user mode

    0x43

    0x86

    FPGA primary config reset

    0x4A

    0x94

    WM8962B test functionality

    0x69

    0xD2

    WM8962B test functionality

    0x78

    0xF0

    ???

    Myon II

    Pins

    Port

    Driver Index

    Description

    Pins

    Port

    Driver Index

    Description

    J70-66,68

    I2C2

    1

    primary I2C interface

    J71-67,69

    I2C1

    0

    secondary I2C interface

    J71-19,21

    I2C3

    2

    internal I2C interface

    [J70-73,75]

    I2C4

    3

    special mounting option!

    The following devices are attached to the internal I2C interface:

    7bit

    8bit

    Description

    7bit

    8bit

    Description

    0x1A

    0x34

    WM8983 Audio Codec

    0x2C

    0x58

    MIPI to LVDS transceiver

    0x4B

    0x96

    BD71847 PMIC

    SBCSOM