board: roc-pc-rk3399: Add support for onboard LED's and push button to indicate power...
authorSuniel Mahesh <sunil@amarulasolutions.com>
Mon, 3 Feb 2020 13:50:05 +0000 (19:20 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 19 Feb 2020 08:45:38 +0000 (16:45 +0800)
commit5a6d3d1fbca70d7f528c685292d64c4cd0106aa6
tree4c6ce97d7956e7f73dd47d77225686f49a4287ae
parent01892d230dd456278cd28c3b8de109202f910238
board: roc-pc-rk3399: Add support for onboard LED's and push button to indicate power mode

Added support for onboard LED's and push button. When powered board will be
in low power mode(yellow LED), on button press, board enters full power mode
(red LED) and boots u-boot.

Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/tpl.c
board/firefly/roc-pc-rk3399/roc-pc-rk3399.c
configs/roc-pc-rk3399_defconfig