zwp10758 / rpms / kernel

Forked from rpms/kernel 4 years ago
Clone
f2c60e
From 50252c318fe2fcfcbd0832fa835e7fd1fafd7d2d Mon Sep 17 00:00:00 2001
f2c60e
From: Peter Robinson <pbrobinson@gmail.com>
f2c60e
Date: Sun, 10 Sep 2017 19:30:02 +0100
f2c60e
Subject: [PATCH 2/2] ARM: dts: bcm2837-rpi-3-b: Add bcm43438 serial slave
f2c60e
f2c60e
Add BCM43438 (bluetooth) as a slave device of uart0 (pl011/ttyAMA0).
f2c60e
This allows to automatically insert the bcm43438 to the bluetooth
f2c60e
subsystem instead of relying on userspace helpers (hciattach).
f2c60e
f2c60e
Overwrite chosen/stdout-path to use 8250 aux uart as console.
f2c60e
f2c60e
Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxx>
f2c60e
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
f2c60e
---
f2c60e
 arch/arm/boot/dts/bcm2837-rpi-3-b.dts | 10 ++++++++++
f2c60e
 1 file changed, 10 insertions(+)
f2c60e
f2c60e
diff --git a/arch/arm/boot/dts/bcm2837-rpi-3-b.dts b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
f2c60e
index 20725ca487f3..e4488cb3067e 100644
f2c60e
--- a/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
f2c60e
+++ b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
f2c60e
@@ -24,6 +29,11 @@
f2c60e
 	pinctrl-names = "default";
f2c60e
 	pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
f2c60e
 	status = "okay";
f2c60e
+
f2c60e
+	bluetooth {
f2c60e
+		compatible = "brcm,bcm43438-bt";
f2c60e
+		max-speed = <2000000>;
f2c60e
+	};
f2c60e
 };
f2c60e
 
f2c60e
 /* uart1 is mapped to the pin header */
f2c60e
-- 
f2c60e
2.13.5
f2c60e