powerpc/4xx: Add optional "reset_type" property to control reboot via dts
authorStefan Roese <sr@denx.de>
Tue, 27 Apr 2010 22:13:34 +0000 (22:13 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 5 May 2010 16:51:54 +0000 (12:51 -0400)
commita32fe93daf9c6b6ffbab1d9b9e2a8e4c335bda5c
tree66a68d8817ba3c86f1f38ee2cd1b5f92a9d56076
parent101c192e1163c1c7e8d29748108b582929975038
powerpc/4xx: Add optional "reset_type" property to control reboot via dts

By setting "reset_type" to one of the following values, the default
software reset mechanism may be overidden. Here the possible values of
"reset_type":

  1 - PPC4xx core reset
  2 - PPC4xx chip reset
  3 - PPC4xx system reset (default)

This will be used by a new PPC440SPe board port, which needs a "chip
reset" instead of the default "system reset" to be asserted.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Documentation/powerpc/dts-bindings/4xx/reboot.txt [new file with mode: 0644]
arch/powerpc/sysdev/ppc4xx_soc.c