summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2016-09-16 23:16:42 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-21 11:48:09 +0300
commitfef377702efc6c6ecab0c323dd72ede4a32fcb02 (patch)
tree5a1e741e2911d95f139109f681f980296bc7b3d5 /arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts
parent82eec384249fb4a58ad9b8946dc7623393311593 (diff)
ARM: dts: sun8i: enable UART1 for iNet D978 Rev2 board
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. On the board no r_uart pins are found now (the onboard RX/TX pins are wired to PF2/PF4, which is muxed with mmc0), so also disabled it. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts20
1 files changed, 20 insertions, 0 deletions
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 0f52cd9dfa41..fb4665576dff 100644
--- a/arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts
+++ b/arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts
@@ -49,6 +49,15 @@
model = "INet-D978 Rev 02";
compatible = "primux,inet-d978-rev2", "allwinner,sun8i-a33";
+ aliases {
+ serial0 = &uart1;
+ };
+
+ chosen {
+ /* Delete debug UART as serial0 is the UART for bluetooth */
+ /delete-property/stdout-path;
+ };
+
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
@@ -86,3 +95,14 @@
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
};
+
+&r_uart {
+ status = "disabled";
+};
+
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins_a>,
+ <&uart1_pins_cts_rts_a>;
+ status = "okay";
+};