mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Cc: Josh Boyer <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Acked-by: Josh Boyer <[email protected]> Signed-off-by: Josh Boyer <[email protected]>
This commit is contained in:
parent
101c192e11
commit
a32fe93daf
2 changed files with 40 additions and 2 deletions
18
Documentation/powerpc/dts-bindings/4xx/reboot.txt
Normal file
18
Documentation/powerpc/dts-bindings/4xx/reboot.txt
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
Reboot property to control system reboot on PPC4xx systems:
|
||||
|
||||
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)
|
||||
|
||||
Example:
|
||||
|
||||
cpu@0 {
|
||||
device_type = "cpu";
|
||||
model = "PowerPC,440SPe";
|
||||
...
|
||||
reset-type = <2>; /* Use chip-reset */
|
||||
};
|
||||
Loading…
Reference in a new issue