]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed: Add RTC node
authorJoel Stanley <joel@jms.id.au>
Wed, 3 Oct 2018 12:35:07 +0000 (14:35 +0200)
committerJoel Stanley <joel@jms.id.au>
Fri, 5 Apr 2019 03:38:20 +0000 (14:08 +1030)
The ASPEED ast2400 and ast2500 both contain an on board RTC device.

Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 9549f867aa1efd4356acc46609487e6216f560f9..5d7050d00874299b5b264b2732eaf333342b2874 100644 (file)
@@ -209,6 +209,12 @@ timer: timer@1e782000 {
                                clock-names = "PCLK";
                        };
 
+                       rtc: rtc@1e781000 {
+                               compatible = "aspeed,ast2400-rtc";
+                               reg = <0x1e781000 0x18>;
+                               status = "disabled";
+                       };
+
                        uart1: serial@1e783000 {
                                compatible = "ns16550a";
                                reg = <0x1e783000 0x20>;
index 733cac9eeef40b6b0fa38cc04014d168d54c5f4b..4345c3153ca74cf73b2703b9aa0a87fc3f0005f3 100644 (file)
@@ -274,6 +274,12 @@ gpio: gpio@1e780000 {
                                #interrupt-cells = <2>;
                        };
 
+                       rtc: rtc@1e781000 {
+                               compatible = "aspeed,ast2500-rtc";
+                               reg = <0x1e781000 0x18>;
+                               status = "disabled";
+                       };
+
                        timer: timer@1e782000 {
                                /* This timer is a Faraday FTTMR010 derivative */
                                compatible = "aspeed,ast2400-timer";