diff mbox

ARM: ds: keystone-k2g: add watchdog support

Message ID 1518623703-24529-1-git-send-email-t-kristo@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tero Kristo Feb. 14, 2018, 3:55 p.m. UTC
Add a watchdog node for keystone-k2g, with the corresponding clock and
power domain handles.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 arch/arm/boot/dts/keystone-k2g.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Santosh Shilimkar Feb. 25, 2018, 11:40 p.m. UTC | #1
s/ds/dts

On 2/14/2018 7:55 AM, Tero Kristo wrote:
> Add a watchdog node for keystone-k2g, with the corresponding clock and
> power domain handles.
> 
> Signed-off-by: Tero Kristo <t-kristo@ti.com>
> ---
>   arch/arm/boot/dts/keystone-k2g.dtsi | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
> index fd06171..ca94221 100644
> --- a/arch/arm/boot/dts/keystone-k2g.dtsi
> +++ b/arch/arm/boot/dts/keystone-k2g.dtsi
> @@ -583,5 +583,12 @@
>   			power-domains = <&k2g_pds 0x0013>;
>   			clocks = <&k2g_clks 0x0013 0>;
>   		};
> +
> +		wdt: wdt@02250000 {
> +			compatible = "ti,keystone-wdt", "ti,davinci-wdt";
> +			reg = <0x02250000 0x80>;
> +			power-domains = <&k2g_pds 0x22>;
> +			clocks = <&k2g_clks 0x22 0>;
> +		};
>   	};
>   };
>
Tero Kristo Feb. 26, 2018, 7:22 a.m. UTC | #2
On 26/02/18 01:40, Santosh Shilimkar wrote:
> s/ds/dts

Oops, sorry about the typo. Do you want new patch posted or do you fix 
it locally?

-Tero

> 
> On 2/14/2018 7:55 AM, Tero Kristo wrote:
>> Add a watchdog node for keystone-k2g, with the corresponding clock and
>> power domain handles.
>>
>> Signed-off-by: Tero Kristo <t-kristo@ti.com>
>> ---
>>   arch/arm/boot/dts/keystone-k2g.dtsi | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi 
>> b/arch/arm/boot/dts/keystone-k2g.dtsi
>> index fd06171..ca94221 100644
>> --- a/arch/arm/boot/dts/keystone-k2g.dtsi
>> +++ b/arch/arm/boot/dts/keystone-k2g.dtsi
>> @@ -583,5 +583,12 @@
>>               power-domains = <&k2g_pds 0x0013>;
>>               clocks = <&k2g_clks 0x0013 0>;
>>           };
>> +
>> +        wdt: wdt@02250000 {
>> +            compatible = "ti,keystone-wdt", "ti,davinci-wdt";
>> +            reg = <0x02250000 0x80>;
>> +            power-domains = <&k2g_pds 0x22>;
>> +            clocks = <&k2g_clks 0x22 0>;
>> +        };
>>       };
>>   };
>>

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
diff mbox

Patch

diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index fd06171..ca94221 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -583,5 +583,12 @@ 
 			power-domains = <&k2g_pds 0x0013>;
 			clocks = <&k2g_clks 0x0013 0>;
 		};
+
+		wdt: wdt@02250000 {
+			compatible = "ti,keystone-wdt", "ti,davinci-wdt";
+			reg = <0x02250000 0x80>;
+			power-domains = <&k2g_pds 0x22>;
+			clocks = <&k2g_clks 0x22 0>;
+		};
 	};
 };