533-board_rta770bw.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -528,6 +528,22 @@ static struct board_info __initdata boar
  4. .has_uart0 = 1,
  5. };
  6. +
  7. +static struct board_info __initdata board_rta770bw = {
  8. + .name = "RTA770BW",
  9. + .expected_cpu_id = 0x6345,
  10. +
  11. + .has_uart0 = 1,
  12. +
  13. + .has_enet0 = 1,
  14. +
  15. + .enet0 = {
  16. + .has_phy = 1,
  17. + .phy_id = 0,
  18. + .force_speed_100 = 1,
  19. + .force_duplex_full = 1,
  20. + },
  21. +};
  22. #endif /* CONFIG_BCM63XX_CPU_6345 */
  23. /*
  24. @@ -1691,6 +1707,7 @@ static const struct board_info __initcon
  25. #endif
  26. #ifdef CONFIG_BCM63XX_CPU_6345
  27. &board_96345gw2,
  28. + &board_rta770bw,
  29. #endif
  30. #ifdef CONFIG_BCM63XX_CPU_6348
  31. &board_96348r,
  32. @@ -1761,6 +1778,7 @@ static struct of_device_id const bcm963x
  33. #endif
  34. #ifdef CONFIG_BCM63XX_CPU_6345
  35. { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
  36. + { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
  37. #endif
  38. #ifdef CONFIG_BCM63XX_CPU_6348
  39. { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },