lin
2025-04-15 0e5790ecce7c991f3b8e0efb2900e958e0e7baba
feat(uart): add uart7 support

1.add PL2-PL3 uart7 support
2.close debug information on uart7

Signed-off-by: lin <lin@kickpi.com>
2 files modified
26 ■■■■■ changed files
longan/brandy/arisc/ar100s/system/daemon/daemon.c 2 ●●● patch | view | raw | blame | history
longan/device/config/chips/a133/configs/c3/kickpi-k5c.dts 24 ●●●●● patch | view | raw | blame | history
longan/brandy/arisc/ar100s/system/daemon/daemon.c
....@@ -94,7 +94,7 @@
9494
9595 /* daemon & message & user defined task loop process */
9696 LOG("daemon service setup...\n");
97
- while (1) {
97
+ while (0) {
9898 /* message loop process */
9999 message_process_loop();
100100
longan/device/config/chips/a133/configs/c3/kickpi-k5c.dts
....@@ -1315,6 +1315,10 @@
13151315 uart4: uart@05001000 {
13161316 status = "okay";
13171317 };
1318
+
1319
+ uart7: uart@07080000 {
1320
+ status = "okay";
1321
+ };
13181322 };
13191323 gpu: gpu@0x01800000 {
13201324 gpu_idle = <1>;/*ic version ctrl*/
....@@ -1390,17 +1394,17 @@
13901394 linux,default_trigger = "default-on";
13911395 };
13921396
1393
- PL2 {
1394
- label = "PL2";
1395
- gpios = <&r_pio PL 2 1 0 1 0>;
1396
- linux,default_trigger = "default-on";
1397
- };
1397
+ // PL2 {
1398
+ // label = "PL2";
1399
+ // gpios = <&r_pio PL 2 1 0 1 0>;
1400
+ // linux,default_trigger = "default-on";
1401
+ // };
13981402
1399
- PL3 {
1400
- label = "PL3";
1401
- gpios = <&r_pio PL 3 1 0 1 0>;
1402
- linux,default_trigger = "default-on";
1403
- };
1403
+ // PL3 {
1404
+ // label = "PL3";
1405
+ // gpios = <&r_pio PL 3 1 0 1 0>;
1406
+ // linux,default_trigger = "default-on";
1407
+ // };
14041408
14051409 PL4 {
14061410 label = "PL4";