559-board_vw6339gu.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -1720,6 +1720,53 @@ static struct board_info __initdata boar
  4. },
  5. },
  6. };
  7. +
  8. +static struct board_info __initdata board_vw6339gu = {
  9. + .name = "VW6339GU",
  10. + .expected_cpu_id = 0x63268,
  11. +
  12. + .has_uart0 = 1,
  13. +
  14. + .has_ehci0 = 1,
  15. + .has_ohci0 = 1,
  16. + .num_usbh_ports = 1,
  17. +
  18. + .has_enetsw = 1,
  19. +
  20. + .enetsw = {
  21. + .used_ports = {
  22. + [0] = {
  23. + .used = 1,
  24. + .phy_id = 1,
  25. + .name = "LAN2",
  26. + },
  27. +
  28. + [1] = {
  29. + .used = 1,
  30. + .phy_id = 2,
  31. + .name = "LAN3",
  32. + },
  33. +
  34. + [2] = {
  35. + .used = 1,
  36. + .phy_id = 3,
  37. + .name = "LAN4",
  38. + },
  39. +
  40. + [3] = {
  41. + .used = 1,
  42. + .phy_id = 4,
  43. + .name = "LAN1",
  44. + },
  45. +
  46. + [4] = {
  47. + .used = 1,
  48. + .phy_id = 7,
  49. + .name = "WAN",
  50. + },
  51. + },
  52. + },
  53. +};
  54. #endif /* CONFIG_BCM63XX_CPU_63268 */
  55. /*
  56. @@ -1806,6 +1853,7 @@ static const struct board_info __initcon
  57. #endif
  58. #ifdef CONFIG_BCM63XX_CPU_63268
  59. &board_963269bhr,
  60. + &board_vw6339gu,
  61. #endif
  62. };
  63. @@ -1896,6 +1944,7 @@ static struct of_device_id const bcm963x
  64. #endif
  65. #ifdef CONFIG_BCM63XX_CPU_63268
  66. { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
  67. + { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
  68. #endif
  69. #endif /* CONFIG_OF */
  70. { },