ARM: dts: bcm2837-rpi-3-b: Add bcm43438 serial slave
authorLoic Poulain <loic.poulain@gmail.com>
Wed, 30 Aug 2017 20:42:01 +0000 (22:42 +0200)
committerEric Anholt <eric@anholt.net>
Fri, 6 Oct 2017 20:07:21 +0000 (13:07 -0700)
Add BCM43438 (bluetooth) as a slave device of uart0 (pl011/ttyAMA0).
This allows to automatically insert the bcm43438 to the bluetooth
subsystem instead of relying on userspace helpers (hciattach).

Overwrite chosen/stdout-path to use 8250 aux uart as console.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Loic Poulain <loic.poulain@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
arch/arm/boot/dts/bcm2837-rpi-3-b.dts

index c71a0d73d2a2e9fd64c1906b0fe42a6cfefbd230..ca588552f37b1140ce0f8a3d3d79228cfb9b6577 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
        status = "okay";
+
+       bluetooth {
+               compatible = "brcm,bcm43438-bt";
+               max-speed = <2000000>;
+       };
 };
 
 /* uart1 is mapped to the pin header */