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

1234567891011121314151617181920
  1. --- a/arch/mips/ath79/machtypes.h
  2. +++ b/arch/mips/ath79/machtypes.h
  3. @@ -87,6 +87,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_PB42, /* Atheros PB42 */
  10. ATH79_MACH_PB92, /* Atheros PB92 */
  11. --- a/arch/mips/ath79/Kconfig
  12. +++ b/arch/mips/ath79/Kconfig
  13. @@ -743,6 +743,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