]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: Fix EEPROM compatible on rk3399-nanopi-r4s-enterprise
authorChen-Yu Tsai <wens@kernel.org>
Tue, 5 May 2026 16:52:43 +0000 (00:52 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 1 Jun 2026 09:37:39 +0000 (11:37 +0200)
The EEPROM used on the R4S (enterprise) is the 24AA025E48T-I/OT from
MicroChip. This is a 2-Kbit EEPROM with 16-byte page size. The latter
half of the EEPROM is read-only, and the last 48 bits contain a globally
unique MAC address. That is to say this is not an ordinary EEPROM.

The compatible for this type of EEPROM was introduced later that the
board. Switch over to the correct compatible now that it is available.

Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Link: https://patch.msgid.link/20260505165244.1902-1-wens@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s-enterprise.dts

index b76f9896207660613a813461d03c7b2dd50e3d09..e366f1a04b32a5a38687a6f294cb0fdd0d125399 100644 (file)
@@ -16,7 +16,7 @@
 
 &i2c2 {
        eeprom@51 {
-               compatible = "microchip,24c02", "atmel,24c02";
+               compatible = "microchip,24aa025e48";
                reg = <0x51>;
                pagesize = <16>;
                size = <256>;