]> www.infradead.org Git - linux.git/commitdiff
ARM: tegra: tf701t: Add Bluetooth node
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 6 Aug 2024 12:39:00 +0000 (15:39 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 29 Aug 2024 15:16:28 +0000 (17:16 +0200)
Add serial node along with bluetooth node to ASUS TF701T device-tree.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/nvidia/tegra114-asus-tf701t.dts

index 9699ac249bc58c944e76b24569e93311a6d2c72f..a5b236da64ee9f0f62ff4c1537c19ec9bf347afa 100644 (file)
        };
 
        serial@70006200 {
-               /* Bluetooth */
+               compatible = "nvidia,tegra114-hsuart", "nvidia,tegra30-hsuart";
+               reset-names = "serial";
+               /delete-property/ reg-shift;
+               status = "okay";
+
+               nvidia,adjust-baud-rates = <0 9600 100>,
+                                          <9600 115200 200>,
+                                          <1000000 4000000 136>;
+
+               bluetooth {
+                       compatible = "brcm,bcm4334-bt";
+                       max-speed = <4000000>;
+
+                       clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>;
+                       clock-names = "txco";
+
+                       interrupt-parent = <&gpio>;
+                       interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_EDGE_RISING>;
+                       interrupt-names = "host-wakeup";
+
+                       device-wakeup-gpios = <&gpio TEGRA_GPIO(EE, 1) GPIO_ACTIVE_HIGH>;
+                       shutdown-gpios = <&gpio TEGRA_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
+                       reset-gpios = <&gpio TEGRA_GPIO(Q, 6) GPIO_ACTIVE_LOW>;
+
+                       vbat-supply = <&vdd_3v3_com>;
+                       vddio-supply = <&vdd_1v8_vio>;
+               };
        };
 
        serial@70006300 {