From: Jianlong Huang Date: Fri, 1 Jul 2022 10:35:58 +0000 (+0800) Subject: configs: starfive: Add at24 config and device X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cd07e379d041120e44570d1484c310d54f39ab9;p=platform%2Fkernel%2Flinux-starfive.git configs: starfive: Add at24 config and device Signed-off-by: Jianlong Huang --- diff --git a/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dts b/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dts index f064529..72da42b 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dts +++ b/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dts @@ -483,6 +483,12 @@ pinctrl-names = "default"; pinctrl-0 = <&i2c5_pins>; status = "okay"; + + eeprom@50 { + compatible = "atmel,24c04"; + reg = <0x50>; + pagesize = <16>; + }; }; &i2c6 { diff --git a/arch/riscv/configs/starfive_visionfive2_defconfig b/arch/riscv/configs/starfive_visionfive2_defconfig index 45bc722..013e856 100644 --- a/arch/riscv/configs/starfive_visionfive2_defconfig +++ b/arch/riscv/configs/starfive_visionfive2_defconfig @@ -89,6 +89,7 @@ CONFIG_OF_CONFIGFS=y CONFIG_BLK_DEV_LOOP=y CONFIG_VIRTIO_BLK=y CONFIG_BLK_DEV_NVME=y +CONFIG_EEPROM_AT24=y CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=y CONFIG_SCSI_VIRTIO=y