508-board_hw553.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -959,6 +959,34 @@ 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_uart0 = 1,
  13. +
  14. + .has_enet1 = 1,
  15. + .has_pci = 1,
  16. + .use_fallback_sprom = 1,
  17. +
  18. + .enet1 = {
  19. + .has_phy = 1,
  20. + .phy_id = 0,
  21. + .force_speed_100 = 1,
  22. + .force_duplex_full = 1,
  23. + },
  24. +
  25. + .has_ohci0 = 1,
  26. + .has_ehci0 = 1,
  27. + .num_usbh_ports = 2,
  28. +
  29. + .fallback_sprom = {
  30. + .type = SPROM_BCM4318,
  31. + .pci_bus = 0,
  32. + .pci_dev = 1,
  33. + },
  34. +};
  35. #endif /* CONFIG_BCM63XX_CPU_6358 */
  36. /*
  37. @@ -1004,6 +1032,7 @@ static const struct board_info __initcon
  38. &board_dsl_274xb_rev_c,
  39. &board_nb4_ser_r0,
  40. &board_nb4_fxc_r1,
  41. + &board_HW553,
  42. #endif
  43. };
  44. @@ -1047,6 +1076,7 @@ static struct of_device_id const bcm963x
  45. { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
  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, },
  49. { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
  50. { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
  51. { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },