[PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size

Zixian Zeng sycamoremoon376 at gmail.com
Mon Nov 23 19:31:44 PST 2026


Hi Aurelien,

On 2026/11/24 5:58, Aurelien Jarno wrote:
> Hi,
> 
> On 2026-11-23 12:41, Zixian Zeng wrote:
>> The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
>> 256 bytes with an 8-byte write page, which can be found in schematic[2].
>> The device tree declares pagesize = <16>, which does not match the
>> eeprom chip datasheet which declares pagesize 8 bytes.
> 
> Oops, I am not sure how I got that wrong. Sorry about that.
> 
>> EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
>> together, based on the chip model shown in the schematic diagram.
> 
> The k1-milkv-jupiter board is also affected with the same issue, despite
> using a slightly different EEPROM (24C04).
> 

The GT24C04A EEPROM used on k1-milkv-jupiter board doesn't seem to have
the same issue, which you can find "Page Size: 16 bytes" in datasheet:
https://www.giantec-semi.com/uploads/20220929/GT24C04A.pdf

But I don't have the board, simple test would be appreciated. Perhaps I
should include test steps in the commit message for the next revision.

Best regards,
Zixian



More information about the linux-riscv mailing list