Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3807002ybi; Mon, 27 May 2019 06:23:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwk7ywuXW/okbHUZ/vAgMMsDvPu2uoZ3ATw1K0dyWjsV4nl8ADYPEHdWHGiOakEO8UMKJ6X X-Received: by 2002:a63:5608:: with SMTP id k8mr125111365pgb.393.1558963411476; Mon, 27 May 2019 06:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558963411; cv=none; d=google.com; s=arc-20160816; b=ucsL+G2Hx17r1JSdpyVjIuLMyKrlY1lC83WHKLpVhxRsgCUMgkFtlNG8S5ocZ+iapB +jCpbwtlxvpRkBhIncIJ5bKBG/Z5jNicI8NEpH/eRYrOIH6SYy/POckf9FAenToxpVaW YFBUhEKOXIhonNOYeiRG+IUEeIhsn51wVEMDNuonY9VZ/00i5SnfNPO1Oep0eXfd+T3s I7t6hUWMorNzZgDzlWQTWfLodWUV9VpdPTWfm61kwobb0S95OYn1IZaY1bgmpJ0JKR6G DDfimqkmej4lwMGZEpCJyVtOxenwsRm/u7Vp12S8HCghasfpLqnu9a+ElqAyturiJuWc CgdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z5tls13Db7MluddscEzD/cF6XBKT+xo8zEqe2ab5FrI=; b=OBhedZH12SCOsilYrJW0e7Jhkx5eoLPHkOyP8hojYEszzljWw5MzU4zb2oVi/IpvmG dwQv4Aw9hpZq+m9YV0CuMqNVi+RP9fhoaVtwhu1m0yUclhl6bzZCDJ9mLE7fc+MTMExs ak/mBurkesJO3JA3dTELbh2VJkxwn39f3MTgGPuayT3Px9Q2896fpV1aWnbO1RbknWzw KS57o29j+7cc0+Lho8B7ukD6QaQHeLQRa8dA2UaR0R2ol9ZYtwOenf7DsJWBXrlljbRv 2F1H7YrUPB5TtV6WOGGJYIDjrWmdl9oJWSz5nWrz+rRjUy68gvLlHwpAYM2tyKRyTOeW FULA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bSGwfDwA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x32si19771715pld.190.2019.05.27.06.23.16; Mon, 27 May 2019 06:23:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bSGwfDwA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726598AbfE0NWJ (ORCPT + 99 others); Mon, 27 May 2019 09:22:09 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:44270 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726274AbfE0NWG (ORCPT ); Mon, 27 May 2019 09:22:06 -0400 Received: by mail-wr1-f68.google.com with SMTP id w13so8561070wru.11 for ; Mon, 27 May 2019 06:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Z5tls13Db7MluddscEzD/cF6XBKT+xo8zEqe2ab5FrI=; b=bSGwfDwAQNmN5af6mPI9aaBpl7ow9qoZBVLH4+zqLWruiKxLnW5XbtURKbDdTcnRQO 6vnjdz8rtc5Z/BRk5ivxx7l/c0jj3RbtJPJTGGmKIi5tT1npBVYDSYze3aReFnj0SWDp so9B0iTixNrayDnNwS2qbh1fjLesU1G7I7cH+kVWL6zAnqkp7ouE6T+9RbCCrbAooG7d Q5+jYo+x4dGc1HMfqMQMyxGyz0fEZ6cxyzW44yUiqd/bUjucvtApDQstXj5Hd7ScmY03 rdg2aTMEbG3A9OCaQ2K6SA+7/fo2JNpjnysCa8otZntQIsSV0ZYM7EfdXi70+NZnbQKU Fyig== 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:mime-version:content-transfer-encoding; bh=Z5tls13Db7MluddscEzD/cF6XBKT+xo8zEqe2ab5FrI=; b=SbrkGVtnVo0hSymUxUZ2G2svdjWGuDjiFXYJNnt+lNsLhcYI9QzN8EDobyavrYsNum Vri9fCIGnyVLNHC1rsM3W0WGklVA1rxNLJIfqzZp0cOQ97iY4o+CqFsle54gq8kWrjmj hDxWyEEiHQzpiQKBAc3S4t9/XCqq/mj5h5Izs8Zsa+6q78uenjjXsejJw66LRpDwHKwD cz8vDHVXso9lXbhXPnKnd8mSVBYH4Q9Mwgsw9RAJSS0CTevCGepYid/6D5aTAjr3Y3il j3xCW8NGZBIU4ty57CPfzci5gnU5acbUbxjwkirZvqS4vRQkWKC0xr6PUWSZ/IEgoQeU fgxA== X-Gm-Message-State: APjAAAWr7zX6Ew3nqgP9X8y0U39G7Wrnlgl0bXf9k64bZnJNoqo4xaib f48OfqGDWzlj+HROZA007YDyLQ== X-Received: by 2002:adf:eec9:: with SMTP id a9mr21802706wrp.281.1558963323951; Mon, 27 May 2019 06:22:03 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id l12sm7019836wmj.22.2019.05.27.06.22.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 May 2019 06:22:03 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Cc: Christian Hewitt , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH 02/10] arm64: dts: meson-gxm-khadas-vim2: fix Bluetooth support Date: Mon, 27 May 2019 15:21:52 +0200 Message-Id: <20190527132200.17377-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190527132200.17377-1-narmstrong@baylibre.com> References: <20190527132200.17377-1-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christian Hewitt - Remove serial1 alias - Add support for uart_A rts/cts - Add bluetooth uart_A subnode qith shutdown gpio Fixes: b8b74dda3908 ("ARM64: dts: meson-gxm: Add support for Khadas VIM2") Signed-off-by: Christian Hewitt Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index 25079501f2bb..ff4f0780824d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -18,7 +18,6 @@ aliases { serial0 = &uart_AO; - serial1 = &uart_A; serial2 = &uart_AO_B; }; @@ -403,8 +402,14 @@ /* This one is connected to the Bluetooth module */ &uart_A { status = "okay"; - pinctrl-0 = <&uart_a_pins>; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; pinctrl-names = "default"; + uart-has-rtscts; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + }; }; /* This is brought out on the Linux_RX (18) and Linux_TX (19) pins: */ -- 2.21.0