From patchwork Wed Oct 6 13:23:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12539417 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC7A9C433EF for ; Wed, 6 Oct 2021 13:25:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ABF826113A for ; Wed, 6 Oct 2021 13:25:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org ABF826113A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=evL7CtdYzwsTt1oER5p9DTY7qmoQhtT/+r3OAQeVVng=; b=chok3mFNVQQWpx 7sXgU5369AOErKiUmHQ6TaIuPVGgUyylx6SNkv3eBfn0NWLwa67IF++vja2noJlB+FphEPX1gZF78 quHJZO+7sAD4hfrvyTKzJTUVEqTxYYKR+i+JTzkrAdnNqgKgTGQMMAMzxVLYcrHBlEyeaxWMdwaWX 26jF6UoJ9yPxNcOS67Jrj6kQ4e+1b1xfP0bjTS5Yr+/ikmfJBVrQhXDJuhiEmRO+DE/Crc+7tzdNK Z0bA3DSgCi8sG63NFmHZUEVdDTrwZIiu3h/2B2eUM92OgJ2FVzaa2TkCGttlBFqf6arNVyDex3Lmt 0HWzgCpCee/htMhhog6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mY6tL-00ENFi-Pf; Wed, 06 Oct 2021 13:23:27 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mY6tH-00ENCZ-Fh for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 13:23:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1633526603; x=1665062603; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2hi3uyFgBmoXMSx9J/EyEwdcL1aNU2wFfxc4RN7ZiR4=; b=HwldVZOpFS8v5SgzZGIhEd4AgXbVd+Ez9yOON28m8M00A/SOLI9KNVpq L77PYtGOyB1Ku6c5BRKla5cCA0UT1LO5FUSenB24pbsGd3oXjMERZbpbo IJdVKGeJh6rZadMNmufXY9ahpsLO4bySJoal4xQs4fw7/0N3xvfW7+aNk 8H/PIJnzu2a+6R0s5vJUYxvA1ey863k5vmAHKjAt80UWUvh4x9GTVZZrk oEUcE55bZv5WmI/z7bV7O9fvh+vmmSaGLMNq37m5yTqVqhRdnKgCwBG/F jrElHD9WqpJ957wS6oBMTyZ6I4Jq3tBHvFklzwmBFOjqOcDOq1sKwEahv w==; X-IronPort-AV: E=Sophos;i="5.85,350,1624312800"; d="scan'208";a="19897918" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 06 Oct 2021 15:23:19 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 06 Oct 2021 15:23:19 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 06 Oct 2021 15:23:19 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1633526599; x=1665062599; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2hi3uyFgBmoXMSx9J/EyEwdcL1aNU2wFfxc4RN7ZiR4=; b=chGE0wNcgRwbtO+vhZmvxFpLC5ZD+KMw896ZAV2c7vefZKnLjWLdCs7u kIwFBLHxEyaS80TNzRLIASI5MwRw4lxepX20QWSC3hyc3H/SaMSe6QtaC AifLsmU0mOH7FTJguSuoDUrdR37ca4+zeLHbiq96yapPaDIfBFqWSXm5F Lqi0pchMawJIg5rqAwooVi3x/JUvcCD2EDRjQowR9udTyAGxpKwVPB3vR fJSJ6qPnRuU52/gSxG1hYY6HxURbyKTy1YVkli5mQC9B0pNXvMKYKM3AW 6yzHqFjWDS1ZSDkDOxVFDwasyIVEw5JTxZso/FCbBrz1H6AcOJ8oHDtDu g==; X-IronPort-AV: E=Sophos;i="5.85,350,1624312800"; d="scan'208";a="19897917" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 06 Oct 2021 15:23:19 +0200 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id CE6F8280065; Wed, 6 Oct 2021 15:23:18 +0200 (CEST) From: Alexander Stein To: Rob Herring , Shawn Guo , Sascha Hauer , Catalin Marinas , Will Deacon Cc: Alexander Stein , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/7] Support for some TQMa8M* boards Date: Wed, 6 Oct 2021 15:23:02 +0200 Message-Id: <20211006132309.1239708-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211006_062323_885149_0475C2D9 X-CRM114-Status: GOOD ( 16.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch set adds support for the following modules: * TQMa8Mx * TQMa8MxML * TQMa8MxNL Each of the modules is available with different i.MX8M variants, the bootloader modifies the device tree and disabled paripherals which are not available on the actual hardware. All of them can be attached to the same mainboard MBa8Mx, although TQMa8MxML & TQMa8MxNL need an adapter. For that reason there is a single mainboard .dtsi file named mba8mx.dtsi. There is a .dtsi file for each module named imx8m?-tmqa8m*.dts. Finally there is the final .dts file which includes the mainboard and the attached module and contains the missing connection, prominently clk and pinctrl defines. Alexander Stein (7): dt-bindings: arm: fsl: add TQMa8MxML boards arm64: dts: freescale: add initial tree for TQMa8MQML with i.MX8MM arm64: defconfig: enable drivers for TQ TQMa8MxML-MBa8Mx dt-bindings: arm: fsl: add TQMa8MxNL boards arm64: dts: freescale: add initial tree for TQMa8MQNL with i.MX8MN dt-bindings: arm: fsl: add TQMa8Mx boards arm64: dts: freescale: add initial tree for TQMa8Mx with i.MX8M .../devicetree/bindings/arm/fsl.yaml | 31 ++ arch/arm64/boot/dts/freescale/Makefile | 3 + .../dts/freescale/imx8mm-tqma8mqml-mba8mx.dts | 259 +++++++++++ .../boot/dts/freescale/imx8mm-tqma8mqml.dtsi | 350 +++++++++++++++ .../dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts | 283 ++++++++++++ .../boot/dts/freescale/imx8mn-tqma8mqnl.dtsi | 345 +++++++++++++++ .../dts/freescale/imx8mq-tqma8mq-mba8mx.dts | 416 ++++++++++++++++++ .../boot/dts/freescale/imx8mq-tqma8mq.dtsi | 369 ++++++++++++++++ arch/arm64/boot/dts/freescale/mba8mx.dtsi | 285 ++++++++++++ arch/arm64/configs/defconfig | 5 + 10 files changed, 2346 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-tqma8mq.dtsi create mode 100644 arch/arm64/boot/dts/freescale/mba8mx.dtsi