mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
adjust vmac board functions to arch/arm/mach-rk30/board-rk31-sdk-vmac.c
This commit is contained in:
@@ -28,7 +28,7 @@ static int rk30_rmii_io_init(void)
|
||||
iomux_set(RMII_CLKOUT);
|
||||
|
||||
//rk3188 gpio3 and sdio drive strength ,
|
||||
grf_writel(0x0f<16|0x0f,GRF_IO_CON3);
|
||||
grf_writel(0x0f<<16|0x0f,GRF_IO_CON3);
|
||||
|
||||
//phy power gpio
|
||||
err = gpio_request(PHY_PWR_EN_GPIO, "phy_power_en");
|
||||
@@ -1175,7 +1175,7 @@ struct platform_device pwm_regulator_device[1] = {
|
||||
#ifdef CONFIG_RK29_VMAC
|
||||
#define PHY_PWR_EN_GPIO RK30_PIN0_PC0
|
||||
#define PHY_PWR_EN_VALUE GPIO_HIGH
|
||||
#include "board-rk3188-sdk-vmac.c"
|
||||
#include "../mach-rk30/board-rk31-sdk-vmac.c"
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user