510-board_spw303v.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -706,6 +706,20 @@ static struct board_info __initdata boar
  4. .pci_dev = 1,
  5. },
  6. };
  7. +
  8. + /* T-Home Speedport W 303V Typ B */
  9. +static struct board_info __initdata board_spw303v = {
  10. + .name = "96358-502V",
  11. + .expected_cpu_id = 0x6358,
  12. +
  13. + .has_enet0 = 1,
  14. + .has_pci = 1,
  15. +
  16. + .enet0 = {
  17. + .has_phy = 1,
  18. + .use_internal_phy = 1,
  19. + },
  20. +};
  21. #endif /* CONFIG_BCM63XX_CPU_6358 */
  22. /*
  23. @@ -753,6 +767,7 @@ static const struct board_info __initcon
  24. &board_nb4_ser_r0,
  25. &board_nb4_fxc_r1,
  26. &board_HW553,
  27. + &board_spw303v,
  28. #endif
  29. };
  30. @@ -804,6 +819,7 @@ static struct of_device_id const bcm963x
  31. { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
  32. { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, },
  33. { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
  34. + { .compatible = "t-com,spw303v", .data = &board_spw303v, },
  35. { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  36. #endif
  37. #ifdef CONFIG_BCM63XX_CPU_6368