[PATCH RFC 2/7] ARM64: dts: bcm2837: assign uart0 to BT and uart1 to pin headers
Stefan Wahren
stefan.wahren at i2se.com
Fri Jun 23 13:27:21 PDT 2017
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>
Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
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 972f14d..20725ca 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
@@ -19,7 +19,17 @@
};
};
+/* uart0 communicates with the BT module */
+&uart0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
+ status = "okay";
+};
+
+/* uart1 is mapped to the pin header */
&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_gpio14>;
status = "okay";
};
--
2.7.4
More information about the linux-rpi-kernel
mailing list