[openwrt/openwrt] starfive: 6.6: add serial1 alias for JH7100

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 8 00:59:30 PDT 2024


wigyori pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1fa28dd899593c874da3397efc069e17a66cbfed

commit 1fa28dd899593c874da3397efc069e17a66cbfed
Author: Zoltan HERPAI <wigyori at uid0.hu>
AuthorDate: Fri Sep 6 11:12:25 2024 +0200

    starfive: 6.6: add serial1 alias for JH7100
    
    This alias was present in 6.1. Add back to restore a fully working console after
    sbi0 (earlycon) gets disabled during the boot process.
    
    Signed-off-by: Zoltan HERPAI <wigyori at uid0.hu>
---
 ...-dts-Add-full-JH7100-Starlight-and-VisionFive-s.patch | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/target/linux/starfive/patches-6.6/1024-riscv-dts-Add-full-JH7100-Starlight-and-VisionFive-s.patch b/target/linux/starfive/patches-6.6/1024-riscv-dts-Add-full-JH7100-Starlight-and-VisionFive-s.patch
index c697d57aa2..b20c2d8bf5 100644
--- a/target/linux/starfive/patches-6.6/1024-riscv-dts-Add-full-JH7100-Starlight-and-VisionFive-s.patch
+++ b/target/linux/starfive/patches-6.6/1024-riscv-dts-Add-full-JH7100-Starlight-and-VisionFive-s.patch
@@ -64,7 +64,15 @@ Signed-off-by: Jonas Hahnfeld <hahnjo at hahnjo.de>
 +};
 --- a/arch/riscv/boot/dts/starfive/jh7100-common.dtsi
 +++ b/arch/riscv/boot/dts/starfive/jh7100-common.dtsi
-@@ -64,9 +64,174 @@
+@@ -14,6 +14,7 @@
+ 	aliases {
+ 		mmc0 = &sdio0;
+ 		serial0 = &uart3;
++		serial1 = &uart0;
+ 	};
+ 
+ 	chosen {
+@@ -64,9 +65,174 @@
  			     <0x00 0xfa000000 0x10 0x7a000000 0x00 0x01000000>,
  			     <0x00 0xfb000000 0x00 0xfb000000 0x07 0x85000000>;
  	};
@@ -239,7 +247,7 @@ Signed-off-by: Jonas Hahnfeld <hahnjo at hahnjo.de>
  	i2c0_pins: i2c0-0 {
  		i2c-pins {
  			pinmux = <GPIOMUX(62, GPO_LOW,
-@@ -146,6 +311,166 @@
+@@ -146,6 +312,166 @@
  		};
  	};
  
@@ -406,7 +414,7 @@ Signed-off-by: Jonas Hahnfeld <hahnjo at hahnjo.de>
  	uart3_pins: uart3-0 {
  		rx-pins {
  			pinmux = <GPIOMUX(13, GPO_LOW, GPO_DISABLE,
-@@ -186,6 +511,17 @@
+@@ -186,6 +512,17 @@
  		regulators {
  		};
  	};
@@ -424,7 +432,7 @@ Signed-off-by: Jonas Hahnfeld <hahnjo at hahnjo.de>
  };
  
  &i2c1 {
-@@ -225,8 +561,104 @@
+@@ -225,8 +562,104 @@
  	status = "okay";
  };
  




More information about the lede-commits mailing list