528-board_nb6.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -1315,6 +1315,34 @@ static struct board_info __initdata boar
  4. };
  5. #endif /* CONFIG_BCM63XX_CPU_6358 */
  6. +#ifdef CONFIG_BCM63XX_CPU_6362
  7. +static struct board_info __initdata board_nb6 = {
  8. + .name = "NB6",
  9. + .expected_cpu_id = 0x6362,
  10. +
  11. + .has_uart0 = 1,
  12. +
  13. + .has_ohci0 = 1,
  14. + .has_ehci0 = 1,
  15. + .num_usbh_ports = 2,
  16. +
  17. + .has_enetsw = 1,
  18. +
  19. + .enetsw = {
  20. + .used_ports = {
  21. + [4] = {
  22. + .used = 1,
  23. + .phy_id = 0xff,
  24. + .bypass_link = 1,
  25. + .force_speed = 1000,
  26. + .force_duplex_full = 1,
  27. + .name = "RGMII",
  28. + },
  29. + },
  30. + },
  31. +};
  32. +#endif /* CONFIG_BCM63XX_CPU_6362 */
  33. +
  34. /*
  35. * known 6368 boards
  36. */
  37. @@ -1466,6 +1494,10 @@ static const struct board_info __initcon
  38. &board_DVAG3810BN,
  39. #endif
  40. +#ifdef CONFIG_BCM63XX_CPU_6362
  41. + &board_nb6,
  42. +#endif
  43. +
  44. #ifdef CONFIG_BCM63XX_CPU_6368
  45. &board_96368mvwg,
  46. &board_96368mvngr,
  47. @@ -1534,6 +1566,9 @@ static struct of_device_id const bcm963x
  48. { .compatible = "t-com,spw303v", .data = &board_spw303v, },
  49. { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  50. #endif
  51. +#ifdef CONFIG_BCM63XX_CPU_6362
  52. + { .compatible = "sfr,nb6-ser-r0", .data = &board_nb6, },
  53. +#endif
  54. #ifdef CONFIG_BCM63XX_CPU_6368
  55. { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
  56. { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },