armv8/ls2080a: configure PMU's PCTBENR to enable WDT
authorYunhui Cui <yunhui.cui@nxp.com>
Wed, 8 Jun 2016 02:31:42 +0000 (10:31 +0800)
committerYork Sun <york.sun@nxp.com>
Fri, 10 Jun 2016 20:43:12 +0000 (13:43 -0700)
commita758177f9b9a567df2e8e6e57ac905ada24d8d9c
treeb618ee8928ad9a9ff004a174d120f3066e3006e7
parent6b3943f1b04be60f147ee540fbd72c4c7ea89f80
armv8/ls2080a: configure PMU's PCTBENR to enable WDT

The SP805-WDT module on LS2080A requires configuration of PMU's
PCTBENR register to enable watchdog counter decrement and reset
signal generation. The watchdog clock needs to be enabled first.

Signed-off-by: Yunhui Cui <yunhui.cui@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h