Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm: dts: sun8i: add uart1 node to reference design tablet
@ 2016-12-02 15:19 Icenowy Zheng
  2016-12-02 15:19 ` [PATCH 2/2] arm: dts: sun8i: reuse the uart1 node of iNet D978 rev2 board Icenowy Zheng
  0 siblings, 1 reply; 3+ messages in thread
From: Icenowy Zheng @ 2016-12-02 15:19 UTC (permalink / raw)
  To: linux-arm-kernel

In the A23/A33 tablet reference design, the UART1 at PG is used to
connect to the UART-connected bluetooth.

Add a disabled uart1 node for it in the reference design tablet dtsi,
contains the pinctrl info.

If a tablet uses the UART bluetooth, simply set the status of this node
to "okay".

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
---
 arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi b/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi
index 08cd001..2d9cf0d 100644
--- a/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi
+++ b/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi
@@ -46,6 +46,7 @@
 / {
 	aliases {
 		serial0 = &r_uart;
+		serial1 = &uart1;
 	};
 
 	backlight: backlight {
@@ -223,6 +224,13 @@
 	vcc-lcd-supply = <&reg_dc1sw>;
 };
 
+&uart1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart1_pins_a>,
+		    <&uart1_pins_cts_rts_a>;
+	status = "disabled";
+};
+
 &usb_otg {
 	dr_mode = "otg";
 	status = "okay";
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-09  8:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20161205184745.lfW8ji5w@smtp1m.mail.yandex.net>
2016-12-09  8:11 ` [PATCH 2/2] arm: dts: sun8i: reuse the uart1 node of iNet D978 rev2 board Maxime Ripard
2016-12-02 15:19 [PATCH 1/2] arm: dts: sun8i: add uart1 node to reference design tablet Icenowy Zheng
2016-12-02 15:19 ` [PATCH 2/2] arm: dts: sun8i: reuse the uart1 node of iNet D978 rev2 board Icenowy Zheng
2016-12-05  8:50   ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox