Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp675967imb; Fri, 1 Mar 2019 10:54:10 -0800 (PST) X-Google-Smtp-Source: APXvYqz+Vszrtlhqt+NgkFvjWPgdig4Nk72pEcijeLqFGtyDPdA4jaybIBSOK9fynrXm+voBwNcr X-Received: by 2002:a62:1b03:: with SMTP id b3mr7109526pfb.218.1551466450218; Fri, 01 Mar 2019 10:54:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551466450; cv=none; d=google.com; s=arc-20160816; b=K3L44cL1MmcoMuJXWsW+eHiFSSag+30gIz4D2u8QiIa946d78WUSEnDrkSwsPFlvdG qvOrQNGmHeIPYftUs+2XcFxnbxmrr3NNE5Oq1AA9mNZsbUgAqYdWN0YqdpH239ST6Rz2 L9GN8hqD4zVZflTKcbG9ZY3CTSxIN6TEV7mr0Jgsfn5/EC8G4CY2qDvrb8OA6XLsYy1Q E4bsLvzkiePYWt643uF72Bf9lB+lXHDe+RJysUsVDJEfL3u4ael6gIugLtzZauDd95vD aiL9XG7QekxywVqSxoV6F4xS+ba+foVjaTRrhzE4I/ZGyU6RLZvYELLBq7jE0dqyBMmT qWqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Xmii2DYBLYEKgyM1Mxh0i8K7QVLFqLzjtZe4FCQS/Ig=; b=kG0Gxw0NF4o8ACm9a8mES8sT3fj+e0aFCH69PDigj2QcKnZXldVxdDEn4sm38OsWSs ky2d/zXBslrB2WfGI60h5+r6B1+TqloZeFrR4daS1Liq2rF/gqA6/7bCfEZTwiiWLAwy +tLbvMs/qebh2X6nhy7lrKD2O8PgYxbjmVXsXVyI6WXnh3JGDcZ/m1WuqLiBdjSTJfhd KGvd32x17T38Y6g3yoMyWLXJMuVynt4BoBzLo4gjhUP8JBg8837FWwdy4lICTclUDtCU d/+h1uwHjuhYTP9xqtvo70Cu2lY1QcA5ANwDGxLggvwNIvCr2xIHRh2Ub39qaaeF0sAB GmPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=kJpmr1vC; 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 g34si21352381pld.15.2019.03.01.10.53.55; Fri, 01 Mar 2019 10:54:10 -0800 (PST) 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=fail header.i=@kemnade.info header.s=20180802 header.b=kJpmr1vC; 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 S2388431AbfCASx1 (ORCPT + 99 others); Fri, 1 Mar 2019 13:53:27 -0500 Received: from mail.andi.de1.cc ([85.214.239.24]:40152 "EHLO h2641619.stratoserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728499AbfCASx1 (ORCPT ); Fri, 1 Mar 2019 13:53:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xmii2DYBLYEKgyM1Mxh0i8K7QVLFqLzjtZe4FCQS/Ig=; b=kJpmr1vClTsC4yQj8lvIiSzIOZ 2PHPx6qH6NsSmIU0GWPk3UIxDekbmzJQlnhKqvfH64H6py98lVWsfZN9VKoGfmNPfwYUkOyDLt6F0 363thBxRMQWBrK+Z5H17GYVCNBA0ACcQYIpQs7MD+inRcvwl7plWLKHP8GQifFEs96RE=; Received: from p200300ccfbcd34001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:fbcd:3400:1a3d:a2ff:febf:d33a] helo=aktux) by h2641619.stratoserver.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gznHY-0001k2-7A; Fri, 01 Mar 2019 19:53:16 +0100 Received: from andi by aktux with local (Exim 4.89) (envelope-from ) id 1gznHZ-00070a-Hy; Fri, 01 Mar 2019 19:53:17 +0100 From: Andreas Kemnade To: robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andreas Kemnade Subject: [PATCH v2] ARM: sun8i: h3: bluetooth for Banana Pi M2 Zero board Date: Fri, 1 Mar 2019 19:52:12 +0100 Message-Id: <20190301185212.26837-1-andreas@kemnade.info> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Banana Pi M2 Zero board has an AP6212 BT+Wifi combo chip with broadcom internals attached to UART1 and some gpios. This addition is in line with similar boards Signed-off-by: Andreas Kemnade --- changes in v2: remove pinctrl things arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts index 1db2541135a7..57432d0500b1 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts @@ -69,6 +69,8 @@ compatible = "mmc-pwrseq-simple"; pinctrl-names = "default"; reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */ + clocks = <&rtc 1>; + clock-names = "ext_clock"; }; }; @@ -122,7 +124,20 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&rtc 1>; + clock-names = "lpo"; + vbat-supply = <®_vcc3v3>; + vddio-supply = <®_vcc3v3>; + device-wakeup-gpios = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */ + host-wakeup-gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */ + shutdown-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */ + }; + }; &usb_otg { -- 2.11.0