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 002F2C433F5 for ; Fri, 7 Jan 2022 16:35:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 45A0683510; Fri, 7 Jan 2022 17:35:26 +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="uzSQaae0"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="uzSQaae0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 506D283510; Fri, 7 Jan 2022 17:35:24 +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 DDE3D83493 for ; Fri, 7 Jan 2022 17:35:19 +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 F0C364E200C; Fri, 7 Jan 2022 16:35:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1641573317; bh=X9rEWG6RyN6JyIYJ3uRDK/554+2hD0qXlarZxvlYlUQ=; h=From:To:Cc:Subject:Date; b=uzSQaae03KWnGh4zg4odyypz3jUBTKqbRwbHj9Ns8aa7o04LOvT+Tt17klzRPvBMk 5FBtWtmy7d00M4xyFiIKmsUV/oPCpnMXnCDkhEJEnrEc3jEv+o0HshxJI9snTu6Wv0 7qIaT86rAWAp7DvnfFvJuV1el9F8N/iaVxaBuuRw= 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 lW2nTe8T1BrA; Fri, 7 Jan 2022 16:35:17 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [24.108.106.191]) by node.akkea.ca (Postfix) with ESMTPSA id 9E2244E2003; Fri, 7 Jan 2022 16:35:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1641573317; bh=X9rEWG6RyN6JyIYJ3uRDK/554+2hD0qXlarZxvlYlUQ=; h=From:To:Cc:Subject:Date; b=uzSQaae03KWnGh4zg4odyypz3jUBTKqbRwbHj9Ns8aa7o04LOvT+Tt17klzRPvBMk 5FBtWtmy7d00M4xyFiIKmsUV/oPCpnMXnCDkhEJEnrEc3jEv+o0HshxJI9snTu6Wv0 7qIaT86rAWAp7DvnfFvJuV1el9F8N/iaVxaBuuRw= From: Angus Ainslie To: kernel@puri.sm Cc: Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , Andre Przywara , Neil Armstrong , Jagan Teki , Peter Robinson , Tim Harvey , Christian Hewitt , Lokesh Vutla , Peng Fan , Teresa Remmet , Heiko Schocher , Marcel Ziswiler , Ilko Iliev , u-boot@lists.denx.de, Angus Ainslie Subject: [PATCH 0/1] Add support for the Purism Librem5 Phone Date: Fri, 7 Jan 2022 08:34:04 -0800 Message-Id: <20220107163405.1056271-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.38 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 This is all of the code required to boot the Librem5 Phone. I wasn't sure if a single large patch including all of the code would be better or multiple patches, here it is all at once. It can boot the phone in uuu mode or directly from the eMMC Angus Ainslie (1): board: purism: librem5: add the Librem5 phone files MAINTAINERS | 8 + 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 | 710 ++++++++++ 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 | 173 +++ 17 files changed, 5025 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