projects
/
platform
/
kernel
/
u-boot-thead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b24d637
)
Fix SD boot button issue
author
Deepak Khatri
<lorforlinux@beagleboard.org>
Wed, 31 May 2023 21:44:33 +0000
(
03:14
+0530)
committer
Han Gao
<gaohan@iscas.ac.cn>
Fri, 20 Oct 2023 05:38:37 +0000
(13:38 +0800)
board/thead/light-c910/light.c
patch
|
blob
|
history
diff --git
a/board/thead/light-c910/light.c
b/board/thead/light-c910/light.c
index 48fa0af3e5d699f7a9c66219ee4ecef7c356406b..1ed4c47dbe5a332e8f3812ad7fe7fc9cf0e13767 100644
(file)
--- a/
board/thead/light-c910/light.c
+++ b/
board/thead/light-c910/light.c
@@
-1961,11
+1961,19
@@
static void light_iopin_init(void)
light_pin_cfg(AUDIO_PA12,PIN_SPEED_NORMAL,PIN_PU,2);
/* Boot select*/
+
+ /* SD boot button*/
+ light_pin_mux(CLK_OUT_0,3);
+ light_pin_cfg(CLK_OUT_0,PIN_SPEED_NORMAL,PIN_PD,2);
+
+ /* NC */
+ light_pin_mux(CLK_OUT_1,3);
+ light_pin_cfg(CLK_OUT_1,PIN_SPEED_NORMAL,PIN_PD,2);
+
+ /* USB boot button*/
light_pin_mux(CLK_OUT_2,3);
light_pin_cfg(CLK_OUT_2,PIN_SPEED_NORMAL,PIN_PU,2);
-
- light_pin_mux(CLK_OUT_0,1);
- light_pin_mux(CLK_OUT_1,1);
+
/*mikroBUS pinmuxing*/