diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-11-28 19:56:11 +0300 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-12-01 00:59:54 +0300 |
commit | ae0d33a7291a164a11ae034bcf4f71226b2bef48 (patch) | |
tree | ca5dce9df7b6e2a81999401df15c940e88587cf5 /doc/device-tree-bindings/config.txt | |
parent | 884ad05d34c49ac6c8e21346a63a627c6c9d4c52 (diff) | |
download | u-boot-ae0d33a7291a164a11ae034bcf4f71226b2bef48.tar.xz |
rockchip: rk3399-puma: add code to allow forcing a power-on reset
The reset circuitry in the RK3399 only resets 'almost all logic' when
a software reset is performed. To make our software maintenance
easier in the future, we want to have the option (controlled by a DTS
property) to force all reset causes other than a power-on reset to
trigger a power-on reset via a GPIO trigger.
This adds the necessary support to the rk3399-puma (i.e. RK3399-Q7)
board-support and the documentation for the new property
(sysreset-gpio) within the /config-node.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/device-tree-bindings/config.txt')
-rw-r--r-- | doc/device-tree-bindings/config.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/config.txt b/doc/device-tree-bindings/config.txt index 15e4349c19..6cdc16da5b 100644 --- a/doc/device-tree-bindings/config.txt +++ b/doc/device-tree-bindings/config.txt @@ -46,3 +46,9 @@ u-boot,spl-payload-offset If present (and SPL is controlled by the device-tree), this allows to override the CONFIG_SYS_SPI_U_BOOT_OFFS setting using a value from the device-tree. + +sysreset-gpio + If present (and supported by the specific board), indicates a + GPIO that can be set to trigger a system reset. It is assumed + that such a system reset will effect a complete platform reset, + being roughly equivalent to a power-on reset. |