369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. From e71eea9953c774dfadb754258824fb1888c279f4 Mon Sep 17 00:00:00 2001
  2. From: Jonas Gorski <jogo@openwrt.org>
  3. Date: Fri, 21 Nov 2014 16:54:06 +0100
  4. Subject: [PATCH 47/48] MIPS: BCM63XX: populate the compatible to board_info
  5. list
  6. Populate the compatible to board_info list to allow dtbs to be used
  7. for known boards.
  8. Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  9. ---
  10. arch/mips/bcm63xx/boards/board_bcm963xx.c | 34 +++++++++++++++++++++++++++++
  11. 1 file changed, 34 insertions(+)
  12. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  13. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  14. @@ -711,6 +711,48 @@ static const struct board_info __initcon
  15. };
  16. static struct of_device_id const bcm963xx_boards_dt[] = {
  17. +#ifdef CONFIG_OF
  18. +#ifdef CONFIG_BCM63XX_CPU_3368
  19. + { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
  20. +#endif
  21. +#ifdef CONFIG_BCM63XX_CPU_6328
  22. + { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
  23. +#endif
  24. +#ifdef CONFIG_BCM63XX_CPU_6338
  25. + { .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },
  26. + { .compatible = "brcm,bcm96338w", .data = &board_96338w, },
  27. +#endif
  28. +#ifdef CONFIG_BCM63XX_CPU_6345
  29. + { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
  30. +#endif
  31. +#ifdef CONFIG_BCM63XX_CPU_6348
  32. + { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
  33. + { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
  34. + { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
  35. + { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
  36. + { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
  37. + { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
  38. + { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
  39. + { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
  40. + { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
  41. + { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
  42. + { .compatible = "usr,9108", .data = &board_96348gw_a, },
  43. +#endif
  44. +#ifdef CONFIG_BCM63XX_CPU_6358
  45. + { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
  46. + { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
  47. + { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
  48. + { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
  49. + { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
  50. + { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
  51. + { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },
  52. + { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
  53. +#endif
  54. +#ifdef CONFIG_BCM63XX_CPU_6368
  55. +#endif
  56. +#ifdef CONFIG_BCM63XX_CPU_63268
  57. +#endif
  58. +#endif /* CONFIG_OF */
  59. { },
  60. };