[v2,7/9] arm: dts: bubblegum_96: Enable UART5 for serial console

Message ID 20180613041508.28958-8-manivannan.sadhasivam@linaro.org
State Superseded
Headers show
Series
  • Add SoC and Board support for Bubblegum-96
Related show

Commit Message

Manivannan Sadhasivam June 13, 2018, 4:15 a.m.
This commit enables UART5 found in S900 SoC for serial console support.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
 arch/arm/dts/bubblegum_96.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Patch

diff --git a/arch/arm/dts/bubblegum_96.dts b/arch/arm/dts/bubblegum_96.dts
index 4e34ebaa49..5b58d15594 100644
--- a/arch/arm/dts/bubblegum_96.dts
+++ b/arch/arm/dts/bubblegum_96.dts
@@ -12,8 +12,20 @@ 
 	model = "Bubblegum-96";
 	compatible = "ucrobotics,bubblegum-96", "actions,s900";
 
+	aliases {
+		serial5 = &uart5;
+	};
+
+	chosen {
+		stdout-path = "serial5:115200n8";
+	};
+
 	memory@0 {
 		device_type = "memory";
 		reg = <0x0 0x0 0x0 0x80000000>;
 	};
 };
+
+&uart5 {
+	status = "okay";
+};