Hi, Based on discussion with Rob we should be using nvmem alias to pointing to eeprom which stores information about device. ZynqMP boards are using format which is based on offset. The code is reading it and setup environment variables based on it. They can be used within scripts to automate different behavior for specific boards.
Thanks, Michal Michal Simek (3): dm: core: Add support for getting node from aliases xilinx: board: Read the whole eeprom not just offset xilinx: board: Add support for additional card detection board/xilinx/common/board.c | 242 ++++++++++++++++++++++++++++++++++- board/xilinx/common/board.h | 2 + board/xilinx/versal/board.c | 3 + board/xilinx/zynqmp/zynqmp.c | 3 + drivers/core/ofnode.c | 22 ++++ include/dm/ofnode.h | 22 ++++ test/dm/ofnode.c | 22 ++++ 7 files changed, 315 insertions(+), 1 deletion(-) -- 2.28.0