arm64: dts: exynos: Add Bluetooth chip to TM2(e) boards
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 14 Dec 2018 11:34:10 +0000 (12:34 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 17 Dec 2018 19:23:32 +0000 (20:23 +0100)
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 <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi

index f3ed4c078ba59d37ca41638e6db0387461fcdfa2..d88e2f0e179a96c632ffe30cb50e4c1852f9f5f1 100644 (file)
        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";