525-board_96348w3.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -568,6 +568,24 @@ 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_enet1 = 1,
  12. + .has_pci = 1,
  13. +
  14. + .enet1 = {
  15. + .has_phy = 1,
  16. + .phy_id = 0,
  17. + .force_speed_100 = 1,
  18. + .force_duplex_full = 1,
  19. + },
  20. +
  21. + .has_ohci0 = 1,
  22. +};
  23. +
  24. static struct board_info __initdata board_96348_D4PW = {
  25. .name = "D-4P-W",
  26. .expected_cpu_id = 0x6348,
  27. @@ -1028,6 +1046,7 @@ static const struct board_info __initcon
  28. &board_ct536_ct5621,
  29. &board_96348A_122,
  30. &board_CPVA502plus,
  31. + &board_96348W3,
  32. #endif
  33. #ifdef CONFIG_BCM63XX_CPU_6358
  34. @@ -1083,6 +1102,7 @@ static struct of_device_id const bcm963x
  35. { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
  36. { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
  37. { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
  38. + { .compatible = "netgear,dg834g-v4", .data = &board_96348W3, },
  39. { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
  40. { .compatible = "t-com,spw500v", .data = &board_spw500v, },
  41. { .compatible = "tecom,gw6000", .data = &board_gw6000, },