Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1843800imm; Sat, 13 Oct 2018 05:08:48 -0700 (PDT) X-Google-Smtp-Source: ACcGV63Zvawav/niexXzNK+gS0vTX8q15/nfGpOD+K4uVnn42l3TdXKBhMKFmbO/ls+Xg80wibA6 X-Received: by 2002:a17:902:562:: with SMTP id 89-v6mr9787218plf.315.1539432528302; Sat, 13 Oct 2018 05:08:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539432528; cv=none; d=google.com; s=arc-20160816; b=Zh1BKtTIEa0MoVkiqtehWPRtVc8t5YnaLj8iU4bFUEJPhiKOPzdp4Vtc4AdBbrfIzM c0uXOjqU+VpGIz5d7gbCfr3NK+TAapuXl1J857nlAc0EMnrMGKPMrUuPk6JbTvY87fIl xv6/1GAEJg4vTvQkYIqpeh5LLvKoSO78ZOVQ5txJoOZ5iM2KitSV9ujJPp5VH4N17kKi GuAe70FlMO5+CVVsRlqMagDinnZcejbBsganJ3Zqnxs9SPVzUVdXJA6cMz56dzPJAxsQ xFAmHFoxbH+liNo8hXcq/M9+DETSpPdKsuMO5GnTqpQCi+wKhtygCh3nLj5ptHYHdqR1 gaGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature; bh=G0T/pn0d70jOOapLRyGfOFyEjzcgZRirj6z3vSM+XCg=; b=CFba/vl4yXsMz4n4KRp13QIb9id//RuJfPOIgX0kExqWFYxHFL4Lb3h4XDn2qP24Yo Avjw3gV5b4WCF7uf2nhcNqBVIpFGtshg7kr8XXCepdujb7xmJjZj0cGo8fhq4v6wK4M2 Nx040R3jbAEvldAUkVawdS2ykZUI9etCrfPs4SxZTmZQGebFQD+0VMuuhxzR1jn6E7Wn iQYu4+wsrXn1JHhSW2lP2v1MRpmbtjXh/SEvcFZgxQsgD20Fr8EGol+33TzmZgmihB9z X3cauPBMok/i+EKZKKbKMyB7i5PVH6fS1jhU05NkTXX2ZAbBgOLjSFdTnNuf71tpBOzA +PvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=fahPUWBJ; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i21-v6si4490480pgh.53.2018.10.13.05.08.31; Sat, 13 Oct 2018 05:08:48 -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=@gmail.com header.s=20161025 header.b=fahPUWBJ; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbeJMTpC (ORCPT + 99 others); Sat, 13 Oct 2018 15:45:02 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:43211 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726255AbeJMTpC (ORCPT ); Sat, 13 Oct 2018 15:45:02 -0400 Received: by mail-wr1-f66.google.com with SMTP id n1-v6so16115975wrt.10; Sat, 13 Oct 2018 05:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=G0T/pn0d70jOOapLRyGfOFyEjzcgZRirj6z3vSM+XCg=; b=fahPUWBJyeIlrtVobgnAAeKEJUhiTfZECHSkAWBshWgsjjl8dX3OB1j678XS6UC19h xqz4ldTW0YUd9nnYRKun2SHRN+at8BrTAeyiPacoIsH0eCe9rST0DJPtKA0g6ZpQnUV/ JeFF9bQEWd8HbkMxAPAC24N1u8FwXZEhXCS4Wvi802r3JRXGRfPPPEM2TbAsQiQCl2Yy 0Voylmv6akeymmPcpmlBMAvLhunq7Ee1zz8W3Ek5tCffr+huqEvMhSqc7XtaQuKWayM4 7zx3PEwyvZX/Bm0T36Cfh6N+7oReSIdqPaFh5mWwZuJqeDQYmV2YpOvRE9ug33nKTYh8 l7IQ== 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; bh=G0T/pn0d70jOOapLRyGfOFyEjzcgZRirj6z3vSM+XCg=; b=M9fcY4iHItVDk/oJwgieYEd9bjrT3GjrwGTOm7VG4FmFc8ZuFtggUpXdZ4CPcVLeyc w4w1bMuAUPvyQhHacpEb7ImcrwpYZYzntsXhNVD2YYwKbVDo6r2fr8LZonSvKSl3A+zD NOTgqhUHbDk9yMIj/4CJn6nkibJxCq+0GMcJzZEev4o4VrYHa6jVBS6j4PIywHyp79ed TKgvBhINiFe63kVRvhBnLu6NYWdcMcBlSvf59x4jf4ODdsHEs7L0SRNaSBYWrhnZ14ue 8ogHTSplvGqjz7a4vrDHqMn4ndN0tuwN2SJhpGUoK5HGKbRsQ3Hjev36AB+URPuhatV0 szvQ== X-Gm-Message-State: ABuFfohU1z6aQb3hlD3ZBTrUrZz9lJVtWRWtuwoNPHaKqctLT4DxTEP4 eKEuL+DATf8gSuxzh4WPQLo= X-Received: by 2002:a5d:4292:: with SMTP id k18-v6mr8074854wrq.225.1539432487573; Sat, 13 Oct 2018 05:08:07 -0700 (PDT) Received: from localhost.localdomain ([94.204.252.234]) by smtp.gmail.com with ESMTPSA id f16-v6sm2732011wrw.89.2018.10.13.05.08.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 13 Oct 2018 05:08:06 -0700 (PDT) From: Christian Hewitt Cc: christianshewitt@gmail.com, Rob Herring , Mark Rutland , Carlo Caione , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM64: dts: meson-gxl-s905x-khadas-vim enable Bluetooth Date: Sat, 13 Oct 2018 16:07:06 +0400 Message-Id: <1539432427-11779-1-git-send-email-christianshewitt@gmail.com> X-Mailer: git-send-email 2.7.4 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enables Bluetooth support for the following models: - Khadas VIM basic (AP6212) using firmware BCM43438A1.hcd - Khadas VIM pro (AP6255) using firmware BCM4345C0.hcd The AP6212 module used on the VIM basic has an ID clash with another device. To get Bluetooth working you either need to apply a kernel patch to drivers/bluetooth/btbcm.c so 0x2209 loads BCM43438A1 or the BCM43438A1.hcd firmware must be renamed to BCM43430A1.hcd. Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts index d32cf38..7e0717d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts @@ -187,6 +187,13 @@ }; }; +&uart_A { + 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: */ &uart_AO { status = "okay"; -- 2.7.4