Add support "atmel,24c04" eeprom for StarFive VisionFive2 board.
Change-Id: If09c2165bda50df9f57c1dc6b3a3efb57a098669
Origin: upstream, https://source.denx.de/u-boot/u-boot/-/commit/
3421a45fdaed3ae243ea5852bc22ba643c94fa9d
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
u-boot,dm-spl;
};
};
+
+&i2c5_pins {
+ bootph-pre-ram;
+ i2c-pins {
+ bootph-pre-ram;
+ };
+};
+
+&i2c5 {
+ bootph-pre-ram;
+ eeprom@50 {
+ bootph-pre-ram;
+ };
+};
u-boot,dm-spl;
};
};
+
+&i2c5_pins {
+ bootph-pre-ram;
+ i2c-pins {
+ bootph-pre-ram;
+ };
+};
+
+&i2c5 {
+ bootph-pre-ram;
+ eeprom@50 {
+ bootph-pre-ram;
+ };
+};
pinctrl-names = "default";
pinctrl-0 = <&i2c5_pins>;
status = "okay";
+
+ eeprom@50 {
+ compatible = "atmel,24c04";
+ reg = <0x50>;
+ pagesize = <16>;
+ };
};
&i2c6 {