.../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(-)
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
Hi Aurelien, On 19:54 Fri 26 Sep , Aurelien Jarno wrote: > The BPI-F3 board has a 24c02 eeprom connected to the i2c bus #2. It > holds board data. This patchset adds support for it. > looks good to me, but will wait for others to give reviews, btw, generally, I will proceed after v6.18-rc1 is tagged.. Reviewed-by: Yixun Lan <dlan@gentoo.org> -- Yixun Lan (dlan)
On Fri, Sep 26, 2025 at 07:54:36PM +0200, Aurelien Jarno wrote: > 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(-) Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> > > -- > 2.47.2 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv
On 9/27/25 01:54, Aurelien Jarno wrote: > The BPI-F3 board has a 24c02 eeprom connected to the i2c bus #2. It > holds board data. This patchset adds support for it. Reviewed-by: Vivian Wang <wangruikang@iscas.ac.cn> I guess now it's up to me to figure out how to wire the MAC address nodes to the two ethernet nodes, after we get 6.18-rc1 of course. Theoretically it might not matter for Linux since a bootloader can set mac-address, but I think it would be a nice to have for less full-fledged boot situations. Thanks, Vivian "dramforever" Wang
On Fri, 26 Sep 2025 19:54:36 +0200, Aurelien Jarno wrote:
> 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.
>
> [...]
Applied, thanks!
[1/3] riscv: dts: spacemit: enable the i2c2 adapter on BPI-F3
https://github.com/spacemit-com/linux/commit/dcca2287773b69201b756723e8d45b6b8ad81b34
[2/3] riscv: dts: spacemit: add 24c02 eeprom on BPI-F3
https://github.com/spacemit-com/linux/commit/bfce75e2345fa1ecbf046e696994132f56d6db1c
[3/3] riscv: dts: spacemit: add i2c aliases on BPI-F3
https://github.com/spacemit-com/linux/commit/859ce3828f0b462e991c24224390def4c8fea673
Best regards,
--
Yixun Lan
© 2016 - 2026 Red Hat, Inc.