[PATCH v3 0/3] riscv: dts: spacemit: add 24c02 eeprom on BPI-F3
Aurelien Jarno
aurelien at aurel32.net
Fri Sep 26 10:54:36 PDT 2025
The BPI-F3 board has a 24c02 eeprom connected to the i2c bus #2. It
holds board data. This patchset adds support for it.
Changes between version 2 and version 3:
- Revert the name change for i2c2-0-cfg and i2c2-0-pins, the second cell
is not a function number, but an index.
Here is version 2 of this series:
https://lore.kernel.org/lkml/20250923205028.2355244-1-aurelien@aurel32.net/
Changes between version 1 and version 2:
- Rename i2c2-0-cfg and i2c2-0-pins into i2c2-4-cfg and i2c2-4-pins to match
the naming convention encoding the function number in the second cell.
- Rename the 24c02 supply name label to buck3_1v8
- Add a onie,tlv-layout nvmem layout describing the content of the 24c02 eeprom
Here is version 1 of this series:
https://lore.kernel.org/lkml/20250921210237.943370-1-aurelien@aurel32.net/
Aurelien Jarno (3):
riscv: dts: spacemit: enable the i2c2 adapter on BPI-F3
riscv: dts: spacemit: add 24c02 eeprom on BPI-F3
riscv: dts: spacemit: add i2c aliases on BPI-F3
.../boot/dts/spacemit/k1-bananapi-f3.dts | 33 ++++++++++++++++++-
arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi | 7 ++++
arch/riscv/boot/dts/spacemit/k1.dtsi | 13 ++++++++
3 files changed, 52 insertions(+), 1 deletion(-)
--
2.47.2
More information about the linux-riscv
mailing list