528-board_nb6.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -1016,6 +1016,32 @@ 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_ohci0 = 1,
  12. + .has_ehci0 = 1,
  13. + .num_usbh_ports = 2,
  14. +
  15. + .has_enetsw = 1,
  16. +
  17. + .enetsw = {
  18. + .used_ports = {
  19. + [4] = {
  20. + .used = 1,
  21. + .phy_id = 0xff,
  22. + .bypass_link = 1,
  23. + .force_speed = 1000,
  24. + .force_duplex_full = 1,
  25. + .name = "RGMII",
  26. + },
  27. + },
  28. + },
  29. +};
  30. +#endif /* CONFIG_BCM63XX_CPU_6362 */
  31. +
  32. /*
  33. * known 6368 boards
  34. */
  35. @@ -1165,6 +1191,10 @@ static const struct board_info __initcon
  36. &board_DVAG3810BN,
  37. #endif
  38. +#ifdef CONFIG_BCM63XX_CPU_6362
  39. + &board_nb6,
  40. +#endif
  41. +
  42. #ifdef CONFIG_BCM63XX_CPU_6368
  43. &board_96368mvwg,
  44. &board_96368mvngr,
  45. @@ -1233,6 +1263,9 @@ static struct of_device_id const bcm963x
  46. { .compatible = "t-com,spw303v", .data = &board_spw303v, },
  47. { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  48. #endif
  49. +#ifdef CONFIG_BCM63XX_CPU_6362
  50. + { .compatible = "sfr,nb6-ser-r0", .data = &board_nb6, },
  51. +#endif
  52. #ifdef CONFIG_BCM63XX_CPU_6368
  53. { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
  54. { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },