TM2(e) boards have a Broadcom Bluetooth chip connected to 3rd UART port.
Add a device tree node describing it and its resources (control GPIO lines
and clock).

Signed-off-by: Marek Szyprowski <[email protected]>
---
 .../boot/dts/exynos/exynos5433-tm2-common.dtsi     | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi 
b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
index f3ed4c078ba5..d88e2f0e179a 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
@@ -1202,6 +1202,20 @@
        status = "okay";
 };
 
+&serial_3 {
+       status = "okay";
+
+       bluetooth {
+               compatible = "brcm,bcm43438-bt";
+               max-speed = <3000000>;
+               shutdown-gpios = <&gpd4 0 GPIO_ACTIVE_HIGH>;
+               device-wakeup-gpios = <&gpr3 7 GPIO_ACTIVE_HIGH>;
+               host-wakeup-gpios = <&gpa2 2 GPIO_ACTIVE_HIGH>;
+               clocks = <&s2mps13_osc S2MPS11_CLK_BT>;
+               clock-names = "extclk";
+       };
+};
+
 &spi_1 {
        cs-gpios = <&gpd6 3 GPIO_ACTIVE_HIGH>;
        status = "okay";
-- 
2.17.1

Reply via email to