From patchwork Tue Jan 23 12:37:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Harkin X-Patchwork-Id: 10180139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 55C986019D for ; Tue, 23 Jan 2018 12:37:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4547027FA9 for ; Tue, 23 Jan 2018 12:37:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3934B28458; Tue, 23 Jan 2018 12:37:56 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 BFBB127FA9 for ; Tue, 23 Jan 2018 12:37:55 +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=CrjfGgZT3q+PkUMCPxQlhYBiZz9pcmqXCXe3kM9IkLM=; b=Hiw ICwFPd617reI+cuWBWPq8V62/e7Wui9gdBotlJCVasWQ7/b/K75XDn8xS3n+qvJMLiJK21RZQJ5su CKNygVnkJGel2AJkyuO11spr1ZDOuspDE68yhO4wSFopWq+xivmSnIxtxwwlHIBVqeiMc4xyXrfvd H/eFdtzEfrxlR6i1fPhR7aJHccsugOyO0aKxd3cwATL2Ivt5HPzZHYwPbefDF40QuvHim5JhRzM5d DfyNDGAEu9q6xV1D9WtapuAR4pDGwVC/W2mV17W97pljm3bTt7ytELLEr4NFgWEcYr4A43aRLY/OX v0K4M2eD18hr79GkadWCFrzXaqGXokg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1edxpp-0006fg-6J; Tue, 23 Jan 2018 12:37:53 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1edxpm-0006f8-Aa for linux-arm-kernel@lists.infradead.org; Tue, 23 Jan 2018 12:37:51 +0000 Received: by mail-wr0-x244.google.com with SMTP id z48so391605wrz.6 for ; Tue, 23 Jan 2018 04:37:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=91p9EWA4eGhd7ODVZjHeEV/mINIX3ibzvuVL3mfPGUw=; b=SHCu5Srla+v5QKuZpcKrD2jIbYRaEH21n394bR/YQVG4EeHPSSt9x8KlW1GM5tjUMK Y1FBtCqcg9lEnKGqymwlVjb4nKEl7sJBltCZRAqTsFnun+Mbet8AXTgTpnheKn9qVU3s MzCMgT17O5s7vHeGDB52NCi3tzzRuJZbV0wMo= 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; bh=91p9EWA4eGhd7ODVZjHeEV/mINIX3ibzvuVL3mfPGUw=; b=lBZC8D4uGoLytufzbPeWFkqVJvmaAq+n3y4HVRKJMMvQNIuEwsSL2uVzaR0Y5pOXSn sEYkCjrE2mCjYg78Q78FSP9lEbJKJ17QZzOci5BiDn9wbnZaeNbFW0JTJ5hj35Wf3hEo D79GJmGiPD8I3k+iGfrSdAQ1W9iQnbHJzJdczV2XFCwoUlS1ZrUIRPGwkkwI/Zw+5n3E 51y9DkmwT99KRGB00Zhe/IsDDvrzaXk+fcRygu8JIz7uDj9ce2jsp1BNduObsL7hdjsc CbLdJ4orfkJjvSLz/Qdhbqw0N3/GhjPDuCvq6rbKFhaZ0E3MlVsx6IbxYNSccw8/QOHA wzIw== X-Gm-Message-State: AKwxytcBCCQm/KzoAJphpgeqLIcz+C1keC18dEZof9+gG1wzRNNlzLDA G7WUkQKscbnDxRNZ1BodDknJ6PQ3Wfc= X-Google-Smtp-Source: AH8x224kEourlAYzlTDyq8GypETWHlDUfybWSgmAqOheuYamfOi7xuHBf+wkqHwpDqc6HtpAm3pimQ== X-Received: by 10.223.154.77 with SMTP id z71mr2292631wrb.282.1516711057190; Tue, 23 Jan 2018 04:37:37 -0800 (PST) Received: from localhost.localdomain (82-69-54-187.dsl.in-addr.zen.co.uk. [82.69.54.187]) by smtp.gmail.com with ESMTPSA id 7sm11116598wmq.42.2018.01.23.04.37.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Jan 2018 04:37:36 -0800 (PST) From: Ryan Harkin To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: imx7s-warp: enable uart6 on mikroBus Date: Tue, 23 Jan 2018 12:37:30 +0000 Message-Id: <1516711050-2407-1-git-send-email-ryan.harkin@linaro.org> X-Mailer: git-send-email 2.7.4 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: Fabio Estevam , Breno Lima , Vanessa Maegima , Shawn Guo 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 This patch configures the board to output UART6 to the mikroBus. The NXP WaRP7 board can route UART6 to the mikroBus, where an RS232 click board can be plugged in to get an additional serial port. Signed-off-by: Ryan Harkin Reviewed-by: Rui Miguel Silva Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7s-warp.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index 9bdf121..1606713 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts @@ -271,6 +271,15 @@ status = "okay"; }; +&uart6 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart6>; + assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>; + assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>; + fsl,dte-mode; + status = "okay"; +}; + &usbotg1 { dr_mode = "peripheral"; status = "okay"; @@ -379,6 +388,13 @@ >; }; + pinctrl_uart6: uart6grp { + fsl,pins = < + MX7D_PAD_ECSPI1_MOSI__UART6_DTE_RX 0x79 + MX7D_PAD_ECSPI1_SCLK__UART6_DTE_TX 0x79 + >; + }; + pinctrl_usdhc1: usdhc1grp { fsl,pins = < MX7D_PAD_SD1_CMD__SD1_CMD 0x59