558-board_AR1004G.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. From: "mexit@o2.pl" <mexit@o2.pl>
  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 <mexit@o2.pl>
  6. ---
  7. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  8. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  9. @@ -684,6 +684,22 @@ 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_uart0 = 1,
  17. + .has_enet1 = 1,
  18. + .has_pci = 1,
  19. +
  20. + .enet1 = {
  21. + .has_phy = 1,
  22. + .phy_id = 0,
  23. + .force_speed_100 = 1,
  24. + .force_duplex_full = 1,
  25. + },
  26. +};
  27. +
  28. /* BT Voyager 2110 */
  29. static struct board_info __initdata board_V2110 = {
  30. @@ -1798,6 +1814,7 @@ static const struct board_info __initcon
  31. &board_96348A_122,
  32. &board_CPVA502plus,
  33. &board_96348W3,
  34. + &board_96348gw_10_AR1004G,
  35. #endif
  36. #ifdef CONFIG_BCM63XX_CPU_6358
  37. @@ -1862,6 +1879,7 @@ static struct of_device_id const bcm963x
  38. { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
  39. #endif
  40. #ifdef CONFIG_BCM63XX_CPU_6348
  41. + { .compatible = "asmax,ar1004g", .data = &board_96348gw_10_AR1004G, },
  42. { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
  43. { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
  44. { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },