Skip to contentSkip to conversation

ARM: ds: keystone-k2g: add watchdog support

PATCH New Tero Kristo 2 participants 3 messages Feb 14, 2018 – Feb 26, 2018 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: ds: keystone-k2g: add watchdog support

Add a watchdog node for keystone-k2g, with the corresponding clock and power domain handles.

---
 arch/arm/boot/dts/keystone-k2g.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/keystone-k2g.dtsi +7 -0
index fd06171..ca94221 100644
@@ -583,5 +583,12 @@
 			power-domains = <&k2g_pds 0x0013>;
 			clocks = <&k2g_clks 0x0013 0>;
 		};
+
+		wdt: wdt at 02250000 {
+			compatible = "ti,keystone-wdt", "ti,davinci-wdt";
+			reg = <0x02250000 0x80>;
+			power-domains = <&k2g_pds 0x22>;
+			clocks = <&k2g_clks 0x22 0>;
+		};
 	};
 };
Signature · 4 lines
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
#1 lore raw

PATCH 1/1 ARM: ds: keystone-k2g: add watchdog support

s/ds/dts

Quoted 26 lines · Tero Kristo

Add a watchdog node for keystone-k2g, with the corresponding clock and power domain handles.

---
  arch/arm/boot/dts/keystone-k2g.dtsi | 7 +++++++
  1 file changed, 7 insertions(+)
arch/arm/boot/dts/keystone-k2g.dtsi +7 -0
index fd06171..ca94221 100644
@@ -583,5 +583,12 @@
  			power-domains = <&k2g_pds 0x0013>;
  			clocks = <&k2g_clks 0x0013 0>;
  		};
+
+		wdt: wdt at 02250000 {
+			compatible = "ti,keystone-wdt", "ti,davinci-wdt";
+			reg = <0x02250000 0x80>;
+			power-domains = <&k2g_pds 0x22>;
+			clocks = <&k2g_clks 0x22 0>;
+		};
  	};
  };
#2 lore raw

PATCH 1/1 ARM: ds: keystone-k2g: add watchdog support

Quoted 1 line · Santosh Shilimkar

s/ds/dts

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

-Tero

Quoted 21 lines · Tero Kristo
Quoted 19 lines

Add a watchdog node for keystone-k2g, with the corresponding clock and power domain handles.

---
? arch/arm/boot/dts/keystone-k2g.dtsi | 7 +++++++
? 1 file changed, 7 insertions(+)

arch/arm/boot/dts/keystone-k2g.dtsi +2 -0
index fd06171..ca94221 100644
@@ -583,5 +583,12 @@
 ????????????? power-domains = <&k2g_pds 0x0013>;
 ????????????? clocks = <&k2g_clks 0x0013 0>;
 ????????? };
+
+??????? wdt: wdt at 02250000 {
Quoted 8 lines

arch/arm/boot/dts/keystone-k2g.dtsi line 594

Quoted 8 lines
arch/arm/boot/dts/keystone-k2g.dtsi +5 -0
+??????????? 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