From patchwork Tue Oct 29 13:06:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11217857 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7FE04112B for ; Tue, 29 Oct 2019 13:06:51 +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 4FFF420659 for ; Tue, 29 Oct 2019 13:06:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="M5EZhsh+"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l6TXKcJL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4FFF420659 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:References: In-Reply-To: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:List-Owner; bh=XZx+WcgJ/Zi21RNXKi8JIWxdJouje3iR+Eu7p+FCcck=; b=M5EZhsh+LXrU+oF87ahadTuxl8 wAtNgYwK8tPhdZxM8OuaGiB0g6Bb2xjOU5DSm8CvUQPSUjj98DE13vCq/D1ui8nNrtIwRyoI8vawh nA6BHfTIXB1YTPWiKYASW/PuSUhPmlZm1KPtbdxRtbhZyUii+NdMn34UZeEYFlmzCl1xl/Ln4uReU gyncNG1kdTgISzs5bqx1V5pVJU/bq/5n6wR771flzo/ehGn5QcPTkW5bx7p8trG0t2BYUoBTjD9ok W5wHHfpB8+dCiZH3/2Kp8vCyHcU0bFAYntaKDH5s7nqRRTeqgoFtXwp3B0d3GALw5lBMw6F+NbUun MvZUINkg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iPRCz-0000AO-O2; Tue, 29 Oct 2019 13:06:49 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iPRCo-0008RH-8S for linux-arm-kernel@lists.infradead.org; Tue, 29 Oct 2019 13:06:39 +0000 Received: by mail-qk1-x743.google.com with SMTP id q70so12077206qke.12 for ; Tue, 29 Oct 2019 06:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kz4uEWzQo25U8l3oBQUsBD0tewr1rFe/yHSt58xMc4o=; b=l6TXKcJLH4OScXAkrmCDT0pTBfjcR+BAo2jCWOVct+GsV+PRPiQZgw9rK6iwuMF9cU NBYzrxkr9FVdav3gnjmIgqyaIkHIt2/Dt4yvc5rFYH94iHNgjHmMN/m3k6a/jp0gwXYc xli3Cc0B1yZy9pOCd3pXbakBXWJ4Wk3hcU2vhpajyGMMcR2YSQeoBi8MdljXi4ObU4/U Pkv7ZWKnwS7lSov6mEYNQyaBfjq7X2Uc53jBuCgb9qOxEuvt3TIlNk8oPtYCFFmVEGID WRx6cW353wfajabNbt6Ms0UslkIB8hVxRuPrQrZw7v/XI9GDYStBksOpLg75pQu60WPZ eCaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kz4uEWzQo25U8l3oBQUsBD0tewr1rFe/yHSt58xMc4o=; b=otYWDfbi685mL0glgSRSTHT68ELPvz734S3zk0PTY06rIVm7QKyzKxhpl2Ihq67UyV Ri4/SUO2s6UznexwKSyz/VDG+UWGgJd0l/DUeAxPQ+Sr194i44jf4IL4qhZoTmKRBfjS VajaERnj3fKwqon6rdOPsnSPoFf5AYUzt2xl8C1bHGHCfjjE/5KY05fpYVpstfXXCQMR WRUijz024GcfxGcdjnYAZww32v17MR7LOpbqSH/tyBoaOZLdVwcP/lpvCMGFCnSIdc5I cO51KYf2kURWJgyLa2KsP98I/yvq0BOWUFmQb4bzIpJhURO0yal/WdFgVYG1cbAlMeO0 nFQQ== X-Gm-Message-State: APjAAAUqsNFGhhGk1wMNhH1DalyokwO+ZaqfJXMslEk0PrX8DcWWUAFa ag5X4ftRUPYcMzlbJgc+qi0= X-Google-Smtp-Source: APXvYqxcU4BwUt9BA9+WH1Dx2DxSehl2n1Qjz9jsD2rjy1iajObf43ib0TwIMVBd+S1ZUByxwgtAKQ== X-Received: by 2002:a37:b985:: with SMTP id j127mr21278593qkf.337.1572354397042; Tue, 29 Oct 2019 06:06:37 -0700 (PDT) Received: from fabio-Latitude-E5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id r7sm7565029qkf.124.2019.10.29.06.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 06:06:36 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH 2/2] ARM: dts: imx7ulp-com: Add initial support for i.MX7UP COM board Date: Tue, 29 Oct 2019 10:06:39 -0300 Message-Id: <20191029130639.29108-2-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191029130639.29108-1-festevam@gmail.com> References: <20191029130639.29108-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191029_060638_296978_85629A3F X-CRM114-Status: GOOD ( 15.00 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:743 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam , linux-imx@nxp.com, kernel@pengutronix.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The Embedded Artists COM board is based on NXP i.MX7ULP. It has a BD70528 PMIC from Rohm with discrete DCDC powering option and improved current observability (compared to the existing NXP i.MX7ULP EVK). Add the initial support for the board. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7ulp-com.dts | 79 +++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 arch/arm/boot/dts/imx7ulp-com.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e352598c05ae..07949ad31a6b 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -611,6 +611,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \ imx7s-mba7.dtb \ imx7s-warp.dtb dtb-$(CONFIG_SOC_IMX7ULP) += \ + imx7ulp-com.dtb \ imx7ulp-evk.dtb dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-moxa-uc-8410a.dtb \ diff --git a/arch/arm/boot/dts/imx7ulp-com.dts b/arch/arm/boot/dts/imx7ulp-com.dts new file mode 100644 index 000000000000..c0ff354730ba --- /dev/null +++ b/arch/arm/boot/dts/imx7ulp-com.dts @@ -0,0 +1,79 @@ +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright 2019 NXP + +/dts-v1/; + +#include "imx7ulp.dtsi" +#include + +/ { + model = "Embedded Artists i.MX7ULP COM"; + compatible = "ea,imx7ulp-com", "fsl,imx7ulp"; + + chosen { + stdout-path = &lpuart4; + }; + + memory { + device_type = "memory"; + reg = <0x60000000 0x4000000>; + }; +}; + +&lpuart4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart4>; + status = "okay"; +}; + +&usbotg1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1_id>; + srp-disable; + hnp-disable; + adp-disable; + status = "okay"; +}; + +&usdhc0 { + assigned-clocks = <&pcc2 IMX7ULP_CLK_USDHC0>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_APLL_PFD1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc0>; + non-removable; + bus-width = <8>; + no-1-8-v; + status = "okay"; +}; + +&iomuxc1 { + pinctrl_lpuart4: lpuart4grp { + fsl,pins = < + IMX7ULP_PAD_PTC3__LPUART4_RX 0x3 + IMX7ULP_PAD_PTC2__LPUART4_TX 0x3 + >; + }; + + pinctrl_usbotg1_id: otg1idgrp { + fsl,pins = < + IMX7ULP_PAD_PTC13__USB0_ID 0x10003 + >; + }; + + pinctrl_usdhc0: usdhc0grp { + fsl,pins = < + IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43 + IMX7ULP_PAD_PTD2__SDHC0_CLK 0x10042 + IMX7ULP_PAD_PTD3__SDHC0_D7 0x43 + IMX7ULP_PAD_PTD4__SDHC0_D6 0x43 + IMX7ULP_PAD_PTD5__SDHC0_D5 0x43 + IMX7ULP_PAD_PTD6__SDHC0_D4 0x43 + IMX7ULP_PAD_PTD7__SDHC0_D3 0x43 + IMX7ULP_PAD_PTD8__SDHC0_D2 0x43 + IMX7ULP_PAD_PTD9__SDHC0_D1 0x43 + IMX7ULP_PAD_PTD10__SDHC0_D0 0x43 + IMX7ULP_PAD_PTD11__SDHC0_DQS 0x42 + >; + }; +};