[PATCH v2 6/8] MIPS: jz4780: dts: Fix watchdog node

From: Paul Cercueil
Date: Sat Dec 30 2017 - 08:52:37 EST


- 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@xxxxxxxxxxxxxxx>
Reviewed-by: Mathieu Malaterre <malat@xxxxxxxxxx>
---
arch/mips/boot/dts/ingenic/jz4780.dtsi | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

v2: No change

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