OSDN Git Service

arm64: dts: tegra: smaug: Add Bluetooth node
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Wed, 14 Sep 2022 11:12:20 +0000 (12:12 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Sep 2022 19:30:37 +0000 (21:30 +0200)
The Google Pixel C contains a BRCM4354 Wi-Fi + BT module.
Add a DT node for its BT functionality. Tested on Pixel C.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts

index 5f3a1c5..d693e7a 100644 (file)
@@ -17,6 +17,7 @@
 
        aliases {
                serial0 = &uarta;
+               serial3 = &uartd;
        };
 
        chosen {
                status = "okay";
        };
 
+       uartd: serial@70006300 {
+               compatible = "nvidia,tegra30-hsuart";
+               status = "okay";
+
+               bluetooth {
+                       compatible = "brcm,bcm43540-bt";
+                       max-speed = <4000000>;
+                       brcm,bt-pcm-int-params = [01 02 00 01 01];
+                       device-wakeup-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
+                       shutdown-gpios = <&gpio TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
+                       interrupt-parent = <&gpio>;
+                       interrupts = <TEGRA_GPIO(H, 5) IRQ_TYPE_LEVEL_LOW>;
+                       interrupt-names = "host-wakeup";
+               };
+       };
+
        i2c@7000c400 {
                status = "okay";
                clock-frequency = <1000000>;