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 44624C433EF for ; Mon, 17 Jan 2022 15:10:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7A38883866; Mon, 17 Jan 2022 16:09:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.b="F3Hxmf87"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="vxG5ZGf1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E529783863; Mon, 17 Jan 2022 16:09:00 +0100 (CET) Received: from node.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) (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 C9F17837B5 for ; Mon, 17 Jan 2022 16:08:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angus@akkea.ca Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 1C1134E201E; Mon, 17 Jan 2022 15:08:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1642432088; bh=0Mr4VH6Dw99PxVNcaVx69AuqxgfmUV+uC4tQUgdeSL0=; h=From:To:Cc:Subject:Date; b=F3Hxmf87fgITjFkUOGaDV7DdVv3taqiJhKorop97lXLws8DYVH4IshPSMxeGbkTD6 5Bo15Y/azFz0LYnRz7lcnSB/Q1hMPLuxwW+0CtujS2sT23LYSpGrje1SmpNCGJYDl0 eQzRrZlt5fir8sAIfmSjzJURrvuuJdZX/3IYV9ac= Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X9OkxXzl80pu; Mon, 17 Jan 2022 15:08:06 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [24.108.106.191]) by node.akkea.ca (Postfix) with ESMTPSA id 3C21F4E2003; Mon, 17 Jan 2022 15:08:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1642432086; bh=0Mr4VH6Dw99PxVNcaVx69AuqxgfmUV+uC4tQUgdeSL0=; h=From:To:Cc:Subject:Date; b=vxG5ZGf16MSQSWzPOKpDmZk2Qq5Xsby0dYbtr/CiXxjV9b9keiq/Ksnu5+aP3gUlo 5A3Hbomv2VaoX+wqG189Uv1e+Hu+wPNm8+l5y8DrfTRAAQHWbygt7BO8hwGshM8ab8 vFWdkohK7i9Qrm0BkGwiZwPDsdGlP5aIntd+Kqsg= From: Angus Ainslie To: "NXP i.MX U-Boot Team" , u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , Peng Fan , Marcel Ziswiler , Teresa Remmet , Adam Ford , Tim Harvey , Jagan Teki , Ilko Iliev , kernel@puri.sm, Angus Ainslie Subject: [PATCH 00/13] Add support for the Purism Librem5 Phone Date: Mon, 17 Jan 2022 07:07:22 -0800 Message-Id: <20220117150735.218886-1-angus@akkea.ca> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.2 at phobos.denx.de X-Virus-Status: Clean I sent this patchset as a single monolithic patch and did not see any comment on it. https://lists.denx.de/pipermail/u-boot/2022-January/471087.html Here it is as a set of patches instead. This is all of the code required to boot the Librem5 Phone. It can boot the phone in uuu mode or directly from the eMMC Angus Ainslie (13): MAINTAINERS: add Purism to the maintainers file arm: dts: add the Purism devicetree files arm: imx8m: add Purism Librem5 Kconfig configs: add the Librem5 defconfig include: configs: add the librem5.h include file board: librem5: add the u-boot source for the Librem5 board: librem5: add the u-boot header for the Librem5 board: librem5: add the SPL source for the Librem5 board: librem5: add the LPDDR4 source for the Librem5 board: librem5: add SPL loader configuration board: librem5: add Librem5 MAINTAINERS file board: librem5: add Librem5 build files doc: librem5: add Librem5 documentation MAINTAINERS | 9 + arch/arm/dts/Makefile | 3 +- arch/arm/dts/imx8mq-librem5-u-boot.dtsi | 134 ++ arch/arm/dts/imx8mq-librem5.dts | 593 ++++++++ arch/arm/mach-imx/imx8m/Kconfig | 9 + board/purism/librem5/Kconfig | 15 + board/purism/librem5/MAINTAINERS | 7 + board/purism/librem5/Makefile | 13 + board/purism/librem5/imximage-8mq-lpddr4.cfg | 9 + board/purism/librem5/librem5.c | 708 ++++++++++ board/purism/librem5/librem5.h | 176 +++ board/purism/librem5/lpddr4_timing.c | 1324 ++++++++++++++++++ board/purism/librem5/lpddr4_timing_b0.c | 1191 ++++++++++++++++ board/purism/librem5/spl.c | 481 +++++++ configs/librem5_defconfig | 120 ++ doc/board/purism/librem5/librem5.rst | 60 + include/configs/librem5.h | 171 +++ 17 files changed, 5022 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/imx8mq-librem5-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mq-librem5.dts create mode 100644 board/purism/librem5/Kconfig create mode 100644 board/purism/librem5/MAINTAINERS create mode 100644 board/purism/librem5/Makefile create mode 100644 board/purism/librem5/imximage-8mq-lpddr4.cfg create mode 100644 board/purism/librem5/librem5.c create mode 100644 board/purism/librem5/librem5.h create mode 100644 board/purism/librem5/lpddr4_timing.c create mode 100644 board/purism/librem5/lpddr4_timing_b0.c create mode 100644 board/purism/librem5/spl.c create mode 100644 configs/librem5_defconfig create mode 100644 doc/board/purism/librem5/librem5.rst create mode 100644 include/configs/librem5.h -- 2.25.1