From patchwork Mon May 13 14:55:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 10941185 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AFB21933 for ; Mon, 13 May 2019 14:56:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9FA9A27FB7 for ; Mon, 13 May 2019 14:56:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92FD92832D; Mon, 13 May 2019 14:56:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3AFBF27FB7 for ; Mon, 13 May 2019 14:56:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=GC+XzEoXieCpcPHZYe+coTkUT3lfL1i0FqDcJ/JTp1g=; b=Wp0 SwK9FYbr2N2UH/m8Bsl24g7OnnbCUT5MJr4aLkUegNqIXi+K5hGCTkO9GZRU0TCrr3015Z+N2OjqR zCifNaUHMTdCxt9UgxLPVh+BUJsY4Id3JmOLXVpCvqp77X4+g6icmyMylAb/wJefDgPPyy8SWovYO BqCSRQvU20+VclrxvG4YWxbbLk1c8fPxyuAqbAV63seDNuIuXFIO6VQeuBi6d5VjaqF0Zg2K9Ylkc RS9uz7SOXSPNJCmMWui8epF0vwgcRfTwGdHqZRLXYl31jafGvTh1Q6+z2R7zEuZh8gC+NiM0YLLIG ECu8PyAwYo0xNP2WxnPfzRFnXyhLoSg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQCN3-0005Lr-1C; Mon, 13 May 2019 14:56:05 +0000 Received: from node.akkea.ca ([192.155.83.177]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQCMr-00059a-Us for linux-arm-kernel@lists.infradead.org; Mon, 13 May 2019 14:55:55 +0000 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id B52964E2051; Mon, 13 May 2019 14:55:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1557759350; bh=OOUM+cZt3N1O8ifnVoGjz7TsndlomzrMemNmnvMhK2E=; h=From:To:Cc:Subject:Date; b=ZaICwk+Z5Vwzoz5RWBjQlFETaFJLgWRLCfM3fr5fm0pdG2d4NmVNuTCg5oGBvyoOn kkh+MoA/LIxTfLpXQpBm28TZqFGVsvujgMXl37WEP4hANtc/2G0d+MeClJ8RXGKqbn FqnefmjKixeLVaoUQfvmtJkQzkeyGXrH4P0dg9HA= X-Virus-Scanned: Debian amavisd-new at mail.akkea.ca 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 USx-Vvek2F9m; Mon, 13 May 2019 14:55:49 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [70.66.86.75]) by node.akkea.ca (Postfix) with ESMTPSA id 15DD94E204B; Mon, 13 May 2019 14:55:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1557759349; bh=OOUM+cZt3N1O8ifnVoGjz7TsndlomzrMemNmnvMhK2E=; h=From:To:Cc:Subject:Date; b=C21yMHCOjAsIVj3LJoksLIrYrY8yLDfs8XUPC1rCqBNqf8HXzxdVLNXH0c7ndRH06 sq6WiErAE96iNmDimIJsOTzUAZOoGPLq/3thiQ5ZVvB3U4wAo19VbkoMbrN1Inj680 0JTggLqe2LB8CQ1/yJ7YFHCMbqNGSXoHtQ9oezjs= From: "Angus Ainslie (Purism)" To: angus.ainslie@puri.sm Subject: [PATCH v9 0/3] Add support for the Purism Librem5 devkit Date: Mon, 13 May 2019 07:55:36 -0700 Message-Id: <20190513145539.28174-1-angus@akkea.ca> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190513_075554_105888_80BE59F8 X-CRM114-Status: GOOD ( 11.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer , "Angus Ainslie \(Purism\)" , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Librem5 devkit is based on the imx8mq from NXP. This is a default devicetree to boot the board to a command prompt. Changes since v8: Fixed license comment. Changed regulators to all lower case. Changed clock frequency for NXP errata e7805. Dropped blank line. Changes since v7: More regulators always on for USB. Add vbus regulator. Drop vbat regulator. Replace legacy "gpio-key,wakeup" with "wakeup-source". Add vbus-supply to get rid of warning imx8mq-usb-phy 382f0040.usb-phy: 382f0040.usb-phy supply vbus not found, using dummy regulator Changes since v6: Dropped unused regulators. Fix regulator phandles case. Dropped extra whitespace. Changes since v5: Added reviewed-by tags. Moved USB port links to USB controller node. Changes since v4: Compiled against linux-next next-20190415. Added imx8mq to the arm yaml file. Re-arrange regulator nodes to drop undefined supplies. Additional ordering for aesthetics. Split some long lines. Added lots of blank lines. Moved pinctl muxes to where they are used. Cleaned out reg defintions from regulator nodes. Changes since v3: Freshly sorted and pressed nodes. Change the backlight to an interpolated scale. Dropped i2c2. Dropped devkit version number to match debian MR. Changes since v2: Fixed incorrect phy-supply for the fsl-fec. Dropped unused regulator property. Fixup Makefile for linux-next. Changes since v1: Dropped config file. Updated the board compatible label. Changed node names to follow naming conventions. Added a more complete regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (3): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SPC dt-bindings: arm: fsl: Add the imx8mq boards .../devicetree/bindings/arm/fsl.yaml | 7 + .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 821 ++++++++++++++++++ 4 files changed, 830 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts