arm: vrtc: add rtc function for tl1. [1/1]
authorHong Guo <hong.guo@amlogic.com>
Thu, 20 Dec 2018 09:27:35 +0000 (17:27 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 21 Dec 2018 08:53:48 +0000 (00:53 -0800)
PD#SWPL-3315

Problem:
can't wakeup after setting timer expire.

Solution:
add rtc funciton for tl1.

Verify:
tl1_x301, verify pass

Change-Id: I2b8e77cb90cacdde728586f873d10e5fbe52f76c
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
arch/arm/boot/dts/amlogic/mesontl1.dtsi

index 1cc545f..31bbca2 100644 (file)
                cpuinfo_cmd = <0x82000044>;
        };
 
+       rtc{
+               compatible = "amlogic, aml_vrtc";
+               alarm_reg_addr = <0xff8000a8>;
+               timer_e_addr = <0xffd0f188>;
+               init_date = "2018/01/01";
+               status = "okay";
+       };
+
        reboot {
                compatible = "amlogic,reboot";
                sys_reset = <0x84000009>;