From 676035278781360996553c427a12bf358249ebf7 Mon Sep 17 00:00:00 2001
From: huangcm <1263938474@qq.com>
Date: Tue, 01 Jul 2025 02:32:05 +0000
Subject: [PATCH] Revert "feat(uart): add uart7 support"

---
 longan/device/config/chips/a133/configs/c3/kickpi-k5c.dts |   24 ++++++++++--------------
 longan/brandy/arisc/ar100s/system/daemon/daemon.c         |    2 +-
 2 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/longan/brandy/arisc/ar100s/system/daemon/daemon.c b/longan/brandy/arisc/ar100s/system/daemon/daemon.c
index 043d765..8996d5c 100644
--- a/longan/brandy/arisc/ar100s/system/daemon/daemon.c
+++ b/longan/brandy/arisc/ar100s/system/daemon/daemon.c
@@ -94,7 +94,7 @@
 
 	/* daemon & message & user defined task loop process */
 	LOG("daemon service setup...\n");
-	while (0) {
+	while (1) {
 		/* message loop process */
 		message_process_loop();
 
diff --git a/longan/device/config/chips/a133/configs/c3/kickpi-k5c.dts b/longan/device/config/chips/a133/configs/c3/kickpi-k5c.dts
index 00b19e1..683f3e4 100755
--- a/longan/device/config/chips/a133/configs/c3/kickpi-k5c.dts
+++ b/longan/device/config/chips/a133/configs/c3/kickpi-k5c.dts
@@ -1315,10 +1315,6 @@
 		uart4: uart@05001000 {
 			status = "okay";
 		};
-
-		uart7: uart@07080000 {
-			status = "okay";
-		};
 	};
 	gpu: gpu@0x01800000 {
 			gpu_idle = <1>;/*ic version ctrl*/
@@ -1394,17 +1390,17 @@
 				linux,default_trigger = "default-on";
 			};
 
-			// PL2 {
-			// 	label = "PL2";
-			// 	gpios = <&r_pio PL 2 1 0 1 0>;
-			// 	linux,default_trigger = "default-on";
-			// };
+			PL2 {
+				label = "PL2";
+				gpios = <&r_pio PL 2 1 0 1 0>;
+				linux,default_trigger = "default-on";
+			};
 
-			// PL3 {
-			// 	label = "PL3";
-			// 	gpios = <&r_pio PL 3 1 0 1 0>;
-			// 	linux,default_trigger = "default-on";
-			// };
+			PL3 {
+				label = "PL3";
+				gpios = <&r_pio PL 3 1 0 1 0>;
+				linux,default_trigger = "default-on";
+			};
 
 			PL4 {
 				label = "PL4";

--
Gitblit v1.6.2