Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp702711yba; Thu, 18 Apr 2019 08:12:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzWvDMpUZdDMmbjL4Q30Ozl1v1DlQkc7+js0n5FV0Cs4FAGbh3+g5zEkvfxAcOPEYLAeKX X-Received: by 2002:a17:902:2de4:: with SMTP id p91mr93975392plb.191.1555600379255; Thu, 18 Apr 2019 08:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555600379; cv=none; d=google.com; s=arc-20160816; b=HEGC+gUB07adEyF1/klOh3EhQdl0DUzQTfyiKaas42AJml5CEZWDKJJY38dpcFSSSh LsYzapgJSqBieshHjap0ow3TAToz3++laYfekRDRU4N0x3BUb1ZEXNXYDO7lgfrH6DCM rZmPQbyaAnySAtf9MduvG25aI/YhYvxUDhspm/B/zY+mp2Z/k8yahKp+x6RENTNBpi55 uYA4phcL0KKz9IJJki/D2g5kqx1jk7F78LInyga0WiGys493xpD/yCN30VQcgi2jIDiM 7QXxmHCOwHnzT+p3AOgBDYLn2gOIi0n75w/TXY9DJfCHij0a25DTghY9P9UTSpoNbJ2Z FTlw== 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=PdzmwjKjyReWbNhBwHdQwZucB3k+W4jGm5Q8l9jkdO8=; b=m0xRSIp1yMyBc2h0AQVH93TEFbamgWhmHBJIrJcKAo9bKiL+3etber4eLOOaM73oUF 3y6/JFiDMzdJ7KxDG8oC3hdI6F6NsFh4GeTeTl5fKd9F3ScABtHTKJ3AUxlgbF0wwGjc XO7xDg4UhdBA81qvzpYgWuIRqcF7666uG3qI1DEU/xGfidsg3Li/SWu/lrxFMwawcwKE M0/1XunsYoF2BD/GDRnVXaGR/VC69h7fNhwW/ePPt2HaMr6rEefYdeIQ3FZmQ1DiKH+i o9/5+++OLT8uL7xDYPwb6wS/tX9y+4U4DEy/tf+rmHdtcJV1bS0WLy1ZB2noYJFBIVn/ Modw== 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 p1si2359404pls.64.2019.04.18.08.12.44; Thu, 18 Apr 2019 08:12:59 -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 S2389448AbfDRPLs (ORCPT + 99 others); Thu, 18 Apr 2019 11:11:48 -0400 Received: from mail2.sp2max.com.br ([138.185.4.9]:44972 "EHLO mail2.sp2max.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731317AbfDRPLp (ORCPT ); Thu, 18 Apr 2019 11:11:45 -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 C139F7B307D; Thu, 18 Apr 2019 12:11:34 -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 v4 5/7] ARM: dts: sun8i: v40: bananapi-m2-berry: Add Bluetooth device node Date: Thu, 18 Apr 2019 12:11:20 -0300 Message-Id: <1555600282-9405-6-git-send-email-pgreco@centosproject.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1555600282-9405-1-git-send-email-pgreco@centosproject.org> References: <1555600282-9405-1-git-send-email-pgreco@centosproject.org> X-SP2Max-MailScanner-Information: Please contact the ISP for more information X-SP2Max-MailScanner-ID: C139F7B307D.A4079 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 | 26 +++++++++++++++++++++++ 1 file changed, 26 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 78f4a1a..3d0bb7e 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"; }; }; @@ -171,6 +173,11 @@ status = "okay"; }; +&pio { + pinctrl-names = "default"; + pinctrl-0 = <&clk_out_a_pin>; +}; + ®_aldo2 { regulator-always-on; regulator-min-microvolt = <2500000>; @@ -268,6 +275,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