508-board_hw553.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -666,6 +666,32 @@ static struct board_info __initdata boar
  4. .has_ehci0 = 1,
  5. .num_usbh_ports = 2,
  6. };
  7. +
  8. +static struct board_info __initdata board_HW553 = {
  9. + .name = "HW553",
  10. + .expected_cpu_id = 0x6358,
  11. +
  12. + .has_enet1 = 1,
  13. + .has_pci = 1,
  14. + .use_fallback_sprom = 1,
  15. +
  16. + .enet1 = {
  17. + .has_phy = 1,
  18. + .phy_id = 0,
  19. + .force_speed_100 = 1,
  20. + .force_duplex_full = 1,
  21. + },
  22. +
  23. + .has_ohci0 = 1,
  24. + .has_ehci0 = 1,
  25. + .num_usbh_ports = 2,
  26. +
  27. + .fallback_sprom = {
  28. + .type = SPROM_BCM4318,
  29. + .pci_bus = 0,
  30. + .pci_dev = 1,
  31. + },
  32. +};
  33. #endif /* CONFIG_BCM63XX_CPU_6358 */
  34. /*
  35. @@ -711,6 +737,7 @@ static const struct board_info __initcon
  36. &board_dsl_274xb_rev_c,
  37. &board_nb4_ser_r0,
  38. &board_nb4_fxc_r1,
  39. + &board_HW553,
  40. #endif
  41. };
  42. @@ -754,6 +781,7 @@ static struct of_device_id const bcm963x
  43. { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
  44. { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
  45. { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
  46. + { .compatible = "huawei,hg553", .data = &board_HW553, },
  47. { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
  48. { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
  49. { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },