569-board_homehub2a.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -1470,6 +1470,32 @@ static struct board_info __initdata boar
  4. },
  5. };
  6. +static struct board_info __initdata board_homehub2a = {
  7. + .name = "HOMEHUB2A",
  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. + .num_usbh_ports = 2,
  16. +
  17. + .has_enet1 = 1,
  18. + .enet1 = {
  19. + .has_phy = 1,
  20. + .phy_id = 0,
  21. + .force_speed_100 = 1,
  22. + .force_duplex_full = 1,
  23. + },
  24. +
  25. + .fallback_sprom = {
  26. + .type = SPROM_BCM4322,
  27. + .pci_bus = 0,
  28. + .pci_dev = 1,
  29. + },
  30. +};
  31. +
  32. static struct board_info __initdata board_HW520 = {
  33. .name = "HW6358GW_B",
  34. .expected_cpu_id = 0x6358,
  35. @@ -2294,6 +2320,7 @@ static const struct board_info __initcon
  36. &board_nb4_ser_r0,
  37. &board_nb4_fxc_r1,
  38. &board_ct6373_1,
  39. + &board_homehub2a,
  40. &board_HW520,
  41. &board_HW553,
  42. &board_HW556_A,
  43. @@ -2403,6 +2430,7 @@ static struct of_device_id const bcm963x
  44. { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
  45. { .compatible = "t-com,spw303v", .data = &board_spw303v, },
  46. { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  47. + { .compatible = "thomson,homehub2a", .data = &board_homehub2a, },
  48. #endif
  49. #ifdef CONFIG_BCM63XX_CPU_6362
  50. { .compatible = "sagem,f@st2504n", .data = &board_fast2504n, },