[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <57C01EAC.4020501@rock-chips.com>
Date: Fri, 26 Aug 2016 18:49:16 +0800
From: Xing Zheng <zhengxing@...k-chips.com>
To: Shawn Lin <shawn.lin@...k-chips.com>
CC: linux-rockchip@...ts.infradead.org, huangtao@...k-chips.com,
Mark Rutland <mark.rutland@....com>,
Elaine Zhang <zhangqing@...k-chips.com>,
Heiko Stuebner <heiko@...ech.de>, devicetree@...r.kernel.org,
Catalin Marinas <catalin.marinas@....com>,
Brian Norris <briannorris@...omium.org>,
Will Deacon <will.deacon@....com>, dianders@...omium.org,
linux-kernel@...r.kernel.org,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Rob Herring <robh+dt@...nel.org>,
David Wu <david.wu@...k-chips.com>, jay.xu@...k-chips.com,
linux-arm-kernel@...ts.infradead.org,
Caesar Wang <wxt@...k-chips.com>
Subject: Re: [PATCH] arm64: dts: rockchip: fix the address map for WDT0 and
WDT1
Hi Shawn,
On 2016年08月26日 17:41, Shawn Lin wrote:
> On 2016/8/26 14:22, Xing Zheng wrote:
>> Dues to incorrect description in the TRM, the WDTs base address
>> should be fixed and swap them like this:
>> WDT0 - 0xff848000
>> WDT1 - 0xff840000
>>
>> And, it is right that only WDT0 can generate global software reset.
>> We will update the TRM to fix it.
>>
>> Signed-off-by: Xing Zheng <zhengxing@...k-chips.com>
>> ---
>>
>> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
>> b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
>> index bc86e8c..f0f52c1 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
>> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
>> @@ -1002,9 +1002,9 @@
>> };
>> };
>>
>> - watchdog@...40000 {
>> + watchdog@...48000 {
>
> Just a nit, should we mark this explicitly as "watchdog0" ?
> I still need to look up for which wdt you are using.:)
Done.
Thanks.
>
>> compatible = "snps,dw-wdt";
>> - reg = <0x0 0xff840000 0x0 0x100>;
>> + reg = <0x0 0xff848000 0x0 0x100>;
>> clocks = <&cru PCLK_WDT>;
>> interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
>> };
>>
>
>
--
- Xing Zheng
Powered by blists - more mailing lists