USB: support RK2928B for usb host and usb otg
authorlyz <lyz@rock-chips.com>
Tue, 12 Mar 2013 02:16:06 +0000 (10:16 +0800)
committerlyz <lyz@rock-chips.com>
Tue, 12 Mar 2013 08:25:43 +0000 (16:25 +0800)
drivers/usb/dwc_otg/usbdev_rk30.c

index 9c4c20093e455a41a178823fa4378cce4bb98a45..c00e790efb8d20b990d5af5493a786aa1b8d2ee3 100755 (executable)
@@ -30,6 +30,9 @@
 #elif defined(CONFIG_SOC_RK3168) || defined(CONFIG_SOC_RK3188) || defined(CONFIG_SOC_RK3168M)\r
 #define RK3066B_HOST_DRV_VBUS RK30_PIN0_PC0\r
 #define RK3066B_OTG_DRV_VBUS  RK30_PIN3_PD5\r
+#elif defined(CONFIG_SOC_RK2928B)\r
+#define RK3066B_HOST_DRV_VBUS RK30_PIN1_PA4\r
+#define RK3066B_OTG_DRV_VBUS  RK30_PIN3_PD7\r
 #endif\r
 \r
 #else\r