summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2018-02-25 15:10:54 +0100
committerEric Anholt <eric@anholt.net>2018-02-26 15:00:18 -0800
commitaa181326b9a08e34b5c5d4bc79836168d9d4b003 (patch)
treeb3b645a273893cd8d54118f16188ef62148dbbfe /arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
parenta166ae400d703acb3a456e2974cc1ca4ad003487 (diff)
ARM: dts: bcm2835-rpi-zero-w: Add bcm43438 serial slave
Add BCM43438 (bluetooth) as a serdev slave device of uart0 (pl011/ttyAMA0). This allows to automatically insert the bcm43438 to the bluetooth subsystem instead of relying on patched userspace helpers (hciattach). In order to keep a debug UART we need to switch to uart1. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835-rpi-zero-w.dts')
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-zero-w.dts14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts b/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
index b8565fc33eea..99fe7065ab96 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
@@ -131,6 +131,18 @@
&uart0 {
pinctrl-names = "default";
- pinctrl-0 = <&uart0_gpio14>;
+ pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>;
+ status = "okay";
+
+ bluetooth {
+ compatible = "brcm,bcm43438-bt";
+ max-speed = <2000000>;
+ shutdown-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
+ };
+};
+
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_gpio14>;
status = "okay";
};