Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp62698yba; Thu, 11 Apr 2019 22:01:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIu2jRwHa2kExPFDdAmZjh9gzocGcsCfJdtWwUFATeuJ4bgIvu74faFKRfjB+sWSiKMA9n X-Received: by 2002:a62:6985:: with SMTP id e127mr54756647pfc.188.1555045270342; Thu, 11 Apr 2019 22:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555045270; cv=none; d=google.com; s=arc-20160816; b=FRMA1rkoXO+v3cjJZInGxw8GKDQuMh8gbnbecRz32lohTSyWAFxVqcGCajC+wnJ1RV ViJuCeyz2x819HWktlOSEGMLgtwODwmDfJhOv+asDrew7b4MYcejQZCWN/iB8csIXdNk gN7/rK1mQYVEIlX5l2GBEC4yxUkWd6RE4Yqpgk5whScHoXA5mitPXID2CBtTQytxQKjb G4nHC7yrFsiu3KgtJyGUOqmwAmeL22m4oEhTHqXU8iDdbHnYC7ZpslT/6WOxHASaAqQv p7o28tm4FLNiuwsfif5Gkv8QW63DNUyDJf0kOftwQfHdWufHEvQDd6ohusT/rBmTZJZR hABg== 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=oVCTSjPkwdx6tRas2KGgRjrRoqpSskzQHkdp+NNCgec=; b=AOWhJqeYk7Nthgw+GW6cs0T4p4l8/RkLSN3DmEJsBN2kRl6GE/BP8qM4ed6U01kIGt ECkyYANe3wJ7eRA7HSHGsPnadOxxvl6dVnxtV+H2D3l3+YdNAFMdGeL7X4G1R/yftshn 3I7uTYU6dqDteMByk/BV3zvBY3/KbhHzU+i+cmxrhqXCcUON4y+0dHnKq8xXDRBLoZ83 7E6gRsq/rtpvoFNxv0ez0Ec5JsIFtNnP6Wz0YGi1kCtx/8YLRu3DsI0leriRcz9VoXNm VA0FC+tlvmMijjHYaRqR8tQd7psf3ojz3WQdji+Z/caFe6iC9KXi8fOV8aGRJyM8SWOm TDvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=QzAfqT25; 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 i96si17126840plb.331.2019.04.11.22.00.39; Thu, 11 Apr 2019 22:01:10 -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=fail header.i=@kemnade.info header.s=20180802 header.b=QzAfqT25; 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 S1726789AbfDLE7I (ORCPT + 99 others); Fri, 12 Apr 2019 00:59:08 -0400 Received: from mail.andi.de1.cc ([85.214.239.24]:34746 "EHLO h2641619.stratoserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbfDLE7H (ORCPT ); Fri, 12 Apr 2019 00:59:07 -0400 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=oVCTSjPkwdx6tRas2KGgRjrRoqpSskzQHkdp+NNCgec=; b=QzAfqT25HCNSS1sGe5UNaWSZz0 ncK3CuOHetNof7LPKV8VzexdSVRmaz9hSGbf89B0eT6dXJcmbiWUWWAwqfe5ZYa81DO5ghIT5M5mG V4CX/OfeUqw9M0F9i1Sek7lE9/7CJ2U1v+E5vDVhMmEmsCE4u3F1h1oTwrPWFvP6CkQM=; Received: from p200300ccfbcd83001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:fbcd:8300: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 1hEoHB-0002hr-P5; Fri, 12 Apr 2019 06:58:57 +0200 Received: from andi by aktux with local (Exim 4.89) (envelope-from ) id 1hEoHD-0001LL-Hw; Fri, 12 Apr 2019 06:58:59 +0200 From: Andreas Kemnade To: Rob Herring , Mark Rutland , devicetree , linux-arm-kernel , linux-kernel , Chen-Yu Tsai , maxime.ripard@bootlin.com Cc: Andreas Kemnade Subject: [PATCH v3] ARM: sun8i: h3: bluetooth for Banana Pi M2 Zero board Date: Fri, 12 Apr 2019 06:58:32 +0200 Message-Id: <20190412045832.5109-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 v3: spelling fixes 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