]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: dts: starfive: jh7110-common: add eeprom node to i2c5
authorE Shattow <e@freeshell.de>
Fri, 2 May 2025 10:30:43 +0000 (03:30 -0700)
committerConor Dooley <conor.dooley@microchip.com>
Thu, 15 May 2025 20:08:27 +0000 (21:08 +0100)
StarFive VisionFive2 and similar JH7110 boards have an eeprom compatible
with Atmel 24c04. Add the node so this may be used with the at24 driver.

Signed-off-by: E Shattow <e@freeshell.de>
Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/starfive/jh7110-common.dtsi

index 0d6932220968237c91b34b2d9fd765cee0b6514d..e7286c918c9b3f4079b5ba42063cba6462a49dae 100644 (file)
                        };
                };
        };
+
+       eeprom@50 {
+               compatible = "atmel,24c04";
+               reg = <0x50>;
+               pagesize = <16>;
+       };
 };
 
 &i2c6 {