510-board_spw303v.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -1002,6 +1002,21 @@ 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_uart0 = 1,
  14. + .has_enet0 = 1,
  15. + .has_pci = 1,
  16. +
  17. + .enet0 = {
  18. + .has_phy = 1,
  19. + .use_internal_phy = 1,
  20. + },
  21. +};
  22. #endif /* CONFIG_BCM63XX_CPU_6358 */
  23. /*
  24. @@ -1049,6 +1064,7 @@ static const struct board_info __initcon
  25. &board_nb4_ser_r0,
  26. &board_nb4_fxc_r1,
  27. &board_HW553,
  28. + &board_spw303v,
  29. #endif
  30. };
  31. @@ -1100,6 +1116,7 @@ static struct of_device_id const bcm963x
  32. { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
  33. { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, },
  34. { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
  35. + { .compatible = "t-com,spw303v", .data = &board_spw303v, },
  36. { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  37. #endif
  38. #ifdef CONFIG_BCM63XX_CPU_6368