Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1451683rwl; Fri, 4 Nov 2022 14:15:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6LUmuJ561Jf+ZAGNZ7e+i0vlVJq0zOz4YTEFyKNzAiC5uBoKhlb3/EAioUmSD4HCrjSHYP X-Received: by 2002:aa7:c1d9:0:b0:463:aeaf:3383 with SMTP id d25-20020aa7c1d9000000b00463aeaf3383mr22558939edp.253.1667596534855; Fri, 04 Nov 2022 14:15:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667596534; cv=none; d=google.com; s=arc-20160816; b=hye5GXe1Ak4n8bYCea3B8lSZNMUeTj7P+4Fflw2f0QI30HCwD48FRwo14knWJISlrT pX5pWeX0bWI4ppzj/TPiQYSubfoaqFq0puR3auSZ7GuedADtf6HqHBby/aq+2RMI/5Fs lVgnq/J3EoxPmPJwt2tDW+2ETW2Qodx8LvbHJdlB9ZQoCxNlB+c8QKXvgKnh7wNgqQBu wWhYQ0OUmP7nb8vXLE48rNyD0qVHQkM/9zNg0iEoLQXn4bMrQDwr8tvzZ9qwDNQVP134 d36yGLpd8RtVpmHk0zMdJloyynm7qdQGyzWDhvHIrnUgjUK+KL76k/kINwMJu803EA6n tqkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=vC4bjdi+ygr9v5m5Yqm8eJBkV8nUrE46VnfGZgrrnXA=; b=jeUFgYqko4dpmeqAcxPHOyqQKfJwoPxYFQ6PGZ/1zzSbeVoqURevZgZpkXScc1LHtG DtKiLX28kFv0LFXyW2nuO/sUhJEtf342kIubCFrrX6qND2zA8KoBebTRyqmpdY59OXVy /8DUwulOzl1sx9QP2k5LFwDBPrrlb8xUoW2bVRRn0v2G64wOjIrMy6WWt0ovXq4HsMoW JOxTruUwRe13zR/fW2mNXAJhxjnBtZ56Ywud6tusp4DYEv4wKO53ldiWzzVBCvjMz0J0 mYbN/hEJXjcOvz+4Pc47COn8us8l/2aYh2WSnBqbS/vl9M8bGflV8aWAF4hqs4mF2VVp OPbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm3 header.b="MSqKlNu/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=I5hIgD2U; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svenpeter.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a056402148800b0045d088f4b79si491970edv.258.2022.11.04.14.15.10; Fri, 04 Nov 2022 14:15:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm3 header.b="MSqKlNu/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=I5hIgD2U; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svenpeter.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbiKDVOC (ORCPT + 99 others); Fri, 4 Nov 2022 17:14:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229948AbiKDVNr (ORCPT ); Fri, 4 Nov 2022 17:13:47 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D4C84E42C; Fri, 4 Nov 2022 14:13:33 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id CFADD3200929; Fri, 4 Nov 2022 17:13:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 04 Nov 2022 17:13:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1667596411; x= 1667682811; bh=vC4bjdi+ygr9v5m5Yqm8eJBkV8nUrE46VnfGZgrrnXA=; b=M SqKlNu/yBgiza4qrPIusKJiDFaBtdfTZTOIimqpL3MnjX6A920XWKPudaMCilYLi MnMWKkMD6JboAgW7qdOf4XsXtOUv4POuIpPu84405VEvxNLV1gDPHyBcdjfS1yEP sQUiFTnjSQJmr2Yz4Rvi2feGTTaLQRoMZwEdvGPYuz6YxEYLEVyl+EICGFJqODb5 i13aCGeKOMQZl++mMSU7fQYIFca1sUIDO45aASvEQGO9b+lj3QROaWPDaFLhQuDo lu/o09WEHvNAgne9HK9CpUQvxMnA0k/at7SW1e7TK+P0apdGVA28SthFv2RZYbdg C3jhLPCwaiSharNIV4k3g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1667596411; x=1667682811; bh=vC4bjdi+ygr9v 5m5Yqm8eJBkV8nUrE46VnfGZgrrnXA=; b=I5hIgD2USr/ixa7pgK7djMSZNa9wb M1fz8+QtVDVmyJ0Ko3HNlHSPP6dkrWFMRsPlhEl+eFn80RmzyP8uak5zLMrRHPXA nB1hXst9gcgNqam9IdMxDuKVx6gpXuk9dhpfROmNAnjbdze59fX52NA31VYZsF3e JzoKVEeUjrRzqTo9UZbscZFVKxqnVrGA+Pb5WxyXBBSPAtyjnoATLn6I72vqgJa3 KUu+pL1R0A7vmzs9SWCfU9y9Bi1cYkN2K6zwhMJwlEA2IHYAjKdshMn7fkATn10/ X2L3oBxTP9Ht6rezMLMl+AgkdanQ/QkZBt0EjzwDLdFa54QLgTJbwqFlg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvddugddugeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufhvvghn ucfrvghtvghruceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtffrrghtth gvrhhnpeejieehheekgedvjefhveekjefguddtfefhteehtdeiffelkeeiuedufeelkeej geenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsvh gvnhesshhvvghnphgvthgvrhdruggvvh X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Nov 2022 17:13:28 -0400 (EDT) From: Sven Peter To: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz Cc: Sven Peter , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Krzysztof Kozlowski , Paolo Abeni , Rob Herring , Hector Martin , Alyssa Rosenzweig , asahi@lists.linux.dev, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 3/7] arm64: dts: apple: t8103: Add Bluetooth controller Date: Fri, 4 Nov 2022 22:12:59 +0100 Message-Id: <20221104211303.70222-4-sven@svenpeter.dev> X-Mailer: git-send-email 2.30.1 (Apple Git-130) In-Reply-To: <20221104211303.70222-1-sven@svenpeter.dev> References: <20221104211303.70222-1-sven@svenpeter.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add bluetooth controller nodes and the required brcm,board-type properties to be able to select the correct firmware to all board device trees. Signed-off-by: Sven Peter --- arch/arm64/boot/dts/apple/t8103-j274.dts | 4 ++++ arch/arm64/boot/dts/apple/t8103-j293.dts | 4 ++++ arch/arm64/boot/dts/apple/t8103-j313.dts | 4 ++++ arch/arm64/boot/dts/apple/t8103-j456.dts | 4 ++++ arch/arm64/boot/dts/apple/t8103-j457.dts | 4 ++++ arch/arm64/boot/dts/apple/t8103-jxxx.dtsi | 8 ++++++++ 6 files changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8103-j274.dts b/arch/arm64/boot/dts/apple/t8103-j274.dts index c1f3ba9c39f6..b52ddc409893 100644 --- a/arch/arm64/boot/dts/apple/t8103-j274.dts +++ b/arch/arm64/boot/dts/apple/t8103-j274.dts @@ -21,6 +21,10 @@ aliases { }; }; +&bluetooth0 { + brcm,board-type = "apple,atlantisb"; +}; + &wifi0 { brcm,board-type = "apple,atlantisb"; }; diff --git a/arch/arm64/boot/dts/apple/t8103-j293.dts b/arch/arm64/boot/dts/apple/t8103-j293.dts index ecb10d237a05..151074109a11 100644 --- a/arch/arm64/boot/dts/apple/t8103-j293.dts +++ b/arch/arm64/boot/dts/apple/t8103-j293.dts @@ -17,6 +17,10 @@ / { model = "Apple MacBook Pro (13-inch, M1, 2020)"; }; +&bluetooth0 { + brcm,board-type = "apple,honshu"; +}; + &wifi0 { brcm,board-type = "apple,honshu"; }; diff --git a/arch/arm64/boot/dts/apple/t8103-j313.dts b/arch/arm64/boot/dts/apple/t8103-j313.dts index df741737b8e6..bc1f865aa790 100644 --- a/arch/arm64/boot/dts/apple/t8103-j313.dts +++ b/arch/arm64/boot/dts/apple/t8103-j313.dts @@ -17,6 +17,10 @@ / { model = "Apple MacBook Air (M1, 2020)"; }; +&bluetooth0 { + brcm,board-type = "apple,shikoku"; +}; + &wifi0 { brcm,board-type = "apple,shikoku"; }; diff --git a/arch/arm64/boot/dts/apple/t8103-j456.dts b/arch/arm64/boot/dts/apple/t8103-j456.dts index 8c6bf9592510..7ea27456f33c 100644 --- a/arch/arm64/boot/dts/apple/t8103-j456.dts +++ b/arch/arm64/boot/dts/apple/t8103-j456.dts @@ -21,6 +21,10 @@ aliases { }; }; +&bluetooth0 { + brcm,board-type = "apple,capri"; +}; + &wifi0 { brcm,board-type = "apple,capri"; }; diff --git a/arch/arm64/boot/dts/apple/t8103-j457.dts b/arch/arm64/boot/dts/apple/t8103-j457.dts index fe7c0aaf7d62..8ee0ac871426 100644 --- a/arch/arm64/boot/dts/apple/t8103-j457.dts +++ b/arch/arm64/boot/dts/apple/t8103-j457.dts @@ -21,6 +21,10 @@ aliases { }; }; +&bluetooth0 { + brcm,board-type = "apple,santorini"; +}; + &wifi0 { brcm,board-type = "apple,santorini"; }; diff --git a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi index 3d15b8e2a6c1..cc2e04035763 100644 --- a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi +++ b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi @@ -11,6 +11,7 @@ / { aliases { + bluetooth0 = &bluetooth0; serial0 = &serial0; serial2 = &serial2; wifi0 = &wifi0; @@ -77,4 +78,11 @@ wifi0: network@0,0 { local-mac-address = [00 00 00 00 00 00]; apple,antenna-sku = "XX"; }; + + bluetooth0: bluetooth@0,1 { + compatible = "pci14e4,5f69"; + reg = <0x10100 0x0 0x0 0x0 0x0>; + /* To be filled by the loader */ + local-bd-address = [00 00 00 00 00 00]; + }; }; -- 2.25.1