Thread (18 messages) 18 messages, 4 authors, 2016-08-25

[PATCH 2/2] ARM: dts: sun8i: enable UART1 for iNet D978 Rev2 board

flat view
STALE3696d

From: Icenowy Zheng <hidden>
Date: 2016-08-23 06:44:51
Also in: linux-devicetree
Subsystem: the rest · Maintainer: Linus Torvalds

UART1 is connected to the bluetooth part of RTL8723BS WiFi/BT combo card
on iNet D978 Rev2 board.

Enable the UART1 to make it possible to use the modified hciattach by
Realtek to drive the BT part of RTL8723BS.

Signed-off-by: Icenowy Zheng <redacted>
---
 arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts b/arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts
index 78823d8..3ac22d4 100644
--- a/arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts
+++ b/arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts
@@ -48,6 +48,10 @@
 	model = "INet-D978 Rev 02";
 	compatible = "primux,inet-d978-rev2", "allwinner,sun8i-a33";
 
+	aliases {
+		serial1 = &uart1;
+	};
+
 	leds {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";
@@ -77,6 +81,13 @@
 	};
 };
 
+&uart1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart1_pins_b>,
+		    <&uart1_pins_cts_rts_b>;
+	status = "okay";
+};
+
 &r_pio {
 	led_pin_d978: led_pin_d978 at 0 {
 		allwinner,pins = "PL5";
-- 
2.9.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help