]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(tc): add RTC PL031 device tree node
authorRupinderjit Singh <rupinderjit.singh@arm.com>
Mon, 12 Sep 2022 16:25:32 +0000 (17:25 +0100)
committerRupinderjit Singh <rupinderjit.singh@arm.com>
Thu, 15 Sep 2022 12:04:44 +0000 (13:04 +0100)
It enables RTC PL031 driver in kernel.

Signed-off-by: Rupinderjit Singh <rupinderjit.singh@arm.com>
Change-Id: I6d7c1a5b6ce11b3d594f7575a747e72826c8d9b8

fdts/tc.dts

index 20992294bceb937dd29c1d812717acb218e34465..1cf3f1b176cb31a435f65584150567f428afd30f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020-2021, Arm Limited. All rights reserved.
+ * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
                status = "okay";
        };
 
+        rtc0: rtc@1C170000 {
+                compatible = "arm,pl031", "arm,primecell";
+                reg = <0x0 0x1C170000 0x0 0x1000>;
+                interrupts = <0x0 100 0x4>;
+                clocks = <&soc_refclk100mhz>;
+                clock-names = "apb_pclk";
+                wakeup-source;
+        };
+
        vencoder {
                compatible = "drm,virtual-encoder";