Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1250468

[PATCH 2/8] arm: dts: berlin2cd: add watchdog nodes

From Jisheng Zhang <jszhang@marvell.com>
Newsgroups linux.kernel
Subject [PATCH 2/8] arm: dts: berlin2cd: add watchdog nodes
Date 2015-10-19 11:00 +0200
Message-ID <qlesp-7Po-7@gated-at.bofh.it> (permalink)
References <qlesp-7Po-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The Marvell Berlin BG2CD has 3 watchdogs which are compatible with the
snps,dw-wdt driver sit in the sysmgr domain. This patch adds the
corresponding device tree nodes.

NOTE: although BG2CD doesn't have a HW sysmgr, but the sysmgr domain
exists.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
---
 arch/arm/boot/dts/berlin2cd.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi
index 900213d..9108180 100644
--- a/arch/arm/boot/dts/berlin2cd.dtsi
+++ b/arch/arm/boot/dts/berlin2cd.dtsi
@@ -376,6 +376,30 @@
 			ranges = <0 0xfc0000 0x10000>;
 			interrupt-parent = <&sic>;
 
+			wdt0: watchdog@1000 {
+				compatible = "snps,dw-wdt";
+				reg = <0x1000 0x100>;
+				clocks = <&refclk>;
+				interrupts = <0>;
+				status = "disabled";
+			};
+
+			wdt1: watchdog@2000 {
+				compatible = "snps,dw-wdt";
+				reg = <0x2000 0x100>;
+				clocks = <&refclk>;
+				interrupts = <1>;
+				status = "disabled";
+			};
+
+			wdt2: watchdog@3000 {
+				compatible = "snps,dw-wdt";
+				reg = <0x3000 0x100>;
+				clocks = <&refclk>;
+				interrupts = <2>;
+				status = "disabled";
+			};
+
 			sm_gpio1: gpio@5000 {
 				compatible = "snps,dw-apb-gpio";
 				reg = <0x5000 0x400>;
-- 
2.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] {arm|arm64}: berlin: add watchdog support Jisheng Zhang <jszhang@marvell.com> - 2015-10-19 11:00 +0200
  [PATCH 2/8] arm: dts: berlin2cd: add watchdog nodes Jisheng Zhang <jszhang@marvell.com> - 2015-10-19 11:00 +0200
  [PATCH 6/8] ARM: dts: berlin: enable wdt0 on the Google Chromecast Jisheng Zhang <jszhang@marvell.com> - 2015-10-19 11:00 +0200
  [PATCH 8/8] arm64: dts: berlin: enable wdt0 on the Marvell BG4CT STB board Jisheng Zhang <jszhang@marvell.com> - 2015-10-19 11:00 +0200
  [PATCH 3/8] arm: dts: berlin2: add watchdog nodes Jisheng Zhang <jszhang@marvell.com> - 2015-10-19 11:00 +0200
  [PATCH 1/8] arm: dts: berlin2q: add watchdog nodes Jisheng Zhang <jszhang@marvell.com> - 2015-10-19 11:00 +0200
  [PATCH 7/8] arm: dts: berlin: enable wdt0 on the Marvell BG2Q DMP Jisheng Zhang <jszhang@marvell.com> - 2015-10-19 11:00 +0200
  [PATCH 5/8] arm: dts: berlin: enable wdt0 on Sony NSZ-GS7 Jisheng Zhang <jszhang@marvell.com> - 2015-10-19 11:00 +0200

csiph-web