512-board_BTV2110.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -485,6 +485,64 @@ static struct board_info __initdata boar
  4. },
  5. };
  6. +
  7. +/* BT Voyager 2110 */
  8. +static struct board_info __initdata board_V2110 = {
  9. + .name = "V2110",
  10. + .expected_cpu_id = 0x6348,
  11. +
  12. + .has_uart0 = 1,
  13. + .has_enet1 = 1,
  14. + .has_pci = 1,
  15. +
  16. + .enet1 = {
  17. + .has_phy = 1,
  18. + .phy_id = 0,
  19. + .force_speed_100 = 1,
  20. + .force_duplex_full = 1,
  21. + },
  22. +
  23. + .leds = {
  24. + {
  25. + .name = "V2110:green:power",
  26. + .gpio = 0,
  27. + .active_low = 1,
  28. + .default_trigger = "default-on",
  29. + },
  30. + {
  31. + .name = "V2110:red:power",
  32. + .gpio = 1,
  33. + .active_low = 1,
  34. + },
  35. + {
  36. + .name = "V2110:green:adsl",
  37. + .gpio = 2,
  38. + .active_low = 1,
  39. + },
  40. + { .name = "V2110:green:ppp",
  41. + .gpio = 3,
  42. + .active_low = 1,
  43. + },
  44. + {
  45. + .name = "V2110:green:wireless",
  46. + .gpio = 6,
  47. + .active_low = 1,
  48. + },
  49. + },
  50. +
  51. + .buttons = {
  52. + {
  53. + .desc = "reset",
  54. + .gpio = 33,
  55. + .active_low = 1,
  56. + .type = EV_KEY,
  57. + .code = KEY_RESTART,
  58. + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
  59. + },
  60. + },
  61. +};
  62. +
  63. +
  64. static struct board_info __initdata board_96348gw = {
  65. .name = "96348GW",
  66. .of_board_id = "brcm,bcm96348gw",
  67. @@ -2080,6 +2138,7 @@ static const struct board_info __initcon
  68. &board_spw500v,
  69. &board_96348sv,
  70. &board_V2500V_BB,
  71. + &board_V2110,
  72. #endif
  73. #ifdef CONFIG_BCM63XX_CPU_6358