From patchwork Tue Dec 19 22:32:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Nelson X-Patchwork-Id: 10124667 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 81D7160390 for ; Tue, 19 Dec 2017 22:34:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78AC0207A7 for ; Tue, 19 Dec 2017 22:34:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C8E02956F; Tue, 19 Dec 2017 22:34:12 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=unavailable 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 1122F207A7 for ; Tue, 19 Dec 2017 22:34:12 +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: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=kfUNan92mevjhiHiqovwLjAbwiYuQgnNt53hlHWAhRA=; b=tBwiTScos1hMVjOV8C7NiIB7jp 6jb1F/8sJEaXA+W8pveXwsJ3eh1bVqmF3iiTNVfzrRR+d52mVzzSBQO/mL6bsawJLFG8yG+9p22/z NSba1vRTU0w66A9Q1Dzx4vL+7eAs0Urg54tBHPp9uUKpPNPkhFJJoXKQPTISvnGjOQ+1E2SZO/PlD k3DVQcU0NO9TPzNkmxEPveLLd+LIT11c0CZQUtxr2nxZnht3B+YTe7FTmsEIiqKcsuyiyv4iA/BkR 2jDqRwn0pQhLgiND0uNRoIFaMmkZ6pU9obt1d2XN4q5wE5N3Yho9AYJyHprRcm2pbmwpBaE5hQykN eMti3SBw==; 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 1eRQSe-0005FQ-8b; Tue, 19 Dec 2017 22:34:08 +0000 Received: from mail-it0-x243.google.com ([2607:f8b0:4001:c0b::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eRQRb-0004Qm-0V for linux-arm-kernel@lists.infradead.org; Tue, 19 Dec 2017 22:33:08 +0000 Received: by mail-it0-x243.google.com with SMTP id b5so4555512itc.3 for ; Tue, 19 Dec 2017 14:32:52 -0800 (PST) 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=ypbGxAGezdlqAOz1+12299k5zLb1x/LMUE56TDGtjyI=; b=tzbzOb8P/C/BYkzHA2iy7xz7oXzKF/pg/fcT8YH69wenwOUqcYLWO7SMYILbS6Y+98 2Q2wmcfKI4lnHCYiWbHVoUveT63wS0saFk5Z8X+4iYNVbJw9jECHYKgHo9mstYfwpGRo ExHYp7U9TAhYnPt4BIiyZBTYap3JoJrJQWw7YVWFbfT0mqkoSDnrhtyP7XOPHh1HU/RF Cv5idQGTGGQUW9reD0YtHOJ7x0wO+xskDbCnnkYm1pgBuhgma6ZE8mxsLAPSAVtEs44j qiHASqrI6CkM0aLLz6QO07RF6W6BINoFS3WUea5jubrh73wAu6drpaqtl9LG181grxu2 o1EA== 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=ypbGxAGezdlqAOz1+12299k5zLb1x/LMUE56TDGtjyI=; b=Ouw/89qzZZuplDrrBn/THnITTdp8Cm52OhJZK9al/Lz4mK9wi5BBq8fKzks5MpVe86 BtUaE2+kRqRvF82ZP5sVXASjEEPhXWE+rCGs1PQ4ni2XN2qDKhpCOU7Nmlov2VHvGGSX p4y++kFzltp6ubZosdE1dPe2+9sKM811bg81vEo9/zyudRI7sHJgUWKwmNTn5X3IWjnt cyZvMNeY+NMHuPb9vRTdAFMDTcCSknBL+gu7G3uSNZnSoEdDEu+hhuOjflImQERrBpgr R922doQsTEnx5dAkWBFj5UxqqD0ZzE204I1e8QxqpaK40evZpHVzTdwn8L8BPnFvvnKk r7/A== X-Gm-Message-State: AKGB3mK+Zm9cfmP9mBWm6kukys9jms/qxenoropiHm/8pXr5a3TBBW5M cwt8dHcgNfeT948Zq9NxhiOIeB/+ X-Google-Smtp-Source: ACJfBovSuRZgiZJsXqj4a/BQFjQ4HYj2GklNJ3dpt0BxVu7qjp5KecDfRHJk7pq/TJPft8sBAttBLg== X-Received: by 10.36.123.134 with SMTP id q128mr5396181itc.80.1513722771776; Tue, 19 Dec 2017 14:32:51 -0800 (PST) Received: from nuc-git.gfnd.rcn-ee.org (24-220-165-182-dynamic.midco.net. [24.220.165.182]) by smtp.gmail.com with ESMTPSA id c196sm8572001ioc.55.2017.12.19.14.32.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Dec 2017 14:32:50 -0800 (PST) From: Robert Nelson To: tony@atomide.com, devicetree@vger.kernel.org Subject: [PATCH 2/3] ARM: dts: am335x-boneblue: enable usarts Date: Tue, 19 Dec 2017 16:32:41 -0600 Message-Id: <20171219223242.21386-2-robertcnelson@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171219223242.21386-1-robertcnelson@gmail.com> References: <20171219223242.21386-1-robertcnelson@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171219_143303_342504_CD9B8DE9 X-CRM114-Status: GOOD ( 10.15 ) 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: Drew Fustini , linux-omap@vger.kernel.org, Robert Nelson , linux-arm-kernel@lists.infradead.org, Jason Kridner 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 BeagleBone Blue: usarts: enable all the dedicated usart connectors. DSM2/uart4: on the Blue, this is a recieve only interface. Signed-off-by: Robert Nelson CC: Jason Kridner CC: Drew Fustini CC: Tony Lindgren --- arch/arm/boot/dts/am335x-boneblue.dts | 60 +++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblue.dts b/arch/arm/boot/dts/am335x-boneblue.dts index c5820919e709..ad988e8b8427 100644 --- a/arch/arm/boot/dts/am335x-boneblue.dts +++ b/arch/arm/boot/dts/am335x-boneblue.dts @@ -159,6 +159,7 @@ >; }; + /* UT0 */ uart0_pins: pinmux_uart0_pins { pinctrl-single,pins = < AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* (E15) uart0_rxd.uart0_rxd */ @@ -166,6 +167,37 @@ >; }; + /* UT1 */ + uart1_pins: pinmux_uart1_pins { + pinctrl-single,pins = < + AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0) /* (D16) uart1_rxd.uart1_rxd */ + AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* (D15) uart1_txd.uart1_txd */ + >; + }; + + /* GPS */ + uart2_pins: pinmux_uart2_pins { + pinctrl-single,pins = < + AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE1) /* (A17) spi0_sclk.uart2_rxd */ + AM33XX_IOPAD(0x954, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (B17) spi0_d0.uart2_txd */ + >; + }; + + /* DSM2 */ + uart4_pins: pinmux_uart4_pins { + pinctrl-single,pins = < + AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE6) /* (T17) gpmc_wait0.uart4_rxd */ + >; + }; + + /* UT5 */ + uart5_pins: pinmux_uart5_pins { + pinctrl-single,pins = < + AM33XX_IOPAD(0x8C4, PIN_INPUT_PULLUP | MUX_MODE4) /* (U2) lcd_data9.uart5_rxd */ + AM33XX_IOPAD(0x8C0, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* (U1) lcd_data8.uart5_txd */ + >; + }; + mmc1_pins: pinmux_mmc1_pins { pinctrl-single,pins = < AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* (C15) spi0_cs1.gpio0[6] */ @@ -229,6 +261,34 @@ status = "okay"; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>; + + status = "okay"; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + + status = "okay"; +}; + +&uart4 { + pinctrl-names = "default"; + pinctrl-0 = <&uart4_pins>; + + status = "okay"; +}; + +&uart5 { + pinctrl-names = "default"; + pinctrl-0 = <&uart5_pins>; + + status = "okay"; +}; + &usb { status = "okay"; };