504-board_dsl_274xb_rev_c.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -749,6 +749,23 @@ static struct board_info __initdata boar
  4. .has_ohci0 = 1,
  5. };
  6. +/* D-Link DSL-274xB revison C2/C3 */
  7. +static struct board_info __initdata board_dsl_274xb_rev_c = {
  8. + .name = "AW4139",
  9. + .expected_cpu_id = 0x6358,
  10. +
  11. + .has_uart0 = 1,
  12. + .has_enet1 = 1,
  13. + .has_pci = 1,
  14. +
  15. + .enet1 = {
  16. + .has_phy = 1,
  17. + .phy_id = 0,
  18. + .force_speed_100 = 1,
  19. + .force_duplex_full = 1,
  20. + },
  21. +};
  22. +
  23. static struct board_info __initdata board_nb4_ser_r0 = {
  24. .name = "NB4-SER-r0",
  25. .expected_cpu_id = 0x6358,
  26. @@ -842,6 +859,7 @@ static const struct board_info __initcon
  27. &board_AGPFS0,
  28. &board_CPVA642,
  29. &board_DWVS0,
  30. + &board_dsl_274xb_rev_c,
  31. &board_nb4_ser_r0,
  32. &board_nb4_fxc_r1,
  33. #endif
  34. @@ -881,6 +899,7 @@ static struct of_device_id const bcm963x
  35. { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
  36. { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
  37. { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
  38. + { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
  39. { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
  40. { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
  41. { .compatible = "pirelli,a226m", .data = &board_DWVS0, },