2
0

526-board_CT6373-1.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -922,6 +922,30 @@ static struct board_info __initdata boar
  4. .num_usbh_ports = 2,
  5. };
  6. +static struct board_info __initdata board_ct6373_1 = {
  7. + .name = "CT6373-1",
  8. + .expected_cpu_id = 0x6358,
  9. +
  10. + .has_pci = 1,
  11. + .use_fallback_sprom = 1,
  12. + .has_ohci0 = 1,
  13. + .has_ehci0 = 1,
  14. +
  15. + .has_enet1 = 1,
  16. + .enet1 = {
  17. + .has_phy = 1,
  18. + .phy_id = 0,
  19. + .force_speed_100 = 1,
  20. + .force_duplex_full = 1,
  21. + },
  22. +
  23. + .fallback_sprom = {
  24. + .type = SPROM_BCM4318,
  25. + .pci_bus = 0,
  26. + .pci_dev = 1,
  27. + },
  28. +};
  29. +
  30. static struct board_info __initdata board_HW553 = {
  31. .name = "HW553",
  32. .expected_cpu_id = 0x6358,
  33. @@ -1106,6 +1130,7 @@ static const struct board_info __initcon
  34. &board_dsl_274xb_rev_c,
  35. &board_nb4_ser_r0,
  36. &board_nb4_fxc_r1,
  37. + &board_ct6373_1,
  38. &board_HW553,
  39. &board_spw303v,
  40. #endif
  41. @@ -1164,6 +1189,7 @@ static struct of_device_id const bcm963x
  42. { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
  43. { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
  44. { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
  45. + { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
  46. { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
  47. { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
  48. { .compatible = "huawei,hg553", .data = &board_HW553, },