556-board_96318ref_p300.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -105,6 +105,51 @@ static struct board_info __initdata boar
  4. },
  5. },
  6. };
  7. +
  8. +static struct board_info __initdata board_96318ref_p300 = {
  9. + .name = "96318REF_P300",
  10. + .expected_cpu_id = 0x6318,
  11. +
  12. + .has_uart0 = 1,
  13. + .has_pci = 1,
  14. +
  15. + .has_usbd = 1,
  16. +
  17. + .usbd = {
  18. + .use_fullspeed = 0,
  19. + .port_no = 0,
  20. + },
  21. +
  22. + .has_enetsw = 1,
  23. +
  24. + .has_ehci0 = 1,
  25. + .num_usbh_ports = 1,
  26. +
  27. + .enetsw = {
  28. + .used_ports = {
  29. + [0] = {
  30. + .used = 1,
  31. + .phy_id = 1,
  32. + .name = "Port 1",
  33. + },
  34. + [1] = {
  35. + .used = 1,
  36. + .phy_id = 2,
  37. + .name = "Port 2",
  38. + },
  39. + [2] = {
  40. + .used = 1,
  41. + .phy_id = 3,
  42. + .name = "Port 3",
  43. + },
  44. + [3] = {
  45. + .used = 1,
  46. + .phy_id = 4,
  47. + .name = "Port 4",
  48. + },
  49. + },
  50. + },
  51. +};
  52. #endif /* CONFIG_BCM63XX_CPU_6318 */
  53. /*
  54. @@ -1664,6 +1709,7 @@ static const struct board_info __initcon
  55. #endif
  56. #ifdef CONFIG_BCM63XX_CPU_6318
  57. &board_96318ref,
  58. + &board_96318ref_p300,
  59. #endif
  60. #ifdef CONFIG_BCM63XX_CPU_6328
  61. &board_96328avng,
  62. @@ -1744,6 +1790,7 @@ static struct of_device_id const bcm963x
  63. #endif
  64. #ifdef CONFIG_BCM63XX_CPU_6318
  65. { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
  66. + { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
  67. #endif
  68. #ifdef CONFIG_BCM63XX_CPU_6328
  69. { .compatible = "adb,a4001n1", .data = &board_A4001N1, },