From d76fb8c8c6d079a3cee81da7072347dcb8bbbc70 Mon Sep 17 00:00:00 2001
From: huangcm <null@gmail.com>
Date: Fri, 23 Aug 2024 08:49:38 +0000
Subject: [PATCH] feat(rtc/ir): add rtc func and fix ir pro

---
 longan/device/config/chips/a133/configs/c3/board.dts |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/longan/device/config/chips/a133/configs/c3/board.dts b/longan/device/config/chips/a133/configs/c3/board.dts
index f9a0eac..cde8cea 100755
--- a/longan/device/config/chips/a133/configs/c3/board.dts
+++ b/longan/device/config/chips/a133/configs/c3/board.dts
@@ -104,7 +104,7 @@
 				allwinner,pins = "PH12", "PH13";
 				allwinner,pname = "twi3_scl", "twi3_sda";
 				allwinner,function = "twi3";
-				allwinner,muxsel = <2>;
+				allwinner,muxsel = <3>;
 				allwinner,drive = <1>;
 				allwinner,pull = <1>;
 			};
@@ -373,7 +373,10 @@
 			pcf8563@51 {
 					compatible = "haoyu,hym8563";
 					reg = <0x51>;
+					interrupt-parent = <&pio>;
+					interrupts = <PB 8 IRQ_TYPE_LEVEL_LOW>;
 					status = "okay";
+					//wakeup-source;
 			};
 		};
 
@@ -1365,7 +1368,7 @@
 	ir_addr_code1 = <0x7f80>;
 	ir_power_key_code2 = <0x1c>;
 	ir_addr_code2 = <0xdf00>;
-	wakeup-source;
+	//wakeup-source;
 };
 
 //#include "lcd-lvds-21-1920-1080.dtsi"

--
Gitblit v1.6.2