577-board_VH4032N.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -2310,6 +2310,45 @@ static struct board_info __initdata boar
  4. },
  5. };
  6. +static struct board_info __initdata board_VH4032N = {
  7. + .name = "VH4032N",
  8. + .expected_cpu_id = 0x6368,
  9. +
  10. + .has_uart0 = 1,
  11. + .has_pci = 1,
  12. + .has_ohci0 = 1,
  13. + .has_ehci0 = 1,
  14. + .num_usbh_ports = 2,
  15. +
  16. + .has_enetsw = 1,
  17. + .enetsw = {
  18. + .used_ports = {
  19. + [0] = {
  20. + .used = 1,
  21. + .phy_id = 1,
  22. + .name = "LAN4",
  23. + },
  24. + [1] = {
  25. + .used = 1,
  26. + .phy_id = 2,
  27. + .name = "LAN3",
  28. + },
  29. + [2] = {
  30. + .used = 1,
  31. + .phy_id = 3,
  32. + .name = "LAN2",
  33. + },
  34. + [3] = {
  35. + .used = 1,
  36. + .phy_id = 4,
  37. + .name = "LAN1",
  38. + },
  39. + },
  40. + },
  41. +
  42. + .use_fallback_sprom = 1,
  43. +};
  44. +
  45. static struct b53_platform_data WAP5813n_b53_pdata = {
  46. .alias = "eth0",
  47. };
  48. @@ -2615,6 +2654,7 @@ static const struct board_info __initcon
  49. &board_HG622,
  50. &board_HG655b,
  51. &board_P870HW51A_V2,
  52. + &board_VH4032N,
  53. &board_VR3025u,
  54. &board_VR3025un,
  55. &board_VR3026e,
  56. @@ -2725,6 +2765,7 @@ static struct of_device_id const bcm963x
  57. { .compatible = "huawei,hg655b", .data = &board_HG655b, },
  58. { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },
  59. { .compatible = "netgear,evg2000", .data = &board_EVG2000, },
  60. + { .compatible = "observa,vh4032n", .data = &board_VH4032N, },
  61. { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, },
  62. #endif
  63. #ifdef CONFIG_BCM63XX_CPU_63268