448-board-MAGIC.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -751,6 +751,76 @@ static struct board_info __initdata boar
  4. },
  5. };
  6. +static struct board_info __initdata board_96348sv = {
  7. + .name = "MAGIC",
  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. + /* is has BP_ENET_EXTERNAL_PHY */
  21. + .force_speed_100 = 1,
  22. + .force_duplex_full = 1,
  23. + },
  24. +
  25. + .has_ohci0 = 1,
  26. + .has_pccard = 1,
  27. + .has_ehci0 = 1,
  28. +
  29. + .has_dsp = 1,
  30. + .dsp = {
  31. + .gpio_rst = 25,
  32. + .gpio_int = 34,
  33. + .cs = 2,
  34. + .ext_irq = 2,
  35. + },
  36. +
  37. + .leds = {
  38. + {
  39. + .name = "voip",
  40. + .gpio = 22,
  41. + .active_low = 1,
  42. + },
  43. + {
  44. + .name = "adsl",
  45. + .gpio = 5,
  46. + .active_low = 1,
  47. + },
  48. + {
  49. + .name = "wifi",
  50. + .gpio = 28,
  51. + },
  52. + {
  53. + .name = "usb",
  54. + .gpio = 35,
  55. + .active_low = 1,
  56. + },
  57. + {
  58. + .name = "hpna",
  59. + .gpio = 4,
  60. + .active_low = 1,
  61. + },
  62. + {
  63. + .name = "power",
  64. + .gpio = 0,
  65. + .active_low = 1,
  66. + .default_trigger = "default-on",
  67. + },
  68. + {
  69. + .name = "stop",
  70. + .gpio = 1,
  71. + .active_low = 1,
  72. + },
  73. + },
  74. +};
  75. +
  76. #endif
  77. /*
  78. @@ -1661,6 +1731,7 @@ static const struct board_info __initdat
  79. &board_rta1025w_16,
  80. &board_96348_D4PW,
  81. &board_spw500v,
  82. + &board_96348sv,
  83. #endif
  84. #ifdef CONFIG_BCM63XX_CPU_6358