558-board_AR1004G.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. From: "[email protected]" <[email protected]>
  2. Date: Sun, 24 Nov 2013 21:33:38 +0000
  3. Subject: [PATCH 4/5] brcm63xx: add support for Asmax AR 1004g router
  4. Support for Asmax AR 1004g router
  5. Signed-off-by: Adrian Feliks <[email protected]>
  6. ---
  7. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  8. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  9. @@ -647,6 +647,21 @@ static struct board_info __initdata boar
  10. .has_ehci0 = 1,
  11. };
  12. +static struct board_info __initdata board_96348gw_10_AR1004G = {
  13. + .name = "AR1004G",
  14. + .expected_cpu_id = 0x6348,
  15. +
  16. + .has_enet1 = 1,
  17. + .has_pci = 1,
  18. +
  19. + .enet1 = {
  20. + .has_phy = 1,
  21. + .phy_id = 0,
  22. + .force_speed_100 = 1,
  23. + .force_duplex_full = 1,
  24. + },
  25. +};
  26. +
  27. /* BT Voyager 2110 */
  28. static struct board_info __initdata board_V2110 = {
  29. @@ -1651,6 +1666,7 @@ static const struct board_info __initcon
  30. &board_96348A_122,
  31. &board_CPVA502plus,
  32. &board_96348W3,
  33. + &board_96348gw_10_AR1004G,
  34. #endif
  35. #ifdef CONFIG_BCM63XX_CPU_6358
  36. @@ -1715,6 +1731,7 @@ static struct of_device_id const bcm963x
  37. { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
  38. #endif
  39. #ifdef CONFIG_BCM63XX_CPU_6348
  40. + { .compatible = "asmax,ar1004g", .data = &board_96348gw_10_AR1004G, },
  41. { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
  42. { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
  43. { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },