From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753240AbcHZKtv (ORCPT ); Fri, 26 Aug 2016 06:49:51 -0400 Received: from regular1.263xmail.com ([211.150.99.133]:37507 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753198AbcHZKtt (ORCPT ); Fri, 26 Aug 2016 06:49:49 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 X-RL-SENDER: zhengxing@rock-chips.com X-FST-TO: shawn.lin@rock-chips.com X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: zhengxing@rock-chips.com X-UNIQUE-TAG: <3e83b21bc410d10b821616d2b317f3dd> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Message-ID: <57C01EAC.4020501@rock-chips.com> Date: Fri, 26 Aug 2016 18:49:16 +0800 From: Xing Zheng User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 To: Shawn Lin CC: linux-rockchip@lists.infradead.org, huangtao@rock-chips.com, Mark Rutland , Elaine Zhang , Heiko Stuebner , devicetree@vger.kernel.org, Catalin Marinas , Brian Norris , Will Deacon , dianders@chromium.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Rob Herring , David Wu , jay.xu@rock-chips.com, linux-arm-kernel@lists.infradead.org, Caesar Wang Subject: Re: [PATCH] arm64: dts: rockchip: fix the address map for WDT0 and WDT1 References: <1472192551-16754-1-git-send-email-zhengxing@rock-chips.com> <607537bf-1c49-d7e0-ead9-8c1e6164e44e@rock-chips.com> In-Reply-To: <607537bf-1c49-d7e0-ead9-8c1e6164e44e@rock-chips.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> --- >> >> 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@ff840000 { >> + watchdog@ff848000 { > > 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 = ; >> }; >> > > -- - Xing Zheng