2
0

501-board-NB4.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -434,6 +434,60 @@ static struct board_info __initdata boar
  4. .has_ohci0 = 1,
  5. };
  6. +
  7. +static struct board_info __initdata board_nb4_ser_r0 = {
  8. + .name = "NB4-SER-r0",
  9. + .expected_cpu_id = 0x6358,
  10. +
  11. + .has_enet0 = 1,
  12. + .has_enet1 = 1,
  13. + .has_pci = 1,
  14. +
  15. + .enet0 = {
  16. + .has_phy = 1,
  17. + .use_internal_phy = 1,
  18. + },
  19. +
  20. + .enet1 = {
  21. + .has_phy = 1,
  22. + .phy_id = 0,
  23. + .force_speed_100 = 1,
  24. + .force_duplex_full = 1,
  25. + },
  26. +
  27. +
  28. + .has_ohci0 = 1,
  29. + .has_pccard = 1,
  30. + .has_ehci0 = 1,
  31. + .num_usbh_ports = 2,
  32. +};
  33. +
  34. +static struct board_info __initdata board_nb4_fxc_r1 = {
  35. + .name = "NB4-FXC-r1",
  36. + .expected_cpu_id = 0x6358,
  37. +
  38. + .has_enet0 = 1,
  39. + .has_enet1 = 1,
  40. + .has_pci = 1,
  41. +
  42. + .enet0 = {
  43. + .has_phy = 1,
  44. + .use_internal_phy = 1,
  45. + },
  46. +
  47. + .enet1 = {
  48. + .has_phy = 1,
  49. + .phy_id = 0,
  50. + .force_speed_100 = 1,
  51. + .force_duplex_full = 1,
  52. + },
  53. +
  54. +
  55. + .has_ohci0 = 1,
  56. + .has_pccard = 1,
  57. + .has_ehci0 = 1,
  58. + .num_usbh_ports = 2,
  59. +};
  60. #endif /* CONFIG_BCM63XX_CPU_6358 */
  61. /*
  62. @@ -470,6 +524,8 @@ static const struct board_info __initcon
  63. &board_96358vw2,
  64. &board_AGPFS0,
  65. &board_DWVS0,
  66. + &board_nb4_ser_r0,
  67. + &board_nb4_fxc_r1,
  68. #endif
  69. };
  70. @@ -511,6 +567,8 @@ static struct of_device_id const bcm963x
  71. { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
  72. { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },
  73. { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
  74. + { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, },
  75. + { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
  76. #endif
  77. #ifdef CONFIG_BCM63XX_CPU_6368
  78. #endif