516-board_96348A-122.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -458,6 +458,31 @@ static struct board_info __initdata boar
  4. },
  5. };
  6. +static struct board_info __initdata board_96348A_122 = {
  7. + .name = "96348A-122",
  8. + .expected_cpu_id = 0x6348,
  9. +
  10. + .has_uart0 = 1,
  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. +
  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_96348gw = {
  32. .name = "96348GW",
  33. .expected_cpu_id = 0x6348,
  34. @@ -1122,6 +1147,7 @@ static const struct board_info __initcon
  35. &board_V2500V_BB,
  36. &board_V2110,
  37. &board_ct536_ct5621,
  38. + &board_96348A_122,
  39. #endif
  40. #ifdef CONFIG_BCM63XX_CPU_6358
  41. @@ -1164,6 +1190,7 @@ static struct of_device_id const bcm963x
  42. { .compatible = "bt,v2110", .data = &board_V2110, },
  43. { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },
  44. { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
  45. + { .compatible = "comtrend,ct-5365", .data = &board_96348A_122, },
  46. { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
  47. { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
  48. { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },