arm64: tegra: Wire up Bluetooth on Jetson TX1 module
authorTomasz Maciej Nowak <tmn505@gmail.com>
Wed, 21 Aug 2024 18:58:04 +0000 (20:58 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 29 Aug 2024 15:34:57 +0000 (17:34 +0200)
P2180 modules have Bluetooth in form of BCM4354 chip, and kernel driver
supports this one, so enable it for all users. The necessary firmware
can be obtained from Jetson Linux Archive. bcm4354.hcd file is located
in "Driver Package (BSP)" in
nv_tegra/l4t_deb_packages/nvidia-l4t-firmware_<version>_arm64.deb
archive.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi

index f8b20af1fd3d6754ff249e47af00d321a659c9a2..64b8668fcdcd632987ab984dcd2105aff4ea083e 100644 (file)
                status = "okay";
        };
 
+       serial@70006300 {
+               /delete-property/ reg-shift;
+               status = "okay";
+               compatible = "nvidia,tegra30-hsuart";
+               reset-names = "serial";
+
+               bluetooth {
+                       compatible = "brcm,bcm43540-bt";
+                       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";