535-board_rta770w.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -545,6 +545,27 @@ static struct board_info __initdata boar
  4. .force_duplex_full = 1,
  5. },
  6. };
  7. +
  8. +// Actually this board is the very same as the rta770bw,
  9. +// where the additional 'b' within the name just
  10. +// just indicates 'Annex B'. The ADSL Modem itself is able
  11. +// to handle both Annex A as well as Annex B -
  12. +// the loaded firmware makes the only difference
  13. +static struct board_info __initdata board_rta770w = {
  14. + .name = "RTA770W",
  15. + .expected_cpu_id = 0x6345,
  16. +
  17. + .has_uart0 = 1,
  18. +
  19. + .has_enet0 = 1,
  20. +
  21. + .enet0 = {
  22. + .has_phy = 1,
  23. + .phy_id = 0,
  24. + .force_speed_100 = 1,
  25. + .force_duplex_full = 1,
  26. + },
  27. +};
  28. #endif /* CONFIG_BCM63XX_CPU_6345 */
  29. /*
  30. @@ -1796,6 +1817,7 @@ static const struct board_info __initcon
  31. #ifdef CONFIG_BCM63XX_CPU_6345
  32. &board_96345gw2,
  33. &board_rta770bw,
  34. + &board_rta770w,
  35. #endif
  36. #ifdef CONFIG_BCM63XX_CPU_6348
  37. &board_96348r,
  38. @@ -1870,6 +1892,7 @@ static struct of_device_id const bcm963x
  39. #ifdef CONFIG_BCM63XX_CPU_6345
  40. { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
  41. { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
  42. + { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
  43. #endif
  44. #ifdef CONFIG_BCM63XX_CPU_6348
  45. { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },