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 c1f3ba9..b52ddc4 100644 (file)
        };
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,atlantisb";
+};
+
 &wifi0 {
        brcm,board-type = "apple,atlantisb";
 };
index ecb10d2..1510741 100644 (file)
        model = "Apple MacBook Pro (13-inch, M1, 2020)";
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,honshu";
+};
+
 &wifi0 {
        brcm,board-type = "apple,honshu";
 };
index df74173..bc1f865 100644 (file)
        model = "Apple MacBook Air (M1, 2020)";
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,shikoku";
+};
+
 &wifi0 {
        brcm,board-type = "apple,shikoku";
 };
index 8c6bf95..7ea2745 100644 (file)
        };
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,capri";
+};
+
 &wifi0 {
        brcm,board-type = "apple,capri";
 };
index fe7c0aa..8ee0ac8 100644 (file)
        };
 };
 
+&bluetooth0 {
+       brcm,board-type = "apple,santorini";
+};
+
 &wifi0 {
        brcm,board-type = "apple,santorini";
 };
index 3d15b8e..cc2e040 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];
+       };
 };