]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: dts: spacemit: add 24c04 eeprom on Milk-V Jupiter
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 26 Mar 2026 18:35:30 +0000 (19:35 +0100)
committerYixun Lan <dlan@kernel.org>
Fri, 27 Mar 2026 02:17:28 +0000 (02:17 +0000)
commit77156216f1d0f57e1cfce3452410db20468edca4
treef6e5d9cc6c75c9b2549ffedefb8c264bece400fc
parent334e64abacd3df4005de80b082d0dbf02b453c76
riscv: dts: spacemit: add 24c04 eeprom on Milk-V Jupiter

The Milk-V Jupiter board includes a 24c04 eeprom on the i2c2 bus. The
eeprom contains an ONIE TLV table, which on the board I tested only
provides a product-name entry. Expose it via an onie,tlv-layout nvmem
layout.

The eeprom is marked as read-only since its contents are not supposed to
be modified.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Link: https://lore.kernel.org/r/20260326183745.1370642-3-aurelien@aurel32.net
Signed-off-by: Yixun Lan <dlan@kernel.org>
arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts