522-MIPS-BCM63XX-add-96328avng-reference-board.patch 959 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From c93c2bbf0cc96da5a47d77f01daf6c983cfe4216 Mon Sep 17 00:00:00 2001
  2. From: Jonas Gorski <jonas.gorski@gmail.com>
  3. Date: Tue, 29 May 2012 10:52:25 +0200
  4. Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board
  5. ---
  6. arch/mips/bcm63xx/boards/board_bcm963xx.c | 77 +++++++++++++++++++++++++++++
  7. 1 files changed, 77 insertions(+), 0 deletions(-)
  8. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  9. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  10. @@ -105,6 +105,33 @@ static struct board_info __initdata boar
  11. .active_low = 1,
  12. },
  13. },
  14. +
  15. + .has_enetsw = 1,
  16. +
  17. + .enetsw = {
  18. + .used_ports = {
  19. + [0] = {
  20. + .used = 1,
  21. + .phy_id = 1,
  22. + .name = "Port 1",
  23. + },
  24. + [1] = {
  25. + .used = 1,
  26. + .phy_id = 2,
  27. + .name = "Port 2",
  28. + },
  29. + [2] = {
  30. + .used = 1,
  31. + .phy_id = 3,
  32. + .name = "Port 3",
  33. + },
  34. + [3] = {
  35. + .used = 1,
  36. + .phy_id = 4,
  37. + .name = "Port 4",
  38. + },
  39. + },
  40. + },
  41. };
  42. #endif /* CONFIG_BCM63XX_CPU_6328 */