arm64: dts: hi6220: enable watchdog
authorDmitry Shmidt <dimitrysh@google.com>
Thu, 1 Mar 2018 12:18:47 +0000 (20:18 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 2 Mar 2018 16:19:43 +0000 (16:19 +0000)
This patch is to add watchdog binding for Hi6220 on Hikey board.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi6220.dtsi

index fca8e4ee98e7d7ef4593a3b62348c702328dac19..586b281cd5312d711e115eb3fe4734b125e476d3 100644 (file)
                        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>;