diff options
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/ingenic,jz4740-wdt.txt | 7 | ||||
-rw-r--r-- | arch/mips/boot/dts/ingenic/jz4780.dtsi | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/ingenic,jz4740-wdt.txt b/Documentation/devicetree/bindings/watchdog/ingenic,jz4740-wdt.txt index cb44918f01a8..ce1cb72d5345 100644 --- a/Documentation/devicetree/bindings/watchdog/ingenic,jz4740-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/ingenic,jz4740-wdt.txt | |||
@@ -3,10 +3,15 @@ Ingenic Watchdog Timer (WDT) Controller for JZ4740 & JZ4780 | |||
3 | Required properties: | 3 | Required properties: |
4 | compatible: "ingenic,jz4740-watchdog" or "ingenic,jz4780-watchdog" | 4 | compatible: "ingenic,jz4740-watchdog" or "ingenic,jz4780-watchdog" |
5 | reg: Register address and length for watchdog registers | 5 | reg: Register address and length for watchdog registers |
6 | clocks: phandle to the RTC clock | ||
7 | clock-names: should be "rtc" | ||
6 | 8 | ||
7 | Example: | 9 | Example: |
8 | 10 | ||
9 | watchdog: jz4740-watchdog@10002000 { | 11 | watchdog: jz4740-watchdog@10002000 { |
10 | compatible = "ingenic,jz4740-watchdog"; | 12 | compatible = "ingenic,jz4740-watchdog"; |
11 | reg = <0x10002000 0x100>; | 13 | reg = <0x10002000 0x10>; |
14 | |||
15 | clocks = <&cgu JZ4740_CLK_RTC>; | ||
16 | clock-names = "rtc"; | ||
12 | }; | 17 | }; |
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 @@ | |||
221 | 221 | ||
222 | watchdog: watchdog@10002000 { | 222 | watchdog: watchdog@10002000 { |
223 | compatible = "ingenic,jz4780-watchdog"; | 223 | compatible = "ingenic,jz4780-watchdog"; |
224 | reg = <0x10002000 0x100>; | 224 | reg = <0x10002000 0x10>; |
225 | |||
226 | clocks = <&cgu JZ4780_CLK_RTCLK>; | ||
227 | clock-names = "rtc"; | ||
225 | }; | 228 | }; |
226 | 229 | ||
227 | nemc: nemc@13410000 { | 230 | nemc: nemc@13410000 { |