dm646x.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Chip specific defines for DM646x SoC
  3. *
  4. * Author: Kevin Hilman, Deep Root Systems, LLC
  5. *
  6. * 2007 (c) Deep Root Systems, LLC. This file is licensed under
  7. * the terms of the GNU General Public License version 2. This program
  8. * is licensed "as is" without any warranty of any kind, whether express
  9. * or implied.
  10. */
  11. #ifndef __ASM_ARCH_DM646X_H
  12. #define __ASM_ARCH_DM646X_H
  13. #include <mach/hardware.h>
  14. #include <mach/asp.h>
  15. #include <linux/i2c.h>
  16. #include <linux/videodev2.h>
  17. #include <linux/davinci_emac.h>
  18. #include <media/davinci/vpif_types.h>
  19. #define DM646X_EMAC_BASE (0x01C80000)
  20. #define DM646X_EMAC_MDIO_BASE (DM646X_EMAC_BASE + 0x4000)
  21. #define DM646X_EMAC_CNTRL_OFFSET (0x0000)
  22. #define DM646X_EMAC_CNTRL_MOD_OFFSET (0x1000)
  23. #define DM646X_EMAC_CNTRL_RAM_OFFSET (0x2000)
  24. #define DM646X_EMAC_CNTRL_RAM_SIZE (0x2000)
  25. #define DM646X_ASYNC_EMIF_CONTROL_BASE 0x20008000
  26. #define DM646X_ASYNC_EMIF_CS2_SPACE_BASE 0x42000000
  27. void __init dm646x_init(void);
  28. void __init dm646x_init_mcasp0(struct snd_platform_data *pdata);
  29. void __init dm646x_init_mcasp1(struct snd_platform_data *pdata);
  30. int __init dm646x_init_edma(struct edma_rsv_info *rsv);
  31. void dm646x_video_init(void);
  32. void dm646x_setup_vpif(struct vpif_display_config *,
  33. struct vpif_capture_config *);
  34. #endif /* __ASM_ARCH_DM646X_H */