]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: versal: Add eeprom for vpk120-revB
authorMichal Simek <michal.simek@xilinx.com>
Mon, 23 Aug 2021 13:16:30 +0000 (15:16 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 Aug 2021 13:51:39 +0000 (15:51 +0200)
RevB board has eeprom on directly on the bus without i2c mux. That's why
multimaster accesses works properly and eeprom can be listed.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/versal-vpk120-revB.dts

index c3ae5c259b540574042a9fd8556c647d3b90d041..c0de6bc4f3dcf45ebe9fc23f529e3233be1f3aea 100644 (file)
 &i2c1 { /* PMC_MIO44/45 */
        status = "okay";
        clock-frequency = <400000>;
+
+       /* Use for storing information about board */
+       eeprom: eeprom@54 { /* u34 - m24128 16kB */
+               compatible = "st,24c128", "atmel,24c128";
+               reg = <0x54>; /* & 0x5c */
+               u-boot,dm-pre-reloc;
+       };
 };
 
 /* PCIe at MIO 38/39/40/50 */