[PATCH] dt: assign uart0 to BT and uart1 to pin headers
Fabian Vogt
fvogt at suse.com
Wed Aug 31 06:49:02 PDT 2016
This maps uart0 to the on-board BT module and uart1 to the header.
Both are tested and work fine.
Signed-off-by: Fabian Vogt <fvogt at suse.com>
---
Applies against current bcm2837-wifi on git.kraxel.org/linux
arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
index c09707b..3b22035 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
@@ -25,9 +25,16 @@
};
};
+/* uart0 communicates with the BT module */
+&uart0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_ctsrts_gpio32 &gpclk2_gpio43>;
+};
+
+/* uart1 is mapped to the pin header */
&uart1 {
pinctrl-names = "default";
- pinctrl-0 = <&uart1_gpio32>;
+ pinctrl-0 = <&uart1_gpio14>;
status = "okay";
};
--
2.6.2
More information about the linux-rpi-kernel
mailing list