Commit 652ba666 authored by Loc Ho's avatar Loc Ho Committed by Linus Torvalds

arm64: add APM X-Gene SoC RTC DTS entry

This patch adds APM X-Gene SoC RTC DTS entry
Signed-off-by: default avatarRameshwar Prasad Sahu <rsahu@apm.com>
Signed-off-by: default avatarLoc Ho <lho@apm.com>
Cc: Jon Masters <jcm@redhat.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f12d8695
...@@ -257,6 +257,19 @@ sata45clk: sata45clk@1f23c000 { ...@@ -257,6 +257,19 @@ sata45clk: sata45clk@1f23c000 {
enable-offset = <0x0>; enable-offset = <0x0>;
enable-mask = <0x39>; enable-mask = <0x39>;
}; };
rtcclk: rtcclk@17000000 {
compatible = "apm,xgene-device-clock";
#clock-cells = <1>;
clocks = <&socplldiv2 0>;
reg = <0x0 0x17000000 0x0 0x2000>;
reg-names = "csr-reg";
csr-offset = <0xc>;
csr-mask = <0x2>;
enable-offset = <0x10>;
enable-mask = <0x2>;
clock-output-names = "rtcclk";
};
}; };
serial0: serial@1c020000 { serial0: serial@1c020000 {
...@@ -342,5 +355,13 @@ sata3: sata@1a800000 { ...@@ -342,5 +355,13 @@ sata3: sata@1a800000 {
phys = <&phy3 0>; phys = <&phy3 0>;
phy-names = "sata-phy"; phy-names = "sata-phy";
}; };
rtc: rtc@10510000 {
compatible = "apm,xgene-rtc";
reg = <0x0 0x10510000 0x0 0x400>;
interrupts = <0x0 0x46 0x4>;
#clock-cells = <1>;
clocks = <&rtcclk 0>;
};
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment