525-board_96348w3.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -1178,6 +1178,59 @@ static struct board_info __initdata boar
  4. .has_ohci0 = 1,
  5. };
  6. +/* NetGear DG834G v4 */
  7. +static struct board_info __initdata board_96348W3 = {
  8. + .name = "96348W3",
  9. + .expected_cpu_id = 0x6348,
  10. +
  11. + .has_uart0 = 1,
  12. + .has_enet1 = 1,
  13. + .has_pci = 1,
  14. +
  15. + .enet1 = {
  16. + .has_phy = 1,
  17. + .phy_id = 0,
  18. + .force_speed_100 = 1,
  19. + .force_duplex_full = 1,
  20. + },
  21. +
  22. + .has_ohci0 = 1,
  23. +
  24. + .leds = {
  25. + {
  26. + .name = "96348W3:green:power",
  27. + .gpio = 0,
  28. + .active_low = 1,
  29. + .default_trigger = "default-on",
  30. + },
  31. + {
  32. + .name = "96348W3:red:power",
  33. + .gpio = 1,
  34. + .active_low = 1,
  35. + },
  36. + {
  37. + .name = "96348W3::adsl",
  38. + .gpio = 2,
  39. + .active_low = 1,
  40. + },
  41. + {
  42. + .name = "96348W3::internet",
  43. + .gpio = 3,
  44. + .active_low = 1,
  45. + },
  46. + },
  47. + .buttons = {
  48. + {
  49. + .desc = "reset",
  50. + .gpio = 6,
  51. + .active_low = 1,
  52. + .type = EV_KEY,
  53. + .code = KEY_RESTART,
  54. + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
  55. + },
  56. + },
  57. +};
  58. +
  59. static struct board_info __initdata board_96348_D4PW = {
  60. .name = "D-4P-W",
  61. .expected_cpu_id = 0x6348,
  62. @@ -2657,6 +2710,7 @@ static const struct board_info __initcon
  63. &board_ct536_ct5621,
  64. &board_96348A_122,
  65. &board_CPVA502plus,
  66. + &board_96348W3,
  67. #endif
  68. #ifdef CONFIG_BCM63XX_CPU_6358