mmdc.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2015, Freescale Semiconductor, Inc.
  4. */
  5. #ifndef __ARCH_ARM_MACH_S32V234_MMDC_H__
  6. #define __ARCH_ARM_MACH_S32V234_MMDC_H__
  7. #define MMDC0 0
  8. #define MMDC1 1
  9. #define MMDC_MDCTL 0x0
  10. #define MMDC_MDPDC 0x4
  11. #define MMDC_MDOTC 0x8
  12. #define MMDC_MDCFG0 0xC
  13. #define MMDC_MDCFG1 0x10
  14. #define MMDC_MDCFG2 0x14
  15. #define MMDC_MDMISC 0x18
  16. #define MMDC_MDSCR 0x1C
  17. #define MMDC_MDREF 0x20
  18. #define MMDC_MDRWD 0x2C
  19. #define MMDC_MDOR 0x30
  20. #define MMDC_MDMRR 0x34
  21. #define MMDC_MDCFG3LP 0x38
  22. #define MMDC_MDMR4 0x3C
  23. #define MMDC_MDASP 0x40
  24. #define MMDC_MAARCR 0x400
  25. #define MMDC_MAPSR 0x404
  26. #define MMDC_MAEXIDR0 0x408
  27. #define MMDC_MAEXIDR1 0x40C
  28. #define MMDC_MADPCR0 0x410
  29. #define MMDC_MADPCR1 0x414
  30. #define MMDC_MADPSR0 0x418
  31. #define MMDC_MADPSR1 0x41C
  32. #define MMDC_MADPSR2 0x420
  33. #define MMDC_MADPSR3 0x424
  34. #define MMDC_MADPSR4 0x428
  35. #define MMDC_MADPSR5 0x42C
  36. #define MMDC_MASBS0 0x430
  37. #define MMDC_MASBS1 0x434
  38. #define MMDC_MAGENP 0x440
  39. #define MMDC_MPZQHWCTRL 0x800
  40. #define MMDC_MPWLGCR 0x808
  41. #define MMDC_MPWLDECTRL0 0x80C
  42. #define MMDC_MPWLDECTRL1 0x810
  43. #define MMDC_MPWLDLST 0x814
  44. #define MMDC_MPODTCTRL 0x818
  45. #define MMDC_MPRDDQBY0DL 0x81C
  46. #define MMDC_MPRDDQBY1DL 0x820
  47. #define MMDC_MPRDDQBY2DL 0x824
  48. #define MMDC_MPRDDQBY3DL 0x828
  49. #define MMDC_MPDGCTRL0 0x83C
  50. #define MMDC_MPDGCTRL1 0x840
  51. #define MMDC_MPDGDLST0 0x844
  52. #define MMDC_MPRDDLCTL 0x848
  53. #define MMDC_MPRDDLST 0x84C
  54. #define MMDC_MPWRDLCTL 0x850
  55. #define MMDC_MPWRDLST 0x854
  56. #define MMDC_MPZQLP2CTL 0x85C
  57. #define MMDC_MPRDDLHWCTL 0x860
  58. #define MMDC_MPWRDLHWCTL 0x864
  59. #define MMDC_MPRDDLHWST0 0x868
  60. #define MMDC_MPRDDLHWST1 0x86C
  61. #define MMDC_MPWRDLHWST1 0x870
  62. #define MMDC_MPWRDLHWST2 0x874
  63. #define MMDC_MPWLHWERR 0x878
  64. #define MMDC_MPDGHWST0 0x87C
  65. #define MMDC_MPDGHWST1 0x880
  66. #define MMDC_MPDGHWST2 0x884
  67. #define MMDC_MPDGHWST3 0x888
  68. #define MMDC_MPPDCMPR1 0x88C
  69. #define MMDC_MPPDCMPR2 0x890
  70. #define MMDC_MPSWDAR0 0x894
  71. #define MMDC_MPSWDRDR0 0x898
  72. #define MMDC_MPSWDRDR1 0x89C
  73. #define MMDC_MPSWDRDR2 0x8A0
  74. #define MMDC_MPSWDRDR3 0x8A4
  75. #define MMDC_MPSWDRDR4 0x8A8
  76. #define MMDC_MPSWDRDR5 0x8AC
  77. #define MMDC_MPSWDRDR6 0x8B0
  78. #define MMDC_MPSWDRDR7 0x8B4
  79. #define MMDC_MPMUR0 0x8B8
  80. #define MMDC_MPDCCR 0x8C0
  81. #define MMDC_MPMUR0_FRC_MSR (1 << 11)
  82. #define MMDC_MPZQHWCTRL_ZQ_HW_FOR (1 << 16)
  83. #endif