External EEPROM Connection through I2C

Hi Team,

We are using JetPack 6.2 (L4T 36.5) on a custom carrier board with Jetson Orin NX.

We have connected a BR24G04NUX-3 EEPROM (used for storing device serial number information) to the I²C0 hardware bus. We are accessing the EEPROM through the I²C1 software bus and can see the EEPROM responding at addresses 0x56 and 0x57.

While checking the kernel configuration, I found that the AT24 EEPROM driver is already enabled as a module:

CONFIG_EEPROM_AT24=m

in:

Linux_for_Tegra/source/kernel/kernel-jammy-src/arch/arm64/configs/defconfig

My questions are:

  1. Is enabling CONFIG_EEPROM_AT24 sufficient for BR24G04NUX-3 EEPROM support?

  2. Do I need to add an EEPROM node in the device tree for the EEPROM to be detected and accessed by the AT24 driver?

  3. Are any additional changes required in the device tree or kernel configuration when using this EEPROM on a custom carrier board?

  4. Since the EEPROM is visible at addresses 0x56 and 0x57, how should the device tree node be configured for the BR24G04NUX-3 EEPROM?

  5. Could you please provide an example device tree configuration for this EEPROM?

Any guidance would be greatly appreciated.

Thanks.

— 🤖 This is an automated AI response. I’m here to help, but please verify important details! —

Based on the provided context, I’ll address the questions related to the Jetson Orin NX and the BR24G04NUX-3 EEPROM connection.

  1. Is enabling CONFIG_EEPROM_AT24 sufficient for BR24G04NUX-3 EEPROM support?

The provided context does not explicitly state that enabling CONFIG_EEPROM_AT24 is sufficient for BR24G04NUX-3 EEPROM support. However, it mentions that the AT24 EEPROM driver is already enabled as a module (CONFIG_EEPROM_AT24=m) in the kernel configuration. This suggests that the AT24 driver might support the BR24G04NUX-3 EEPROM, but it’s not explicitly confirmed.

  1. Do I need to add an EEPROM node in the device tree for the EEPROM to be detected and accessed by the AT24 driver?

The context does not provide a clear answer to this question. However, it mentions that the EEPROM is visible at addresses 0x56 and 0x57, which suggests that the EEPROM is already being detected by the system. Adding an EEPROM node in the device tree might be necessary to configure the EEPROM properly, but the context does not provide enough information to confirm this.

  1. Are any additional changes required in the device tree or kernel configuration when using this EEPROM on a custom carrier board?

The context does not provide any information about additional changes required in the device tree or kernel configuration for using the BR24G04NUX-3 EEPROM on a custom carrier board.

  1. Since the EEPROM is visible at addresses 0x56 and 0x57, how should the device tree node be configured for the BR24G04NUX-3 EEPROM?

The context does not provide any information about configuring the device tree node for the BR24G04NUX-3 EEPROM.

  1. Could you please provide an example device tree configuration for this EEPROM?

The context does not provide any example device tree configuration for the BR24G04NUX-3 EEPROM.

In summary, the provided context does not provide clear answers to the questions about the BR24G04NUX-3 EEPROM support on the Jetson Orin NX. It’s recommended to consult the official NVIDIA documentation or seek further assistance from NVIDIA support for more detailed information.

Note: The context mentions that the EEPROM is visible at addresses 0x56 and 0x57, which suggests that the EEPROM is already being detected by the system. However, the context does not provide enough information to confirm whether the AT24 driver supports the BR24G04NUX-3 EEPROM or whether additional changes are required in the device tree or kernel configuration.

— We support team will also look into your issue to have further suggestions soon. please stay tuned. —

Hi archa.cp,

Are you adding the custom EERPOM(BR24G04NUX-3) on I2C0?

For the CVM EEPROM on the devkit, it could be accessed through I2C0 0x50.
For the CVB EEPROM on the devkit, it could be accessed through I2C0 0x57

We are not clear about if your custom EEPROM can be handled by existing AT24 EEPROM driver.
Please provide the full dmesg and device tree for further check.
You can also request the vendor for the porting steps/resources.