Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4000910yba; Wed, 17 Apr 2019 02:24:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbG8ZQQhsHRfKaoqwjviIm6JUCzuqvbAhjTJbSMkYbbEqr1eilwEIwEcF8tTIT3fvn5Yv/ X-Received: by 2002:a17:902:b484:: with SMTP id y4mr87277472plr.88.1555493059733; Wed, 17 Apr 2019 02:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555493059; cv=none; d=google.com; s=arc-20160816; b=BNFLE7dFUElT6OgojhsN1bMIrYW7XNx0biX5a1Hn4P20jEXhG9x+JUrplC75AqU95X YcjlOxx5BMo6/LwGgIfIRau6QyXvOkt7p59WVddRW9CsnPQqyvwdweZXot14J/NgP1jH TMQuXEXVC9jFkktxyQZ1htYk3s5J9Jv1Dlu3wkWAaKRsb0OzyDKS8CVLJTG04r1WgVZl xrcNIUCNBTSCcDeos7Y3UUHslshCqa5grbwygGWVAHMh3k+e4xi2LiRtFeV6kKHxFF3o P/nKIiEwmkjy8/EiOBve56C/nxpBiCA9tf9+CjvQ6mreeya1q6lgdOqNLfMxAeRY3J78 d+ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=qCPX5AV6w4AUPu6kLbRrGL0X5zQAnwux00bb14b8bmQ=; b=pSgBYCGxGy0eJodfmJsJQnYld2DPxzL7TJs3O5kxRwvOuthBtuRD99qlW+THNbK1ti F8U1PLe+ufHVYkd0gsimNFAK5S/sgRAqyK1udJRRldorxxzq2c7F7aWSIJTtQupULtZF ph80OmVPeNDrpH9vXdo/1gL/wYMW8rz1bSEaBLXE0Xv8WmWCVeZvGiCKe3qxog94z4i0 QcdBZ2xf9163MSVMzF2WpSE92lpK/BqyIjymnXDmOiYn8ZU3m8AKLgsbuQQ0hNN37YuU zpc13hHWEVWWETcGzt675wbuNJgPicYuKbM6ojBMAWTzFewwkIDDyMA6jo+Ry3czwd7M 9RQA== ARC-Authentication-Results: i=1; mx.google.com; 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 z4si50050325plo.166.2019.04.17.02.24.05; Wed, 17 Apr 2019 02:24:19 -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; 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 S1731612AbfDQJVu (ORCPT + 99 others); Wed, 17 Apr 2019 05:21:50 -0400 Received: from mail2.sp2max.com.br ([138.185.4.9]:48864 "EHLO mail2.sp2max.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbfDQJVt (ORCPT ); Wed, 17 Apr 2019 05:21:49 -0400 Received: from pgsop.sopnet.com.ar (unknown [179.40.38.12]) (Authenticated sender: pablo@fliagreco.com.ar) by mail2.sp2max.com.br (Postfix) with ESMTPA id 51C8D7B305B; Wed, 17 Apr 2019 06:21:38 -0300 (-03) From: Pablo Greco To: linux-sunxi@googlegroups.com Cc: Pablo Greco , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 7/7] ARM: dts: sun8i: v40: bananapi-m2-berry: Add Bluetooth device node Date: Wed, 17 Apr 2019 06:21:02 -0300 Message-Id: <1555492863-88860-8-git-send-email-pgreco@centosproject.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1555492863-88860-1-git-send-email-pgreco@centosproject.org> References: <1555492863-88860-1-git-send-email-pgreco@centosproject.org> X-SP2Max-MailScanner-Information: Please contact the ISP for more information X-SP2Max-MailScanner-ID: 51C8D7B305B.A431A X-SP2Max-MailScanner: Sem Virus encontrado X-SP2Max-MailScanner-SpamCheck: nao spam, SpamAssassin (not cached, escore=-2.9, requerido 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-SP2Max-MailScanner-From: pgreco@centosproject.org X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since the bananapi-m2-ultra and the bananapi-m2-berry have the same WiFi/Bluetooth, add the required nodes to the bananapi-m2-berry. Signed-off-by: Pablo Greco --- arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts index 6ada736..e88eb43 100644 --- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts +++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts @@ -96,6 +96,8 @@ wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <&pio 6 10 GPIO_ACTIVE_LOW>; /* PG10 WIFI_EN */ + clocks = <&ccu CLK_OUTA>; + clock-names = "ext_clock"; }; }; @@ -275,6 +277,25 @@ status = "okay"; }; +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&uart3_pg_pins>, <&uart3_rts_cts_pg_pins>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&ccu CLK_OUTA>; + clock-names = "lpo"; + vbat-supply = <®_dldo2>; + vddio-supply = <®_dldo1>; + device-wakeup-gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */ + /* TODO host wake line connected to PMIC GPIO pins */ + shutdown-gpios = <&pio 7 12 GPIO_ACTIVE_HIGH>; /* PH12 */ + max-speed = <1500000>; + }; +}; + &usbphy { usb1_vbus-supply = <®_vcc5v0>; status = "okay"; -- 1.8.3.1