diff options
author | Deepak Khatri <lorforlinux@beagleboard.org> | 2023-06-01 03:14:33 +0530 |
---|---|---|
committer | Han Gao <gaohan@iscas.ac.cn> | 2023-10-20 13:38:37 +0800 |
commit | bb72cf3a2962643b710528d1aaa50b45d8faf19b (patch) | |
tree | 3a50f4116be398977b969db1e5ada83d6f102a63 | |
parent | b24d63765c98a66c37d3f6d97e1ec901891e4e2c (diff) |
Fix SD boot button issue
-rw-r--r-- | board/thead/light-c910/light.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/board/thead/light-c910/light.c b/board/thead/light-c910/light.c index 48fa0af3..1ed4c47d 100644 --- 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*/ |