@@ -686,6 +686,7 @@ static int jz4770_mac_rmii_pins[] = {
686686 0xa9 , 0xab , 0xaa , 0xac , 0xa5 , 0xa4 , 0xad , 0xae , 0xa6 , 0xa8 ,
687687};
688688static int jz4770_mac_mii_pins [] = { 0xa7 , 0xaf , };
689+ static int jz4770_otg_pins [] = { 0x8a , };
689690
690691static int jz4770_uart0_data_funcs [] = { 0 , 0 , };
691692static int jz4770_uart0_hwflow_funcs [] = { 0 , 0 , };
@@ -744,6 +745,7 @@ static int jz4770_pwm_pwm6_funcs[] = { 0, };
744745static int jz4770_pwm_pwm7_funcs [] = { 0 , };
745746static int jz4770_mac_rmii_funcs [] = { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , };
746747static int jz4770_mac_mii_funcs [] = { 0 , 0 , };
748+ static int jz4770_otg_funcs [] = { 0 , };
747749
748750static const struct group_desc jz4770_groups [] = {
749751 INGENIC_PIN_GROUP ("uart0-data" , jz4770_uart0_data ),
@@ -799,6 +801,7 @@ static const struct group_desc jz4770_groups[] = {
799801 INGENIC_PIN_GROUP ("pwm7" , jz4770_pwm_pwm7 ),
800802 INGENIC_PIN_GROUP ("mac-rmii" , jz4770_mac_rmii ),
801803 INGENIC_PIN_GROUP ("mac-mii" , jz4770_mac_mii ),
804+ INGENIC_PIN_GROUP ("otg-vbus" , jz4770_otg ),
802805};
803806
804807static const char * jz4770_uart0_groups [] = { "uart0-data" , "uart0-hwflow" , };
@@ -841,6 +844,7 @@ static const char *jz4770_pwm5_groups[] = { "pwm5", };
841844static const char * jz4770_pwm6_groups [] = { "pwm6" , };
842845static const char * jz4770_pwm7_groups [] = { "pwm7" , };
843846static const char * jz4770_mac_groups [] = { "mac-rmii" , "mac-mii" , };
847+ static const char * jz4770_otg_groups [] = { "otg-vbus" , };
844848
845849static const struct function_desc jz4770_functions [] = {
846850 { "uart0" , jz4770_uart0_groups , ARRAY_SIZE (jz4770_uart0_groups ), },
@@ -871,6 +875,7 @@ static const struct function_desc jz4770_functions[] = {
871875 { "pwm6" , jz4770_pwm6_groups , ARRAY_SIZE (jz4770_pwm6_groups ), },
872876 { "pwm7" , jz4770_pwm7_groups , ARRAY_SIZE (jz4770_pwm7_groups ), },
873877 { "mac" , jz4770_mac_groups , ARRAY_SIZE (jz4770_mac_groups ), },
878+ { "otg" , jz4770_otg_groups , ARRAY_SIZE (jz4770_otg_groups ), },
874879};
875880
876881static const struct ingenic_chip_info jz4770_chip_info = {
0 commit comments