tizen: bootscript: amlogic: support gpio power key for odroid-c4
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 6 Jan 2021 10:46:42 +0000 (19:46 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Oct 2023 04:19:29 +0000 (13:19 +0900)
With gpio button, odroid-c4 can support gpio power. Set gpio power
key with PIN_11 from kernel boot_args.

GPIO pins are connected for ELB060675 button as like below:
    - out : PIN_11
    - vcc : PIN_9 (ground)
    - gnd : Not used.

Change-Id: I3aac017fe4a699b8576100cf3ee025a82054ee2d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
tizen/bootscript/tizen-boot-amlogic-64b.scr

index 8228f27..ed4dbfc 100644 (file)
@@ -18,7 +18,7 @@ if test $board_name = "odroid-c4"; then
        if test "${cec}" = "true"; then setenv cec_enable "hdmitx=cec3f"; fi
 
        # Odroid-C4 Specific
-       setenv boot_args \"voutmode=${voutmode}  disablehpd=${disablehpd} overscan=${overscan} monitor_onoff=${monitor_onoff} \"
+       setenv boot_args \"voutmode=${voutmode}  disablehpd=${disablehpd} overscan=${overscan} monitor_onoff=${monitor_onoff} gpiopower=479 \"
 
 elif test $board_name = "odroid-n2"; then
        # (Hardkernel / Odroid-n2)