[openwrt/openwrt] ath79: register all ttys as Linux console for ELECOM WAB-I1750-PS

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 24 13:11:03 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/342f55eeb3fda03b9aef9238f4d3bf6e4258192d

commit 342f55eeb3fda03b9aef9238f4d3bf6e4258192d
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Tue Mar 12 18:16:12 2024 +0900

    ath79: register all ttys as Linux console for ELECOM WAB-I1750-PS
    
    Register ttyS0 and ttyATH1 as Linux console on ELECOM WAB-I1750-PS.
    ttyS0 provides "SERVICE" port and internal pin header for debugging and
    recoverying by maker, ttyATH1 provides "SERIAL" port for configuration
    by users.
    
    Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
---
 target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts b/target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts
index 668f0ceadd..2d94f0c827 100644
--- a/target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts
+++ b/target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts
@@ -5,6 +5,10 @@
 / {
 	compatible = "elecom,wab-i1750-ps", "qca,qca9558";
 	model = "ELECOM WAB-I1750-PS";
+
+	chosen {
+		bootargs = "console=ttyATH1,115200n8 console=ttyS0,115200n8";
+	};
 };
 
 &gpio {




More information about the lede-commits mailing list