Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A47E4CCFA1A for ; Tue, 11 Nov 2025 16:55:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E295183B8A; Tue, 11 Nov 2025 17:55:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=fris.de header.i=@fris.de header.b="jHqH1AYK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2FFF183B95; Tue, 11 Nov 2025 17:55:19 +0100 (CET) Received: from mail.fris.de (mail.fris.de [116.203.77.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A862283B87 for ; Tue, 11 Nov 2025 17:55:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=frieder@fris.de Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 76E54C9E8A; Tue, 11 Nov 2025 17:55:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1762880117; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=Bth61QtESXCe5d3lvyZUiHUDtR5+WJaa3VufMKVz/JA=; b=jHqH1AYKDxtoyyCMwtDsIXFqC2UUEWI/9z4oHj2esPoNCA/rIfafQSDUBykDeE4X/EC8pF HTzgLjDy5Fsn6Uq5o0mvISo2Ab80LBnS/rWzfkVW4lEEcNzuKTsv9GCeWpr/UEErmnnscb f6UX3JL4f8gAKLwrWGwhjnRZnCc3fPW3jCKzq4pqwOz2ZBAjgCJKbUe8kaJMcUNN92FyiL Ho79TEt3Bc/3Se0ndG4XhddLAshWKZjgiFPQN587mHdoMWucetjHS+//iNzjI6b7aFrMlP WQ7JO4W4NBs5ZmhXYu3OQmGNn6a0TazNkMr3gq8JY4OT0i4eT9psEaVehyvhZw== From: Frieder Schrempf To: Stefano Babic , Fabio Estevam , Frieder Schrempf , Tom Rini , u-boot@lists.denx.de Cc: "NXP i . MX U-Boot Team" , Adam Ford , Alice Guo , Benjamin Hahn , Christoph Stoidner , Eberhard Stoll , Ernest Van Hoecke , =?UTF-8?q?Jo=C3=A3o=20Paulo=20Gon=C3=A7alves?= , "Kory Maincent (TI.com)" , Marek Vasut , Peng Fan , Primoz Fiser , Sam Protsenko , Simon Glass , Vitor Soares , Wadim Egorov , Yannic Moog , Ye Li Subject: [PATCH v2 0/3] Add support for Kontron i.MX8MP and i.MX93 OSM hardware Date: Tue, 11 Nov 2025 17:54:17 +0100 Message-ID: <20251111165509.212632-1-frieder@fris.de> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Frieder Schrempf Changes for v2: * drop DT fixup patch, and add workaround in patch 1/3 This adds support for Kontron hardware based on i.MX8MP and i.MX93 OSM (Open Standard Module) SoMs. Frieder Schrempf (3): imx: Add support for Kontron i.MX8MP OSM-S SoM and BL carrier board arm: imx: imx9: Use arch override for env_get_location() imx: Add support for Kontron i.MX93 OSM-S SoM and BL carrier board .../dts/imx8mp-kontron-bl-osm-s-u-boot.dtsi | 124 + .../dts/imx93-kontron-bl-osm-s-u-boot.dtsi | 153 + arch/arm/mach-imx/imx8m/Kconfig | 14 + arch/arm/mach-imx/imx9/Kconfig | 11 +- arch/arm/mach-imx/imx9/soc.c | 2 +- board/kontron/osm-s-mx8mp/Kconfig | 17 + board/kontron/osm-s-mx8mp/MAINTAINERS | 7 + board/kontron/osm-s-mx8mp/Makefile | 9 + board/kontron/osm-s-mx8mp/imximage.cfg | 8 + board/kontron/osm-s-mx8mp/lpddr4_timing.c | 2474 +++++++++++++++++ board/kontron/osm-s-mx8mp/osm-s-mx8mp.c | 175 ++ board/kontron/osm-s-mx8mp/osm-s-mx8mp.env | 6 + board/kontron/osm-s-mx8mp/spl.c | 358 +++ board/kontron/osm-s-mx93/Kconfig | 17 + board/kontron/osm-s-mx93/MAINTAINERS | 7 + board/kontron/osm-s-mx93/Makefile | 9 + board/kontron/osm-s-mx93/lpddr4x_timing.c | 1992 +++++++++++++ board/kontron/osm-s-mx93/osm-s-mx93.c | 168 ++ board/kontron/osm-s-mx93/osm-s-mx93.env | 6 + board/kontron/osm-s-mx93/spl.c | 169 ++ configs/kontron-osm-s-mx8mp.config | 203 ++ configs/kontron-osm-s-mx8mp_defconfig | 3 + configs/kontron-osm-s-mx93.config | 197 ++ configs/kontron-osm-s-mx93_defconfig | 3 + doc/board/kontron/index.rst | 2 + doc/board/kontron/osm-s-mx8mp.rst | 104 + doc/board/kontron/osm-s-mx93.rst | 95 + include/configs/kontron-osm-s-mx8mp.h | 30 + include/configs/kontron-osm-s-mx93.h | 30 + 29 files changed, 6391 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/imx8mp-kontron-bl-osm-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx93-kontron-bl-osm-s-u-boot.dtsi create mode 100644 board/kontron/osm-s-mx8mp/Kconfig create mode 100644 board/kontron/osm-s-mx8mp/MAINTAINERS create mode 100644 board/kontron/osm-s-mx8mp/Makefile create mode 100644 board/kontron/osm-s-mx8mp/imximage.cfg create mode 100644 board/kontron/osm-s-mx8mp/lpddr4_timing.c create mode 100644 board/kontron/osm-s-mx8mp/osm-s-mx8mp.c create mode 100644 board/kontron/osm-s-mx8mp/osm-s-mx8mp.env create mode 100644 board/kontron/osm-s-mx8mp/spl.c create mode 100644 board/kontron/osm-s-mx93/Kconfig create mode 100644 board/kontron/osm-s-mx93/MAINTAINERS create mode 100644 board/kontron/osm-s-mx93/Makefile create mode 100644 board/kontron/osm-s-mx93/lpddr4x_timing.c create mode 100644 board/kontron/osm-s-mx93/osm-s-mx93.c create mode 100644 board/kontron/osm-s-mx93/osm-s-mx93.env create mode 100644 board/kontron/osm-s-mx93/spl.c create mode 100644 configs/kontron-osm-s-mx8mp.config create mode 100644 configs/kontron-osm-s-mx8mp_defconfig create mode 100644 configs/kontron-osm-s-mx93.config create mode 100644 configs/kontron-osm-s-mx93_defconfig create mode 100644 doc/board/kontron/osm-s-mx8mp.rst create mode 100644 doc/board/kontron/osm-s-mx93.rst create mode 100644 include/configs/kontron-osm-s-mx8mp.h create mode 100644 include/configs/kontron-osm-s-mx93.h -- 2.51.0