557-board_bcm963269bhr.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -1604,6 +1604,50 @@ static struct board_info __initdata boar
  4. #endif /* CONFIG_BCM63XX_CPU_6368 */
  5. /*
  6. + * known 63268/63269 boards
  7. + */
  8. +#ifdef CONFIG_BCM63XX_CPU_63268
  9. +static struct board_info __initdata board_963269bhr = {
  10. + .name = "963269BHR",
  11. + .expected_cpu_id = 0x63268,
  12. +
  13. + .has_pci = 1,
  14. +
  15. + .has_ehci0 = 1,
  16. +
  17. + .has_enetsw = 1,
  18. +
  19. + .enetsw = {
  20. + .used_ports = {
  21. + [0] = {
  22. + .used = 1,
  23. + .phy_id = 1,
  24. + .name = "port1",
  25. + },
  26. +
  27. + [1] = {
  28. + .used = 1,
  29. + .phy_id = 2,
  30. + .name = "port2",
  31. + },
  32. +
  33. + [2] = {
  34. + .used = 1,
  35. + .phy_id = 3,
  36. + .name = "port3",
  37. + },
  38. +
  39. + [3] = {
  40. + .used = 1,
  41. + .phy_id = 4,
  42. + .name = "port4",
  43. + },
  44. + },
  45. + },
  46. +};
  47. +#endif /* CONFIG_BCM63XX_CPU_63268 */
  48. +
  49. +/*
  50. * all boards
  51. */
  52. static const struct board_info __initconst *bcm963xx_boards[] = {
  53. @@ -1684,6 +1728,9 @@ static const struct board_info __initcon
  54. &board_96368mvwg,
  55. &board_96368mvngr,
  56. #endif
  57. +#ifdef CONFIG_BCM63XX_CPU_63268
  58. + &board_963269bhr,
  59. +#endif
  60. };
  61. static struct of_device_id const bcm963xx_boards_dt[] = {
  62. @@ -1771,6 +1818,7 @@ static struct of_device_id const bcm963x
  63. { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
  64. #endif
  65. #ifdef CONFIG_BCM63XX_CPU_63268
  66. + { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
  67. #endif
  68. #endif /* CONFIG_OF */
  69. { },