Skip to content

Instantly share code, notes, and snippets.

@robbie-cao
Created September 12, 2016 10:13
Show Gist options
  • Save robbie-cao/4612a337d8544849c2ecd9cbf21c9a44 to your computer and use it in GitHub Desktop.
Save robbie-cao/4612a337d8544849c2ecd9cbf21c9a44 to your computer and use it in GitHub Desktop.
Config MT7688 GPIO PinMux
root@mua:/# mt7688_pinmux get
Group i2c - [i2c] gpio
Group uart0 - [uart] gpio
Group uart1 - [uart] gpio
Group uart2 - [uart] gpio pwm
Group pwm0 - [pwm] gpio
Group pwm1 - [pwm] gpio
Group refclk - refclk [gpio]
Group spi_s - spi_s [gpio]
Group spi_cs1 - [spi_cs1] gpio refclk
Group i2s - i2s [gpio] pcm
Group ephy - [ephy] gpio
Group wled - [wled] gpio
root@mua:~# mt7688_pinmux set ephy gpio
set pinmux ephy -> gpio
root@mua:~# mt7688_pinmux get
Group i2c - [i2c] gpio
Group uart0 - [uart] gpio
Group uart1 - [uart] gpio
Group uart2 - [uart] gpio pwm
Group pwm0 - [pwm] gpio
Group pwm1 - [pwm] gpio
Group refclk - refclk [gpio]
Group spi_s - spi_s [gpio]
Group spi_cs1 - [spi_cs1] gpio refclk
Group i2s - i2s [gpio] pcm
Group ephy - ephy [gpio]
Group wled - [wled] gpio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment