psd4256.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * U-Boot - psd4256.h
  3. *
  4. * Copyright (c) 2005-2007 Analog Devices Inc.
  5. *
  6. * (C) Copyright 2000-2004
  7. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  8. *
  9. * SPDX-License-Identifier: GPL-2.0+
  10. */
  11. /*
  12. * Flash A/B Port A configuration registers.
  13. * Addresses are offset values to CONFIG_SYS_FLASH1_BASE
  14. * for Flash A and CONFIG_SYS_FLASH2_BASE for Flash B.
  15. */
  16. #define PSD_PORTA_DIN 0x070000
  17. #define PSD_PORTA_DOUT 0x070004
  18. #define PSD_PORTA_DIR 0x070006
  19. /*
  20. * Flash A/B Port B configuration registers
  21. * Addresses are offset values to CONFIG_SYS_FLASH1_BASE
  22. * for Flash A and CONFIG_SYS_FLASH2_BASE for Flash B.
  23. */
  24. #define PSD_PORTB_DIN 0x070001
  25. #define PSD_PORTB_DOUT 0x070005
  26. #define PSD_PORTB_DIR 0x070007
  27. /*
  28. * Flash A Port A Bit definitions
  29. */
  30. #define PSDA_PPICLK1 0x20 /* PPI Clock select bit 1 */
  31. #define PSDA_PPICLK0 0x10 /* PPI Clock select bit 0 */
  32. #define PSDA_VDEC_RST 0x08 /* Video decoder reset, 0 = RESET */
  33. #define PSDA_VENC_RST 0x04 /* Video encoder reset, 0 = RESET */
  34. #define PSDA_CODEC_RST 0x01 /* Codec reset, 0 = RESET */
  35. /*
  36. * Flash A Port B Bit definitions
  37. */
  38. #define PSDA_LED9 0x20 /* LED 9, 1 = LED ON */
  39. #define PSDA_LED8 0x10 /* LED 8, 1 = LED ON */
  40. #define PSDA_LED7 0x08 /* LED 7, 1 = LED ON */
  41. #define PSDA_LED6 0x04 /* LED 6, 1 = LED ON */
  42. #define PSDA_LED5 0x02 /* LED 5, 1 = LED ON */
  43. #define PSDA_LED4 0x01 /* LED 4, 1 = LED ON */