From patchwork Tue Mar 14 10:24:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69473 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1678113wrd; Tue, 14 Mar 2023 03:37:37 -0700 (PDT) X-Google-Smtp-Source: AK7set822/mJZfLLNGF1X83ZpYGXrTkYYfAbYA3gFZ1OnqFy3TxGSiItBG8ZG5JfmhwS4+EsMyK9 X-Received: by 2002:a05:6a20:4930:b0:d4:78f7:c4e8 with SMTP id ft48-20020a056a20493000b000d478f7c4e8mr5124824pzb.25.1678790257295; Tue, 14 Mar 2023 03:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790257; cv=none; d=google.com; s=arc-20160816; b=P4zhDaPL/wghhDsuv+r7vuQNtFshwh2eDqyHWje/YQp6Bk0Ewywd+IGqTEtzjz2FvY CByeExJnAugwJYbCAKkaN/ZR2fzQWlijpJALq0Cs3WsLL1Dj1wbGhlfqYDeekVK1518Q OBlbO/b+9etis+T8yPLfrZg0jEDuNx3kwX/t5S+YZ/FAEZs3RxEFx58GQC6kd7VxDLSP mzC2F32fZ2eWHJuwQ9Ax/RxrTylPUd+/horHlG2fFjqfTf+HT1ksjPSM0GWBsstYZ60Q OhRC4nMmsQabSxTKWuWD/kQXM0QjhHTZZ+jzANQrmaPE8dGhmTB4P+eAUoOWGN4iVtlP I8lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Rvw6Ss1iSovYGmOxOZ2P6r2KgO0dR/YX/TQZxvGvecQ=; b=yTDK4mvG9pRWV4J4DH6byx9WvSa26EAzxAvCMow2Pe88rF8UE/3IJ1B9/ngoP9cFdN JpYKglCTr1Oz9Maimwky/EPJdBFJEu5tw++ZBxx1vroopXPDLyzCmcON4qQaF4XRLSJM 3kkzO5pD0noP2zZpEYAcHTzweyGPRDea0KW8cLQDHTbe374Wq5LsfVmxYo/IRK8sXfHe 1eo10OQJckIO45p5o25IBqex2EyiyOCz6tqcRvqXhh6xH7OcH2VkL4CBgIP7VtgABiGm F3ywoTUxzo7IpcWI7funDE9M0WJvDk5vTE2ZpZDFsCAmvhhjOw8nSyHv3nzU6/SbQT0s 6HXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=QiDB0svj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020aa78ec3000000b005a81866ff8csi1899807pfr.319.2023.03.14.03.37.25; Tue, 14 Mar 2023 03:37:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=QiDB0svj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231157AbjCNK0I (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231239AbjCNKZN (ORCPT ); Tue, 14 Mar 2023 06:25:13 -0400 Received: from smtp-bc0a.mail.infomaniak.ch (smtp-bc0a.mail.infomaniak.ch [IPv6:2001:1600:4:17::bc0a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D6C470401 for ; Tue, 14 Mar 2023 03:24:46 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4x6J1SzMqQVs; Tue, 14 Mar 2023 11:24:33 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4x2kg7z2MSL; Tue, 14 Mar 2023 11:24:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789473; bh=WiIb9AvUiUqyquXRI5uWbc8955AquS+8qtMHW7WxdAY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QiDB0svjHVhBuRe+fVzL1CxrFgz3SKOyVMoWTDE8zd7PQuiL2lR36c3kPKXgaC8Pm uLcmLGdRsq/L+tU/ooWjWC6Q4HfXHXAxMzgS03DYc6XIn4FjNPolK2dEN8YenxBBsO m/x8KblWpIFmOZXJCSB4Bs28tEedBgsrkkn6ralk= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 21/23] arm64: dts: colibri-imx8x: Add aster carrier board Date: Tue, 14 Mar 2023 11:24:07 +0100 Message-Id: <20230314102410.424773-22-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760339173184420486?= X-GMAIL-MSGID: =?utf-8?q?1760339173184420486?= From: Philippe Schenker Add the Toradex Aster Carrier Board for Colibri iMX8X, small form-factor with header compatible with Arduino Uno and Raspberry Pi (RPi) maker boards. Additional details available at: https://www.toradex.com/products/carrier-boards/aster-carrier-board Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8qxp-colibri-aster.dts | 16 +++++++ .../dts/freescale/imx8x-colibri-aster.dtsi | 44 +++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 836dcc501e6f..9f49e47589ab 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -129,6 +129,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qm-apalis-v1.1-ixora-v1.1.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qm-apalis-v1.1-ixora-v1.2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qm-mek.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-ai_ml.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-aster.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-eval-v3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts new file mode 100644 index 000000000000..966ecfb2a17e --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8qxp-colibri.dtsi" +#include "imx8x-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP on Aster Board"; + compatible = "toradex,colibri-imx8x-aster", + "toradex,colibri-imx8x", + "fsl,imx8qxp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi new file mode 100644 index 000000000000..aab655931cde --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +&colibri_gpio_keys { + status = "okay"; +}; + +/* Colibri Ethernet */ +&fec1 { + status = "okay"; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog0>; +}; + +/* Colibri SPI */ +&lpspi2 { + cs-gpios = <&lsio_gpio1 0 GPIO_ACTIVE_LOW>, + <&lsio_gpio5 2 GPIO_ACTIVE_LOW>; +}; + +/* Colibri UART_B */ +&lpuart0 { + status = "okay"; +}; + +/* Colibri UART_C */ +&lpuart2 { + status = "okay"; +}; + +/* Colibri UART_A */ +&lpuart3 { + status= "okay"; +}; + +/* Colibri SDCard */ +&usdhc2 { + status = "okay"; +};