diff mbox

[2/4] arm64: dts: r8a7795: Add RWDT node

Message ID 1459351725-14144-3-git-send-email-wsa@the-dreams.de (mailing list archive)
State Superseded
Delegated to: Simon Horman
Headers show

Commit Message

Wolfram Sang March 30, 2016, 3:28 p.m. UTC
From: Wolfram Sang <wsa+renesas@sang-engineering.com>

This patch adds the RWDT device node for r8a7795.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

Changes since last RFC (only on renesas-soc-list):

* rename RWDT to WDT since it can also be used for the now documented SWDT :)
* use mainstream-style for the DT compatibles and update docs

 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Sergei Shtylyov March 31, 2016, 1:42 p.m. UTC | #1
Hello.

On 3/30/2016 6:28 PM, Wolfram Sang wrote:

> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> This patch adds the RWDT device node for r8a7795.
>
> Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>
> Changes since last RFC (only on renesas-soc-list):
>
> * rename RWDT to WDT since it can also be used for the now documented SWDT :)
> * use mainstream-style for the DT compatibles and update docs
>
>   arch/arm64/boot/dts/renesas/r8a7795.dtsi | 8 ++++++++
>   1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> index bccd52e0462b92..dcdf914b67d4d9 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -167,6 +167,14 @@
>   					(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
>   		};
>
> +		wdt0: wdt@e6020000 {

    ePAPR has "watchdog", not "wdt" for the name.

[...]

MBR, Sergei
Wolfram Sang April 1, 2016, 11:39 a.m. UTC | #2
> >+		wdt0: wdt@e6020000 {
> 
>    ePAPR has "watchdog", not "wdt" for the name.

Huh, I thought I fixed this already. Thanks!
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index bccd52e0462b92..dcdf914b67d4d9 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -167,6 +167,14 @@ 
 					(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
 		};
 
+		wdt0: wdt@e6020000 {
+			compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt";
+			reg = <0 0xe6020000 0 0x0c>;
+			clocks = <&cpg CPG_MOD 402>;
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
 		gpio0: gpio@e6050000 {
 			compatible = "renesas,gpio-r8a7795",
 				     "renesas,gpio-rcar";