fsg.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * arch/arm/mach-ixp4xx/include/mach/fsg.h
  3. *
  4. * Freecom FSG-3 platform specific definitions
  5. *
  6. * Author: Rod Whitby <rod@whitby.id.au>
  7. * Author: Tomasz Chmielewski <mangoo@wpkg.org>
  8. * Maintainers: http://www.nslu2-linux.org
  9. *
  10. * Based on coyote.h by
  11. * Copyright 2004 (c) MontaVista, Software, Inc.
  12. *
  13. * This file is licensed under the terms of the GNU General Public
  14. * License version 2. This program is licensed "as is" without any
  15. * warranty of any kind, whether express or implied.
  16. */
  17. #ifndef __ASM_ARCH_HARDWARE_H__
  18. #error "Do not include this directly, instead #include <mach/hardware.h>"
  19. #endif
  20. #define FSG_SDA_PIN 12
  21. #define FSG_SCL_PIN 13
  22. /*
  23. * FSG PCI IRQs
  24. */
  25. #define FSG_PCI_MAX_DEV 3
  26. #define FSG_PCI_IRQ_LINES 3
  27. /* PCI controller GPIO to IRQ pin mappings */
  28. #define FSG_PCI_INTA_PIN 6
  29. #define FSG_PCI_INTB_PIN 7
  30. #define FSG_PCI_INTC_PIN 5
  31. /* Buttons */
  32. #define FSG_SB_GPIO 4 /* sync button */
  33. #define FSG_RB_GPIO 9 /* reset button */
  34. #define FSG_UB_GPIO 10 /* usb button */
  35. /* LEDs */
  36. #define FSG_LED_WLAN_BIT 0
  37. #define FSG_LED_WAN_BIT 1
  38. #define FSG_LED_SATA_BIT 2
  39. #define FSG_LED_USB_BIT 4
  40. #define FSG_LED_RING_BIT 5
  41. #define FSG_LED_SYNC_BIT 7