523-MIPS-BCM63XX-add-963281TAN-reference-board.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. From f0649f7b7c672cf452a1796a1422bf615e1973f8 Mon Sep 17 00:00:00 2001
  2. From: Jonas Gorski <jonas.gorski@gmail.com>
  3. Date: Tue, 29 May 2012 11:01:12 +0200
  4. Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  5. ---
  6. arch/mips/bcm63xx/boards/board_bcm963xx.c | 71 +++++++++++++++++++++++++++++
  7. 1 files changed, 71 insertions(+), 0 deletions(-)
  8. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  9. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  10. @@ -137,6 +137,41 @@ static struct board_info __initdata boar
  11. },
  12. },
  13. };
  14. +
  15. +static struct board_info __initdata board_963281TAN = {
  16. + .name = "963281TAN",
  17. + .expected_cpu_id = 0x6328,
  18. +
  19. + .has_uart0 = 1,
  20. + .has_pci = 1,
  21. +
  22. + .has_enetsw = 1,
  23. +
  24. + .enetsw = {
  25. + .used_ports = {
  26. + [0] = {
  27. + .used = 1,
  28. + .phy_id = 1,
  29. + .name = "Port 1",
  30. + },
  31. + [1] = {
  32. + .used = 1,
  33. + .phy_id = 2,
  34. + .name = "Port 2",
  35. + },
  36. + [2] = {
  37. + .used = 1,
  38. + .phy_id = 3,
  39. + .name = "Port 3",
  40. + },
  41. + [3] = {
  42. + .used = 1,
  43. + .phy_id = 4,
  44. + .name = "Port 4",
  45. + },
  46. + },
  47. + },
  48. +};
  49. #endif /* CONFIG_BCM63XX_CPU_6328 */
  50. /*
  51. @@ -1266,6 +1301,7 @@ static const struct board_info __initcon
  52. #endif
  53. #ifdef CONFIG_BCM63XX_CPU_6328
  54. &board_96328avng,
  55. + &board_963281TAN,
  56. #endif
  57. #ifdef CONFIG_BCM63XX_CPU_6338
  58. &board_96338gw,
  59. @@ -1322,6 +1358,7 @@ static struct of_device_id const bcm963x
  60. { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
  61. #endif
  62. #ifdef CONFIG_BCM63XX_CPU_6328
  63. + { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
  64. { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
  65. #endif
  66. #ifdef CONFIG_BCM63XX_CPU_6338