From patchwork Fri Sep 7 12:15:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 10592131 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EF2071669 for ; Fri, 7 Sep 2018 12:20:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE16A2B18A for ; Fri, 7 Sep 2018 12:20:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB3812B16D; Fri, 7 Sep 2018 12:20:31 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 F10FF2B130 for ; Fri, 7 Sep 2018 12:20:25 +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=ISIghlKIaZ7jgz8vd0F2oNEvA443j1EiMo8qCHuJ/+Y=; b=NFhQPSSGiYX2KC9uaRrqDQN2nU VSJnk3lBraLPtkyvVoAPkpRaxnwiWsSvE3NWeeGN6iUNRNozr0xNwWJ/Vj3lAYyIoYP69Hw7HAg7C KRGLOeoy6z80ECDl2j8M6v2rqml+PiU6lomzogScoIV8ffFrdVoiuLb/4lvhuqMOuoeD3LtsDJsjH vuIXiNtpc7yERRnKuyd85VVZjzSKSVVHrsz8iJMh+tEELDsvnvj1ZlI8+UKzyJmOm6+s4ozO1XsuO fNvVZVdgMB98o4qBOUvXfAvIJXM4yAg5xjs8NqfPFuOnj/qVGv+Um5GCk1anfsJ5PVuELuD0y/8aI 6VAuqnTg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fyFkK-0003sO-Lw; Fri, 07 Sep 2018 12:20:21 +0000 Received: from mail-wm0-f67.google.com ([74.125.82.67]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fyFje-0002Sb-Rs; Fri, 07 Sep 2018 12:19:40 +0000 Received: by mail-wm0-f67.google.com with SMTP id b19-v6so14556237wme.3; Fri, 07 Sep 2018 05:17:28 -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=I9ORE5suc9rtFSv5V5fLA6rRDjUjBIzD1lVEyDy+Phw=; b=p874fP7DTtt9cWqbrXQhYbF+hjKV5QNlym6CGD2oAGcetp9CFxybOzDyyCK0fgs2Jq FdVVhD0lCK7sXg5tAwLA2yudK7bzrZVLLAhjzIVWroXVAoom4rEMYjFO4F4MvJl1kxGo FvKHpkaFZe+vGMyxt02NoGqw2+0nbL3g1Fa/mrbWT6TCn9pEY3i7k1lhekkV2Xbdl7cR BVgKaPbMx79CjM8+twy+DNGWayXjYh3i3uD+jiM0r3CWdp9rafNbnldJzV4uuOEuBgxp +d2P9fFHvvqskfV0cRPaA6BTh9SsgcjobZhhBcNxqokjanULVDTDAOf2BvoCryY2v3hf J4LA== 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=I9ORE5suc9rtFSv5V5fLA6rRDjUjBIzD1lVEyDy+Phw=; b=asS9b2Pw2CxBh2Ba/CweoZqwKt3f7W5lrGEilYnt7wBDi0ze+QrVA29qPaHbK/OG/a hXo34sInn8pk718uXVF1qa7Imhtp1N6BLTMtDVZ2EAXYGqbdlSmAzTxeLUMH43l5jfNE TOngXj8tBel/TdyzfOA7vjK5jjDGGJBRs2OcajSVkZm3a/kz5n4bku04PhHmf9DV1NfW 2Dd+DEjvYp+shFFiGf9dkq03nmumINtflub923o11PXgLsQKqPwmrHZW8ujd2Iz8pc8h SdyQIT+Z94P7U/jBtLOVIT2E/024ecN3ni7E9zjOFfkT98LQhlE2tcTkcFujgO0e6va5 Go8A== X-Gm-Message-State: APzg51BNlukHYGxhzMOuzYddNQ/IbCtbYJuUrNS2wB+BBPNmK8ji1Ds1 p9WCLgRz0BSn1IbpGYO1crw= X-Google-Smtp-Source: ANB0VdaKPUZE+rlIV+BfX7n5uvHirtlsQ5hgZXOHau72tkHCU9x6NNXyv2k4sSDlXLgDZigOaUNxCg== X-Received: by 2002:a1c:3314:: with SMTP id z20-v6mr4884377wmz.95.1536322586826; Fri, 07 Sep 2018 05:16:26 -0700 (PDT) Received: from localhost.localdomain ([94.204.252.234]) by smtp.gmail.com with ESMTPSA id r13-v6sm6329913wmf.34.2018.09.07.05.16.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Sep 2018 05:16:26 -0700 (PDT) From: Christian Hewitt To: Subject: [PATCH v2] ARM64: dts: meson-gxbb-wetek: add ttyAML1 uart for Bluetooth Date: Fri, 7 Sep 2018 16:15:36 +0400 Message-Id: <1536322536-53109-1-git-send-email-christianshewitt@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536072290-28015-1-git-send-email-christianshewitt@gmail.com> References: <1536072290-28015-1-git-send-email-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180907_051938_926831_1925BD9E X-CRM114-Status: GOOD ( 12.21 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, narmstrong@baylibre.com, martin.blumenstingl@googlemail.com, Kevin Hilman , christianshewitt@gmail.com, linux-kernel@vger.kernel.org, Rob Herring , Carlo Caione , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This change adds the uart_A used by the brmcfmac sdio module in the WeTek Hub and WeTek Play 2 devices. meson_uart_probe seems to mandate an alias (without it, BT is not working) so this is also included. Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi index 70325b2..e75ace7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi @@ -10,6 +10,7 @@ / { aliases { serial0 = &uart_AO; + serial1 = &uart_A; ethernet0 = ðmac; }; @@ -239,6 +240,18 @@ vqmmc-supply = <&vddio_boot>; }; +/* This is connected to the Bluetooth module: */ +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>; + }; +}; + /* This UART is brought out to the DB9 connector */ &uart_AO { status = "okay";