The sysinfo currently uses the Toradex product ID table to print a detailed board model string. With various new SoMs that are released by Toradex, the PID table grows and needs maintenance effort which can be avoided.
Rather than printing the board model based on the PID table, rely on the model property of the device tree and the data written to the config block during manufacturing, which already describes the HW correctly. For example, the printed board model string will change from: Model: Toradex 0075 Verdin AM62 Dual 1GB WB IT V1.2A Serial#: 15412798 and become: Model: Toradex Verdin AM62 WB on Verdin Development Board Toradex SoM: 0075 V1.2A (00751200) Serial#: 15412798 This removes detailed SKU information such as the number of cores, memory size, WB capability and temperature rating, but the PID4, PID8 and revision of the SoM are still printed. The detailed information of the SoM can still be looked up using the printed information on the official Toradex website. Therefore, the 0243 Aquila iMX95 is the final entry in the Toradex product ID table. The decoupling also leads to changes in the DTB selection of the Verdin family modules, which currently uses the Toradex product ID table to determine whether the SoM is a WiFi or a non-WiFi module. From now on, the WiFi DTB is set as the default. This change is safe, as on non-WiFi modules this leaves the WiFi and BT devices unprobed. Further, the SDIO/UART signals are exposed to the edge connector on non-WiFi modules and can be used on the carrier. However, no Toradex carrier board makes use of these interfaces on the carrier and it can only be achieved with a customized board. For customized boards, it's expected to override the default selection by setting the 'fdtfile' env variable. Link: https://www.toradex.com/computer-on-modules Signed-off-by: Franz Schnyder <[email protected]> --- Franz Schnyder (8): toradex: verdin-am62: Set WiFI DTB as default for new PIDs toradex: verdin-am62p: Set WiFi DTB as default for new PIDs toradex: verdin-imx95: Set WiFi DTB as default for new PIDs toradex: verdin-imx8mp: Set WiFi DTB as default for new PIDs toradex: verdin-imx8mm: Set WiFi DTB as default for new PIDs toradex: common: Decouple board sysinfo from the product ID table toradex: tdx-cfg-block: Remove validation against PID table toradex: tdx-cfg-block: Remove product ID limitation board/toradex/common/tdx-cfg-block.c | 41 ++++------------------ board/toradex/common/tdx-cfg-block.h | 1 - board/toradex/common/tdx-common.c | 53 ++++++++++++++++++++++------- board/toradex/common/tdx-common.h | 7 ++++ board/toradex/verdin-am62/verdin-am62.c | 11 +++--- board/toradex/verdin-am62p/verdin-am62p.c | 32 ----------------- board/toradex/verdin-imx8mm/verdin-imx8mm.c | 12 +++---- board/toradex/verdin-imx8mp/verdin-imx8mp.c | 12 +++---- board/toradex/verdin-imx95/verdin-imx95.c | 6 ++-- configs/verdin-am62p_a53_defconfig | 3 +- 10 files changed, 73 insertions(+), 105 deletions(-) --- base-commit: 36c377b9859ffb53eb1e39ea31e8d96d1e0fe1e5 change-id: 20260811-get-rid-pid4-table-1eca3797ebf3 Best regards, -- Franz Schnyder <[email protected]>
