526-board_CT6373-1.patch 1.5 KB

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