]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: apple: t8103: Add Bluetooth controller
authorSven Peter <sven@svenpeter.dev>
Fri, 4 Nov 2022 21:12:59 +0000 (22:12 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 12 Dec 2022 22:19:24 +0000 (14:19 -0800)
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 <sven@svenpeter.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
arch/arm64/boot/dts/apple/t8103-j274.dts
arch/arm64/boot/dts/apple/t8103-j293.dts
arch/arm64/boot/dts/apple/t8103-j313.dts
arch/arm64/boot/dts/apple/t8103-j456.dts
arch/arm64/boot/dts/apple/t8103-j457.dts
arch/arm64/boot/dts/apple/t8103-jxxx.dtsi

index c1f3ba9c39f6a82a107ae0f40d5361a49bdc10d4..b52ddc4098939bf6ad727cf3ecc646d0303354a8 100644 (file)
        };
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,atlantisb";
+};
+
 &wifi0 {
        brcm,board-type = "apple,atlantisb";
 };
index ecb10d237a053bc377c45ef89c98d4570c779af2..151074109a114c3d99ee82a9d210e2643df7998f 100644 (file)
        model = "Apple MacBook Pro (13-inch, M1, 2020)";
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,honshu";
+};
+
 &wifi0 {
        brcm,board-type = "apple,honshu";
 };
index df741737b8e6f502366d26bde1e057d807da54b1..bc1f865aa7909e19c8d0447f3314260b7af0441e 100644 (file)
        model = "Apple MacBook Air (M1, 2020)";
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,shikoku";
+};
+
 &wifi0 {
        brcm,board-type = "apple,shikoku";
 };
index 8c6bf959251075cd61fd9b30fb537c01bfc27c13..7ea27456f33cc7efda9233be852ee7de698a767b 100644 (file)
        };
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,capri";
+};
+
 &wifi0 {
        brcm,board-type = "apple,capri";
 };
index fe7c0aaf7d62a7ff81ad312bff9617268315d9ab..8ee0ac87142654e29fd9c9d46a0fb4949aa0cae3 100644 (file)
        };
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,santorini";
+};
+
 &wifi0 {
        brcm,board-type = "apple,santorini";
 };
index 3d15b8e2a6c1e62bb13199ed267fa41815312ca9..cc2e04035763212453ba4adb1233b7e522ebb905 100644 (file)
@@ -11,6 +11,7 @@
 
 / {
        aliases {
+               bluetooth0 = &bluetooth0;
                serial0 = &serial0;
                serial2 = &serial2;
                wifi0 = &wifi0;
                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];
+       };
 };