519_board_CPVA502plus.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -429,6 +429,27 @@ static struct board_info __initdata boar
  4. },
  5. };
  6. +static struct board_info __initdata board_CPVA502plus = {
  7. + .name = "CPVA502+",
  8. + .expected_cpu_id = 0x6348,
  9. +
  10. + .has_uart0 = 1,
  11. + .has_enet0 = 1,
  12. + .has_enet1 = 1,
  13. + .has_pci = 1,
  14. +
  15. + .enet0 = {
  16. + .has_phy = 1,
  17. + .use_internal_phy = 1,
  18. + },
  19. + .enet1 = {
  20. + .has_phy = 1,
  21. + .phy_id = 0,
  22. + },
  23. +
  24. + .ephy_reset_gpio = 4,
  25. + .ephy_reset_gpio_flags = GPIO_ACTIVE_LOW,
  26. +};
  27. static struct board_info __initdata board_ct536_ct5621 = {
  28. .name = "CT536_CT5621",
  29. @@ -1149,6 +1170,7 @@ static const struct board_info __initcon
  30. &board_V2110,
  31. &board_ct536_ct5621,
  32. &board_96348A_122,
  33. + &board_CPVA502plus,
  34. #endif
  35. #ifdef CONFIG_BCM63XX_CPU_6358
  36. @@ -1201,6 +1223,7 @@ static struct of_device_id const bcm963x
  37. { .compatible = "t-com,spw500v", .data = &board_spw500v, },
  38. { .compatible = "tecom,gw6000", .data = &board_gw6000, },
  39. { .compatible = "tecom,gw6200", .data = &board_gw6200, },
  40. + { .compatible = "telsey,cpva502+", .data = &board_CPVA502plus, },
  41. { .compatible = "telsey,magic", .data = &board_96348sv, },
  42. { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
  43. { .compatible = "usr,9108", .data = &board_96348gw_a, },