This PR adds support for the AMDC REV E hardware design, as well as removing support for REV C targets.
There are a few pieces of this PR:
Remove drivers only for REV C target (i.e. drv/io.h and drv/gpio.h)
Addition of amdc_gp3io_mux IP block. This is needed since the REV E hardware has 3 I/O lanes per GPIO port, while the REV D only has 2 I/O lanes. A significant number of Files changed are from this new IP block
Remove #ifdef checks for AMDC_REV_D board. Since REV C is no longer supported, we can just assume the user has support for REV D features since REV E also does. This simplifies the drivers a bit.
Add support in the drv/pwm.c PWM driver for the new hardware pin to disable PWM at boot. Only when the user explicitly turns on PWM capabilities can the hardware output gate signals -- otherwise, always logic low.
This PR adds support for the AMDC REV E hardware design, as well as removing support for REV C targets.
There are a few pieces of this PR:
drv/io.h
anddrv/gpio.h
)amdc_gp3io_mux
IP block. This is needed since the REV E hardware has 3 I/O lanes per GPIO port, while the REV D only has 2 I/O lanes. A significant number ofFiles changed
are from this new IP block#ifdef
checks forAMDC_REV_D
board. Since REV C is no longer supported, we can just assume the user has support for REV D features since REV E also does. This simplifies the drivers a bit.drv/pwm.c
PWM driver for the new hardware pin to disable PWM at boot. Only when the user explicitly turns on PWM capabilities can the hardware output gate signals -- otherwise, always logic low.