514-board_ct536_ct5621.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -434,6 +434,34 @@ static struct board_info __initdata boar
  4. };
  5. +static struct board_info __initdata board_ct536_ct5621 = {
  6. + .name = "CT536_CT5621",
  7. + .expected_cpu_id = 0x6348,
  8. +
  9. + .has_uart0 = 1,
  10. + .has_enet0 = 0,
  11. + .has_enet1 = 1,
  12. + .has_pci = 1,
  13. + .use_fallback_sprom = 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. + .has_ohci0 = 1,
  23. + .has_pccard = 1,
  24. + .has_ehci0 = 1,
  25. +
  26. + .fallback_sprom = {
  27. + .type = SPROM_BCM4318,
  28. + .pci_bus = 0,
  29. + .pci_dev = 1,
  30. + },
  31. +};
  32. +
  33. static struct board_info __initdata board_96348gw = {
  34. .name = "96348GW",
  35. .expected_cpu_id = 0x6348,
  36. @@ -1094,6 +1122,7 @@ static const struct board_info __initcon
  37. &board_96348sv,
  38. &board_V2500V_BB,
  39. &board_V2110,
  40. + &board_ct536_ct5621,
  41. #endif
  42. #ifdef CONFIG_BCM63XX_CPU_6358
  43. @@ -1135,6 +1164,8 @@ static struct of_device_id const bcm963x
  44. { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
  45. { .compatible = "bt,v2110", .data = &board_V2110, },
  46. { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },
  47. + { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
  48. + { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
  49. { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
  50. { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
  51. { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },