Skip to content

Commit

Permalink
replace cvi_pinmux command with duo-pinmux
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonfix committed Oct 19, 2023
1 parent a9f9886 commit 806b8d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions milkv/overlay/mnt/system/duo-init.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/sh

# Set Pin-29(PWR_SEQ2) to GPIO
# Set Pin-29(GP22) to GPIO
devmem 0x0502707c 32 0x111
devmem 0x03001068 32 0x3

# Set Pin-19(SD0_PWR_EN) to GPIO
cvi_pinmux -w SD0_PWR_EN/XGPIOA_14 > /dev/null
# Set Pin-19(GP14) to GPIO
duo-pinmux -w GP14/GP14 > /dev/null

# insmod pwm module
insmod /mnt/system/ko/cv180x_pwm.ko

0 comments on commit 806b8d4

Please sign in to comment.