500-board-D4PW.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -542,6 +542,22 @@ static struct board_info __initdata boar
  4. .has_ohci0 = 1,
  5. };
  6. +
  7. +static struct board_info __initdata board_96348_D4PW = {
  8. + .name = "D-4P-W",
  9. + .expected_cpu_id = 0x6348,
  10. +
  11. + .has_enet1 = 1,
  12. + .has_pci = 1,
  13. + .has_uart0 = 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. #endif /* CONFIG_BCM63XX_CPU_6348 */
  23. /*
  24. @@ -731,6 +747,7 @@ static const struct board_info __initcon
  25. &board_DV201AMR,
  26. &board_96348gw_a,
  27. &board_rta1025w_16,
  28. + &board_96348_D4PW,
  29. #endif
  30. #ifdef CONFIG_BCM63XX_CPU_6358
  31. @@ -762,6 +779,7 @@ static struct of_device_id const bcm963x
  32. { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
  33. { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
  34. { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
  35. + { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
  36. { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
  37. { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
  38. { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },