To: | Ralf Baechle <ralf@linux-mips.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Wim Van Sebroeck <wim@iguana.be>, Guenter Roeck <linux@roeck-us.net> |
---|---|
Subject: | [PATCH 5/7] MIPS: jz4780: dts: Fix watchdog node |
From: | Paul Cercueil <paul@crapouillou.net> |
Date: | Thu, 28 Dec 2017 17:29:37 +0100 |
Cc: | devicetree@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, Paul Cercueil <paul@crapouillou.net> |
Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1514478598; bh=218nrMj4SjqnJmNARxsn3uvYWSdgt/zX+L5mQ1YeBTE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=YmAtfn5Aadt/rVwpKHn65gcUVJQnnGWjD1emley4FSAq0yIlTEjyHKtMojECMv1gSI8VAn2XpWvlo0FZt1x85q2ymD9twmcY4JwXPii7g79evZO+4w95JZWkLCbPnOAvb8+nrIUdLdsQRKF0gQRa/bPzPXsxnVFZH/uZrBkOFp0= |
In-reply-to: | <20171228162939.3928-1-paul@crapouillou.net> |
List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
List-owner: | <mailto:ralf@linux-mips.org> |
List-post: | <mailto:linux-mips@linux-mips.org> |
List-software: | Ecartis version 1.0.0 |
List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
Original-recipient: | rfc822;linux-mips@linux-mips.org |
References: | <20171228162939.3928-1-paul@crapouillou.net> |
Sender: | linux-mips-bounce@linux-mips.org |
- The previous node requested a memory area of 0x100 bytes, while the driver only manipulates four registers present in the first 0x10 bytes. - The driver requests for the "rtc" clock, but the previous node did not provide any. Signed-off-by: Paul Cercueil <paul@crapouillou.net> --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index 9b5794667aee..a52f59bf58c7 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -221,7 +221,10 @@ watchdog: watchdog@10002000 { compatible = "ingenic,jz4780-watchdog"; - reg = <0x10002000 0x100>; + reg = <0x10002000 0x10>; + + clocks = <&cgu JZ4780_CLK_RTCLK>; + clock-names = "rtc"; }; nemc: nemc@13410000 { -- 2.11.0 |
Previous by Date: | [PATCH 3/7] watchdog: JZ4740: Register a restart handler, Paul Cercueil |
---|---|
Next by Date: | [PATCH 4/7] MIPS: jz4740: dts: Add bindings for the jz4740-wdt driver, Paul Cercueil |
Previous by Thread: | Re: [PATCH 3/7] watchdog: JZ4740: Register a restart handler, Guenter Roeck |
Next by Thread: | Re: [PATCH 5/7] MIPS: jz4780: dts: Fix watchdog node, Mathieu Malaterre |
Indexes: | [Date] [Thread] [Top] [All Lists] |