Re: [PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2016-01-07 Thread Arnd Bergmann
On Tuesday 05 January 2016 17:26:06 Jon Mason wrote: > On Fri, Dec 18, 2015 at 10:44:28PM +0100, Arnd Bergmann wrote: > > On Friday 18 December 2015 16:37:56 Jon Mason wrote: > > > + cru: cru@1800c184 { > > > + compatible = "syscon"; > > > + reg = <0x1800c184

Re: [PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2016-01-05 Thread Jon Mason
On Fri, Dec 18, 2015 at 10:44:28PM +0100, Arnd Bergmann wrote: > On Friday 18 December 2015 16:37:56 Jon Mason wrote: > > + cru: cru@1800c184 { > > + compatible = "syscon"; > > + reg = <0x1800c184 0xc>; > > + }; > > It's unusual for a device to start at

[PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2015-12-18 Thread Jon Mason
Add the ability to reboot via a reset of the processor. This is achieved via a write of 0x39 to the CRU Reset Register. Unfortunately, this only resets the core and not the other IP blocks. So if possible, other methods should be used on the individual boards. Signed-off-by: Jon Mason

Re: [PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2015-12-18 Thread Arnd Bergmann
On Friday 18 December 2015 16:37:56 Jon Mason wrote: > + cru: cru@1800c184 { > + compatible = "syscon"; > + reg = <0x1800c184 0xc>; > + }; It's unusual for a device to start at such an odd address. Are you sure it's not a larger device starting at