501-board-NB4.patch 1.7 KB

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