Skip to contentSkip to conversation

arm64: dts: ls1043a/ls2080a serial updates

PATCH New Stuart Yoder 2 participants 4 messages Aug 29, 2016 – Aug 30, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover arm64: dts: ls1043a/ls2080a serial updates

This patch series serial aliases for ls2080a-rdb/qds and ls1043a-rdb, fixes the aliases in ls1043a-qds and sets stdout-path for all the boards.

-v2:
-fix typo in commit message

Stuart Yoder (2):
arm64: dts: updates serial aliases for ls1043a rdb and qds boards
arm64: dts: add stdout-path to chosen node for ls2080a/ls1043a boards

 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 14 ++++++++------
 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts |  8 ++++++++
 arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts |  3 +++
 arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts |  4 ++++
 4 files changed, 23 insertions(+), 6 deletions(-)
Signature · 1 line
1.9.0
#1 lore raw

PATCH v2 1/2 arm64: dts: updates serial aliases for ls1043a rdb and qds boards

-add missing serial aliases to ls1043a-rdb
-update ls1043a-qds boards serial aliases to use the standard duarts
instead of low power uarts

---
-v2
-fix typo in commit message

 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 10 ++++------
 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts |  4 ++++
 2 files changed, 8 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts +4 -6
index 9d3e9fe..f813d67 100644
@@ -56,12 +56,10 @@
 		gpio1 = &gpio2;
 		gpio2 = &gpio3;
 		gpio3 = &gpio4;
-		serial0 = &lpuart0;
-		serial1 = &lpuart1;
-		serial2 = &lpuart2;
-		serial3 = &lpuart3;
-		serial4 = &lpuart4;
-		serial5 = &lpuart5;
+		serial0 = &duart0;
+		serial1 = &duart1;
+		serial2 = &duart2;
+		serial3 = &duart3;
 	};
 };
 
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +4 -0
index 4084631..8031cde 100644
@@ -52,6 +52,10 @@
 
 	aliases {
 		crypto = &crypto;
+		serial0 = &duart0;
+		serial1 = &duart1;
+		serial2 = &duart2;
+		serial3 = &duart3;
 	};
 };
 
Signature · 1 line
1.9.0
#2 lore raw

PATCH v2 2/2 arm64: dts: add stdout-path to chosen node for ls2080a/ls1043a boards

In reply to Stuart Yoder

Add a default stdout-path to chosen node for ls2080a/ls1043a boards to allow booting kernels without specifying console info in bootargs.

---
-v2
-no change

 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 4 ++++
 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 4 ++++
 arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 3 +++
 arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts | 4 ++++
 4 files changed, 15 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts +4 -0
index f813d67..dd9e919 100644
@@ -61,6 +61,10 @@
 		serial2 = &duart2;
 		serial3 = &duart3;
 	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
 };
 
 &duart0 {
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +4 -0
index 8031cde..d2313e0 100644
@@ -57,6 +57,10 @@
 		serial2 = &duart2;
 		serial3 = &duart3;
 	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
 };
 
 &i2c0 {
arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts +3 -0
index e8801fa..b0dd010 100644
@@ -57,6 +57,9 @@
 		serial1 = &serial1;
 	};
 
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
 };
 
 &esdhc {
arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts +4 -0
index e127f0b..ad0ebb8 100644
@@ -56,6 +56,10 @@
 		serial0 = &serial0;
 		serial1 = &serial1;
 	};
+
+	chosen {
+		stdout-path = "serial1:115200n8";
+	};
 };
 
 &esdhc {
Signature · 1 line
1.9.0
Applied
#3 lore raw

v2 cover arm64: dts: ls1043a/ls2080a serial updates

In reply to Stuart Yoder
Quoted 3 lines · Stuart Yoder

Stuart Yoder (2):
arm64: dts: updates serial aliases for ls1043a rdb and qds boards
arm64: dts: add stdout-path to chosen node for ls2080a/ls1043a boards

Applied both, thanks.