All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: zynqmp: Define all eeproms for SC on vck190
@ 2021-09-24 13:04 Michal Simek
  0 siblings, 0 replies; only message in thread
From: Michal Simek @ 2021-09-24 13:04 UTC (permalink / raw)
  To: u-boot, git; +Cc: Raviteja Narayanam, Saeed Nowshadi

There are multiple eeproms on vck190 that's why list all of them.
FMC eeproms are present only when fmcs are plugged.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

U-Boot 2021.10-rc4-00055-g43682f4ae2ab (Sep 24 2021 - 14:27:37 +0200)

CPU:   ZynqMP
Silicon: v3
Model: Versal System Controller on a2197 Eval board RevA
Board: Xilinx ZynqMP
DRAM:  2 GiB
PMUFW:	v1.1
Xilinx I2C FRU format at nvmem0:
 Manufacturer Name: XILINX
 Product Name: VCK190
 Serial No: 822124130510
 Part Number: 043123456
 File ID: 0x0
 Revision Number: REV_B01
Xilinx I2C FRU format at nvmem1:
 Manufacturer Name: XILINX
 Product Name: X-EBM-01
 Serial No: 057922110-129412
 Part Number: 190
 File ID: 0x0
 Revision Number: REV_A02
Xilinx I2C FRU format at nvmem2:
 Manufacturer Name: XILINX
 Product Name: FMC-XM119-PMOD
 Serial No: 118690
 Part Number: 0
 File ID: 0x0
 Revision Number: B
Board area require minimum 5 fields
Xilinx I2C FRU format at nvmem3:
 Manufacturer Name: Avnet
 Product Name: FMC-IMAGEON
 Serial No: 9930
 Part Number: AES-FMCIMAGEON-G
 File ID: 0x0
 Revision Number: B
EL Level:	EL2
Chip ID:	zu4e
WDT:   Not found!

---
 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
index bd0ba557e072..f229880a7021 100644
--- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
+++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
@@ -24,6 +24,9 @@
 		i2c1 = &i2c1;
 		mmc0 = &sdhci1;
 		nvmem0 = &eeprom;
+		nvmem1 = &eeprom_ebm;
+		nvmem2 = &eeprom_fmc1;
+		nvmem3 = &eeprom_fmc2;
 		rtc0 = &rtc;
 		serial0 = &uart0;
 		serial1 = &dcc;
@@ -477,6 +480,10 @@
 				silabs,skip-recall;
 			};
 			/* and connector J212D */
+			eeprom_ebm: eeprom@52 { /* x-ebm module */
+				compatible = "st,24c128", "atmel,24c128";
+				reg = <0x52>;
+			};
 		};
 		fmc1: i2c@1 { /* FMCP1_IIC */
 			#address-cells = <1>;
@@ -484,6 +491,10 @@
 			reg = <1>;
 			/* FIXME connection to Samtec J51C */
 			/* expected eeprom 0x50 FMC cards */
+			eeprom_fmc1: eeprom@50 {
+				compatible = "st,24c128", "atmel,24c128";
+				reg = <0x50>;
+			};
 		};
 		fmc2: i2c@2 { /* FMCP2_IIC */
 			#address-cells = <1>;
@@ -491,6 +502,10 @@
 			reg = <2>;
 			/* FIXME connection to Samtec J53C */
 			/* expected eeprom 0x50 FMC cards */
+			eeprom_fmc2: eeprom@50 {
+				compatible = "st,24c128", "atmel,24c128";
+				reg = <0x50>;
+			};
 		};
 		i2c@3 { /* DDR4_DIMM1 */
 			#address-cells = <1>;
-- 
2.33.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-24 13:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 13:04 [PATCH] arm64: zynqmp: Define all eeproms for SC on vck190 Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.