Download Print this page

AcSiP AI7688H Reference Manual page 48

Advertisement

Let's consider the Group ephy mapping to the EPHY_LED0_N pin as an example.
This group supports both ephy and GPIO pins. In this example, it's set to ephy
with [ ].
To change the group functionality, use mt7688_pinmux set command. The
following example changes the function of the Group ephy from ephy to gpio:
root@mylinkit:/# mt7688_pinmux set ephy gpio
set pinmux ephy -> gpio
You can also use the get parameter to verify the current pinmux status:
root@mylinkit:/# 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
As you can see the Group ephy functionality changed from ephy to gpio.
-44-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date
2019/08/08

Advertisement

loading

This manual is also suitable for:

Ek-ai7688h