506-board_gw6200_gw6000.patch 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -461,6 +461,66 @@ static struct board_info __initdata boar
  4. },
  5. };
  6. +static struct board_info __initdata board_gw6200 = {
  7. + .name = "GW6200",
  8. + .expected_cpu_id = 0x6348,
  9. +
  10. + .has_uart0 = 1,
  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. + .enet1 = {
  20. + .force_speed_100 = 1,
  21. + .force_duplex_full = 1,
  22. + },
  23. +
  24. + .has_ohci0 = 1,
  25. +
  26. + .has_dsp = 1,
  27. + .dsp = {
  28. + .gpio_rst = 8, /* FIXME: What is real GPIO here? */
  29. + .gpio_int = 34,
  30. + .ext_irq = 2,
  31. + .cs = 2,
  32. + },
  33. +};
  34. +
  35. +static struct board_info __initdata board_gw6000 = {
  36. + .name = "GW6000",
  37. + .expected_cpu_id = 0x6348,
  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. + .enet1 = {
  49. + .force_speed_100 = 1,
  50. + .force_duplex_full = 1,
  51. + },
  52. +
  53. + .has_ohci0 = 1,
  54. +
  55. + .has_dsp = 1,
  56. + .dsp = {
  57. + .gpio_rst = 6,
  58. + .gpio_int = 34,
  59. + .ext_irq = 2,
  60. + .cs = 2,
  61. + },
  62. +};
  63. +
  64. +
  65. +
  66. static struct board_info __initdata board_FAST2404 = {
  67. .name = "F@ST2404",
  68. .expected_cpu_id = 0x6348,
  69. @@ -888,6 +948,8 @@ static const struct board_info __initcon
  70. #ifdef CONFIG_BCM63XX_CPU_6348
  71. &board_96348r,
  72. &board_96348gw,
  73. + &board_gw6000,
  74. + &board_gw6200,
  75. &board_96348gw_10,
  76. &board_96348gw_11,
  77. &board_FAST2404,
  78. @@ -938,6 +1000,8 @@ static struct of_device_id const bcm963x
  79. { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
  80. { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
  81. { .compatible = "t-com,spw500v", .data = &board_spw500v, },
  82. + { .compatible = "tecom,gw6000", .data = &board_gw6000, },
  83. + { .compatible = "tecom,gw6200", .data = &board_gw6200, },
  84. { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
  85. { .compatible = "usr,9108", .data = &board_96348gw_a, },
  86. #endif