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: 10124659 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 0A40F60390 for ; Tue, 19 Dec 2017 22:32:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01FD7207A7 for ; Tue, 19 Dec 2017 22:32:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EACCF2956F; Tue, 19 Dec 2017 22:32:55 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 913F5207A7 for ; Tue, 19 Dec 2017 22:32:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752547AbdLSWcy (ORCPT ); Tue, 19 Dec 2017 17:32:54 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:42393 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752653AbdLSWcw (ORCPT ); Tue, 19 Dec 2017 17:32:52 -0500 Received: by mail-it0-f68.google.com with SMTP id p139so4567898itb.1; 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=rnQtrQDZ1NPXimu64T8iRfpk4eb5cVUWLPzsJ6cLXhERIvqC2IMNb9tL/PAKO5m4QP LoDjj4bYdqHBe9NFCmeWAA4JXv/2tw8Ese4/IMLnSijVNr+yypAEA1Ek5TcEtjqtcXWf rTwcjIg9usW/bSFXX0ZZEogR4HUSKzGkJSrZJFYg4b50Ln197huFCfh/mU3sXhFbLV2Y MYN0Mpi/s91IEnQOK/huZVWOAxllCiQ6sAnCdMdLpN14ERpV0ABKLwAn8i5A68J+2GjY ktfPr7DcwTzUEP6AIDdM9bxruPYz4hO5W5RBTzYtuXi4Y1WuDvqCy2A8dIkzRtA9ANa/ EErA== X-Gm-Message-State: AKGB3mLg+1G6i4wCHSMY3ErcaNHIaphqrluvDlTgTfxzHt8TIN3Iqa1e +vSwK14lnZHzs596kQj8RTg= 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 Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Robert Nelson , Jason Kridner , Drew Fustini 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> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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"; };