[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFGCpxwSzenbng9SGyB24u5NfZN8tj5MOQ9zjeUjH_jJpzL5eQ@mail.gmail.com>
Date: Thu, 2 Jun 2016 11:58:23 +0800
From: Guodong Xu <guodong.xu@...aro.org>
To: John Stultz <john.stultz@...aro.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
Zhangfei Gao <zhangfei.gao@...aro.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...eaurora.org>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>, Wei Xu <xuwei5@...ilicon.com>
Subject: Re: [RFC][PATCH 2/2] arm64: dts: hi6220: Add pl031 RTC support
On 2 June 2016 at 01:39, John Stultz <john.stultz@...aro.org> wrote:
> From: Zhangfei Gao <zhangfei.gao@...aro.org>
>
> Add pl031 rtc0 support to hi6220 dtsi
>
> Cc: Michael Turquette <mturquette@...libre.com>
> Cc: Stephen Boyd <sboyd@...eaurora.org>
> Cc: Rob Herring <robh+dt@...nel.org>
> Cc: Pawel Moll <pawel.moll@....com>
> Cc: Wei Xu <xuwei5@...ilicon.com>
> Cc: Guodong Xu <guodong.xu@...aro.org>
> Signed-off-by: Zhangfei Gao <zhangfei.gao@...aro.org>
> [jstultz: Forward ported and tweaked commit description]
> Signed-off-by: John Stultz <john.stultz@...aro.org>
> ---
> arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
> index 189d215..1288995 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
> +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
> @@ -336,6 +336,14 @@
> clock-names = "timer1", "timer2", "apb_pclk";
> };
>
> + rtc0: rtc@...000 {
> + compatible = "arm,pl031", "arm,primecell";
> + reg = <0x0 0xf8003000 0x0 0x1000>;
> + interrupts = <0 12 4>;
> + clocks = <&ao_ctrl HI6220_RTC0_PCLK>;
> + clock-names = "apb_pclk";
> + };
> +
Hi, John
Checked from Hi6220 spec, and verified on HiKey:
+ rtc1: rtc@...04000 {
+ compatible = "arm,pl031", "arm,primecell";
+ reg = <0x0 0xf8004000 0x0 0x1000>;
+ interrupts = <0 8 4>;
+ clocks = <&ao_ctrl HI6220_RTC1_PCLK>;
+ clock-names = "apb_pclk";
+ };
+
Would you please append that into the patch?
-Guodong
> pmx0: pinmux@...10000 {
> compatible = "pinctrl-single";
> reg = <0x0 0xf7010000 0x0 0x27c>;
> --
> 1.9.1
>
Powered by blists - more mailing lists