557-board_bcm963269bhr.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -1702,6 +1702,52 @@ 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_uart0 = 1,
  14. +
  15. + .has_pci = 1,
  16. +
  17. + .has_ehci0 = 1,
  18. +
  19. + .has_enetsw = 1,
  20. +
  21. + .enetsw = {
  22. + .used_ports = {
  23. + [0] = {
  24. + .used = 1,
  25. + .phy_id = 1,
  26. + .name = "port1",
  27. + },
  28. +
  29. + [1] = {
  30. + .used = 1,
  31. + .phy_id = 2,
  32. + .name = "port2",
  33. + },
  34. +
  35. + [2] = {
  36. + .used = 1,
  37. + .phy_id = 3,
  38. + .name = "port3",
  39. + },
  40. +
  41. + [3] = {
  42. + .used = 1,
  43. + .phy_id = 4,
  44. + .name = "port4",
  45. + },
  46. + },
  47. + },
  48. +};
  49. +#endif /* CONFIG_BCM63XX_CPU_63268 */
  50. +
  51. +/*
  52. * all boards
  53. */
  54. static const struct board_info __initconst *bcm963xx_boards[] = {
  55. @@ -1782,6 +1828,9 @@ static const struct board_info __initcon
  56. &board_96368mvwg,
  57. &board_96368mvngr,
  58. #endif
  59. +#ifdef CONFIG_BCM63XX_CPU_63268
  60. + &board_963269bhr,
  61. +#endif
  62. };
  63. static struct of_device_id const bcm963xx_boards_dt[] = {
  64. @@ -1869,6 +1918,7 @@ static struct of_device_id const bcm963x
  65. { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
  66. #endif
  67. #ifdef CONFIG_BCM63XX_CPU_63268
  68. + { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
  69. #endif
  70. #endif /* CONFIG_OF */
  71. { },