555-board_96318ref.patch 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -57,6 +57,56 @@ static struct board_info __initdata boar
  4. #endif /* CONFIG_BCM63XX_CPU_3368 */
  5. /*
  6. + * known 6318 boards
  7. + */
  8. +#ifdef CONFIG_BCM63XX_CPU_6318
  9. +static struct board_info __initdata board_96318ref = {
  10. + .name = "96318REF",
  11. + .expected_cpu_id = 0x6318,
  12. +
  13. + .has_uart0 = 1,
  14. + .has_pci = 1,
  15. +
  16. + .has_usbd = 1,
  17. +
  18. + .usbd = {
  19. + .use_fullspeed = 0,
  20. + .port_no = 0,
  21. + },
  22. +
  23. + .has_enetsw = 1,
  24. +
  25. + .has_ehci0 = 1,
  26. + .num_usbh_ports = 1,
  27. +
  28. + .enetsw = {
  29. + .used_ports = {
  30. + [0] = {
  31. + .used = 1,
  32. + .phy_id = 1,
  33. + .name = "Port 1",
  34. + },
  35. + [1] = {
  36. + .used = 1,
  37. + .phy_id = 2,
  38. + .name = "Port 2",
  39. + },
  40. + [2] = {
  41. + .used = 1,
  42. + .phy_id = 3,
  43. + .name = "Port 3",
  44. + },
  45. + [3] = {
  46. + .used = 1,
  47. + .phy_id = 4,
  48. + .name = "Port 4",
  49. + },
  50. + },
  51. + },
  52. +};
  53. +#endif /* CONFIG_BCM63XX_CPU_6318 */
  54. +
  55. +/*
  56. * known 6328 boards
  57. */
  58. #ifdef CONFIG_BCM63XX_CPU_6328
  59. @@ -1608,6 +1658,9 @@ static const struct board_info __initcon
  60. #ifdef CONFIG_BCM63XX_CPU_3368
  61. &board_cvg834g,
  62. #endif
  63. +#ifdef CONFIG_BCM63XX_CPU_6318
  64. + &board_96318ref,
  65. +#endif
  66. #ifdef CONFIG_BCM63XX_CPU_6328
  67. &board_96328avng,
  68. &board_AR5381u,
  69. @@ -1685,6 +1738,9 @@ static struct of_device_id const bcm963x
  70. #ifdef CONFIG_BCM63XX_CPU_3368
  71. { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
  72. #endif
  73. +#ifdef CONFIG_BCM63XX_CPU_6318
  74. + { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
  75. +#endif
  76. #ifdef CONFIG_BCM63XX_CPU_6328
  77. { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
  78. { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },