diff mbox

[1/2] ARM: SPEAr600: add DT description of the watchdog

Message ID 0635969b6ef0fe528a27a8b6493cc3df770e1f60.1523000725.git-series.quentin.schulz@bootlin.com (mailing list archive)
State New, archived
Headers show

Commit Message

Quentin Schulz April 6, 2018, 7:50 a.m. UTC
The SPEAr600 has a built-in watchdog which already has a DT binding
described in Documentation/devicetree/bindings/watchdog/sp805-wdt.txt.

Let's add the description of the watchdog device in the SPEAr600 Device
Tree.

Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
---
 arch/arm/boot/dts/spear600.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)


base-commit: 5e1dacccbb87780856219e29122f1eccec912ebb

Comments

Viresh Kumar April 6, 2018, 7:56 a.m. UTC | #1
On 06-04-18, 09:50, Quentin Schulz wrote:
> The SPEAr600 has a built-in watchdog which already has a DT binding
> described in Documentation/devicetree/bindings/watchdog/sp805-wdt.txt.
> 
> Let's add the description of the watchdog device in the SPEAr600 Device
> Tree.
> 
> Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
> ---
>  arch/arm/boot/dts/spear600.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/spear600.dtsi b/arch/arm/boot/dts/spear600.dtsi
> index 00166eb..d7c3096 100644
> --- a/arch/arm/boot/dts/spear600.dtsi
> +++ b/arch/arm/boot/dts/spear600.dtsi
> @@ -213,6 +213,14 @@
>  				interrupts = <6>;
>  				status = "disabled";
>  			};
> +
> +			wdt: wdt@fc880000 {
> +				compatible = "arm,sp805", "arm,primecell";
> +				reg = <0xfc880000 0x1000>;
> +				interrupt-parent = <&vic1>;
> +				interrupts = <20>;
> +				status = "disabled";
> +			};
>  		};
>  	};
>  };

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/spear600.dtsi b/arch/arm/boot/dts/spear600.dtsi
index 00166eb..d7c3096 100644
--- a/arch/arm/boot/dts/spear600.dtsi
+++ b/arch/arm/boot/dts/spear600.dtsi
@@ -213,6 +213,14 @@ 
 				interrupts = <6>;
 				status = "disabled";
 			};
+
+			wdt: wdt@fc880000 {
+				compatible = "arm,sp805", "arm,primecell";
+				reg = <0xfc880000 0x1000>;
+				interrupt-parent = <&vic1>;
+				interrupts = <20>;
+				status = "disabled";
+			};
 		};
 	};
 };