Add i2c5 device configuration to device tree which used by SPL. Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
@@ -119,3 +119,20 @@
&gmac0_rmii_refin {
u-boot,dm-spl;
};
+
+&i2c5 {
+ clock-frequency = <100000>;
+ i2c-sda-hold-time-ns = <300>;
+ i2c-sda-falling-time-ns = <3000>;
+ i2c-scl-falling-time-ns = <3000>;
+ auto_calc_scl_lhcnt;
+ status = "okay";
+ u-boot,dm-spl;
+ eeprom@50 {
+ compatible = "atmel,24c04";
+ reg = <0x50>;
+ pagesize = <16>;
+ };
+};
@@ -19,7 +19,7 @@
ethernet1=&gmac1;
mmc0=&sdio0;
mmc1=&sdio1;
- i2c5 = &i2c5;
+ i2c0 = &i2c5;
chosen {