737-MIPS-ath79-add-om5p-an-support.patch 712 B

1234567891011121314151617181920
  1. --- a/arch/mips/ath79/machtypes.h
  2. +++ b/arch/mips/ath79/machtypes.h
  3. @@ -88,6 +88,7 @@ enum ath79_mach_type {
  4. ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
  5. ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */
  6. ATH79_MACH_OM2P, /* OpenMesh OM2P */
  7. + ATH79_MACH_OM5P_AN, /* OpenMesh OM5P-AN */
  8. ATH79_MACH_OM5P, /* OpenMesh OM5P */
  9. ATH79_MACH_ONION_OMEGA, /* ONION OMEGA */
  10. ATH79_MACH_PB42, /* Atheros PB42 */
  11. --- a/arch/mips/ath79/Kconfig
  12. +++ b/arch/mips/ath79/Kconfig
  13. @@ -763,6 +763,7 @@ config ATH79_MACH_OM2P
  14. config ATH79_MACH_OM5P
  15. bool "OpenMesh OM5P board support"
  16. select SOC_AR934X
  17. + select ATH79_DEV_AP9X_PCI if PCI
  18. select ATH79_DEV_ETH
  19. select ATH79_DEV_GPIO_BUTTONS
  20. select ATH79_DEV_LEDS_GPIO