Skip to contentSkip to conversation

arm64: dts: rockchip: rk3399-nanopi-r4s-enterprise: Fix EEPROM compatible

PATCH Applied Chen-Yu Tsai 2 participants 2 messages May 5 – Jun 1

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: rk3399-nanopi-r4s-enterprise: Fix EEPROM compatible

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.

---
This should probably not be backported without the matching changes to the DT binding and the at24 driver.

 arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s-enterprise.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s-enterprise.dts +1 -1
index b76f98962076..e366f1a04b32 100644
@@ -16,7 +16,7 @@ &gmac {
 
 &i2c2 {
 	eeprom@51 {
-		compatible = "microchip,24c02", "atmel,24c02";
+		compatible = "microchip,24aa025e48";
 		reg = <0x51>;
 		pagesize = <16>;
 		size = <256>;
Signature · 1 line
2.47.3
maintainer Applied
#1 lore raw
Quoted 9 lines · Chen-Yu Tsai

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.

[...]

Applied, thanks!

[1/1] arm64: dts: rockchip: rk3399-nanopi-r4s-enterprise: Fix EEPROM compatible

      commit: ab1375e25ea3fef62a4a5a93abf5d03d67aaf99c

Best regards,

Signature · 6 lines
Heiko Stuebner <[email protected]>

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip