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


Groups > linux.kernel > #1722205

[PATCH 2/2] arm64: dts: hi6220: enable watchdog

From Leo Yan <leo.yan@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 2/2] arm64: dts: hi6220: enable watchdog
Date 2017-08-29 10:00 +0200
Message-ID <ujJBg-8hK-5@gated-at.bofh.it> (permalink)
References <ujJBg-8hK-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Dmitry Shmidt <dimitrysh@google.com>

This patch is to add watchdog binding for Hi6220 on Hikey board.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index eacbe0d..77dc28f 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -809,6 +809,14 @@
 			pinctrl-1 = <&sdio_pmx_idle &sdio_clk_cfg_idle &sdio_cfg_idle>;
 		};
 
+		watchdog0: watchdog@f8005000 {
+			compatible = "arm,sp805-wdt", "arm,primecell";
+			reg = <0x0 0xf8005000 0x0 0x1000>;
+			interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ao_ctrl HI6220_WDT0_PCLK>;
+			clock-names = "apb_pclk";
+		};
+
 		tsensor: tsensor@0,f7030700 {
 			compatible = "hisilicon,tsensor";
 			reg = <0x0 0xf7030700 0x0 0x1000>;
-- 
2.7.4

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


Thread

[PATCH 1/2] clk: hi6220: change watchdog clock source Leo Yan <leo.yan@linaro.org> - 2017-08-29 10:00 +0200
  [PATCH 2/2] arm64: dts: hi6220: enable watchdog Leo Yan <leo.yan@linaro.org> - 2017-08-29 10:00 +0200
    Re: [PATCH 2/2] arm64: dts: hi6220: enable watchdog Stephen Boyd <sboyd@codeaurora.org> - 2017-09-01 03:40 +0200
      Re: [PATCH 2/2] arm64: dts: hi6220: enable watchdog Wei Xu <xuwei5@hisilicon.com> - 2017-09-01 12:40 +0200
        Re: [PATCH 2/2] arm64: dts: hi6220: enable watchdog Stephen Boyd <sboyd@codeaurora.org> - 2017-09-01 22:30 +0200
          Re: [PATCH 2/2] arm64: dts: hi6220: enable watchdog Wei Xu <xuwei5@hisilicon.com> - 2017-09-04 11:30 +0200
  Re: [PATCH 1/2] clk: hi6220: change watchdog clock source Stephen Boyd <sboyd@codeaurora.org> - 2017-09-01 03:40 +0200
    Re: [PATCH 1/2] clk: hi6220: change watchdog clock source Leo Yan <leo.yan@linaro.org> - 2017-09-01 04:20 +0200

csiph-web