arm64: dts: Add syscon based reboot in DT for NS2
authorAnup Patel <anup.patel@broadcom.com>
Fri, 2 Oct 2015 17:54:20 +0000 (23:24 +0530)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 16 Nov 2015 18:51:56 +0000 (10:51 -0800)
commit5b467c3b2d36b6ed8a6d17923c12f3091d83ce77
tree8dbc0c326b22bf7cb118b086c39732bd10856ba1
parent6ec5f3c5264795290f3d7ed67286cca2c1486bfe
arm64: dts: Add syscon based reboot in DT for NS2

To reset NS2, we simply have to write '0' to BIT[1] at offset 0x90
of CRMU space.

The above can be easily achieved by writing 0xfffffffd at offset 0x90
using syscon-reboot driver. We don't need to have separate driver for
rebooting NS2.

This patch enables syscon-reboot driver for NS2 using DT.

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm64/boot/dts/broadcom/ns2.dtsi