1 /* 2 * Copyright 2007-2010 Analog Devices Inc. 3 * 4 * Licensed under the Clear BSD license or the GPL-2 (or later) 5 */ 6 7 #ifndef _DEF_BF549_H 8 #define _DEF_BF549_H 9 10 /* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */ 11 #include "defBF54x_base.h" 12 13 /* The BF549 is like the BF544, but has MXVR */ 14 #include "defBF547.h" 15 16 /* MXVR Registers */ 17 18 #define MXVR_CONFIG 0xffc02700 /* MXVR Configuration Register */ 19 #define MXVR_STATE_0 0xffc02708 /* MXVR State Register 0 */ 20 #define MXVR_STATE_1 0xffc0270c /* MXVR State Register 1 */ 21 #define MXVR_INT_STAT_0 0xffc02710 /* MXVR Interrupt Status Register 0 */ 22 #define MXVR_INT_STAT_1 0xffc02714 /* MXVR Interrupt Status Register 1 */ 23 #define MXVR_INT_EN_0 0xffc02718 /* MXVR Interrupt Enable Register 0 */ 24 #define MXVR_INT_EN_1 0xffc0271c /* MXVR Interrupt Enable Register 1 */ 25 #define MXVR_POSITION 0xffc02720 /* MXVR Node Position Register */ 26 #define MXVR_MAX_POSITION 0xffc02724 /* MXVR Maximum Node Position Register */ 27 #define MXVR_DELAY 0xffc02728 /* MXVR Node Frame Delay Register */ 28 #define MXVR_MAX_DELAY 0xffc0272c /* MXVR Maximum Node Frame Delay Register */ 29 #define MXVR_LADDR 0xffc02730 /* MXVR Logical Address Register */ 30 #define MXVR_GADDR 0xffc02734 /* MXVR Group Address Register */ 31 #define MXVR_AADDR 0xffc02738 /* MXVR Alternate Address Register */ 32 33 /* MXVR Allocation Table Registers */ 34 35 #define MXVR_ALLOC_0 0xffc0273c /* MXVR Allocation Table Register 0 */ 36 #define MXVR_ALLOC_1 0xffc02740 /* MXVR Allocation Table Register 1 */ 37 #define MXVR_ALLOC_2 0xffc02744 /* MXVR Allocation Table Register 2 */ 38 #define MXVR_ALLOC_3 0xffc02748 /* MXVR Allocation Table Register 3 */ 39 #define MXVR_ALLOC_4 0xffc0274c /* MXVR Allocation Table Register 4 */ 40 #define MXVR_ALLOC_5 0xffc02750 /* MXVR Allocation Table Register 5 */ 41 #define MXVR_ALLOC_6 0xffc02754 /* MXVR Allocation Table Register 6 */ 42 #define MXVR_ALLOC_7 0xffc02758 /* MXVR Allocation Table Register 7 */ 43 #define MXVR_ALLOC_8 0xffc0275c /* MXVR Allocation Table Register 8 */ 44 #define MXVR_ALLOC_9 0xffc02760 /* MXVR Allocation Table Register 9 */ 45 #define MXVR_ALLOC_10 0xffc02764 /* MXVR Allocation Table Register 10 */ 46 #define MXVR_ALLOC_11 0xffc02768 /* MXVR Allocation Table Register 11 */ 47 #define MXVR_ALLOC_12 0xffc0276c /* MXVR Allocation Table Register 12 */ 48 #define MXVR_ALLOC_13 0xffc02770 /* MXVR Allocation Table Register 13 */ 49 #define MXVR_ALLOC_14 0xffc02774 /* MXVR Allocation Table Register 14 */ 50 51 /* MXVR Channel Assign Registers */ 52 53 #define MXVR_SYNC_LCHAN_0 0xffc02778 /* MXVR Sync Data Logical Channel Assign Register 0 */ 54 #define MXVR_SYNC_LCHAN_1 0xffc0277c /* MXVR Sync Data Logical Channel Assign Register 1 */ 55 #define MXVR_SYNC_LCHAN_2 0xffc02780 /* MXVR Sync Data Logical Channel Assign Register 2 */ 56 #define MXVR_SYNC_LCHAN_3 0xffc02784 /* MXVR Sync Data Logical Channel Assign Register 3 */ 57 #define MXVR_SYNC_LCHAN_4 0xffc02788 /* MXVR Sync Data Logical Channel Assign Register 4 */ 58 #define MXVR_SYNC_LCHAN_5 0xffc0278c /* MXVR Sync Data Logical Channel Assign Register 5 */ 59 #define MXVR_SYNC_LCHAN_6 0xffc02790 /* MXVR Sync Data Logical Channel Assign Register 6 */ 60 #define MXVR_SYNC_LCHAN_7 0xffc02794 /* MXVR Sync Data Logical Channel Assign Register 7 */ 61 62 /* MXVR DMA0 Registers */ 63 64 #define MXVR_DMA0_CONFIG 0xffc02798 /* MXVR Sync Data DMA0 Config Register */ 65 #define MXVR_DMA0_START_ADDR 0xffc0279c /* MXVR Sync Data DMA0 Start Address */ 66 #define MXVR_DMA0_COUNT 0xffc027a0 /* MXVR Sync Data DMA0 Loop Count Register */ 67 #define MXVR_DMA0_CURR_ADDR 0xffc027a4 /* MXVR Sync Data DMA0 Current Address */ 68 #define MXVR_DMA0_CURR_COUNT 0xffc027a8 /* MXVR Sync Data DMA0 Current Loop Count */ 69 70 /* MXVR DMA1 Registers */ 71 72 #define MXVR_DMA1_CONFIG 0xffc027ac /* MXVR Sync Data DMA1 Config Register */ 73 #define MXVR_DMA1_START_ADDR 0xffc027b0 /* MXVR Sync Data DMA1 Start Address */ 74 #define MXVR_DMA1_COUNT 0xffc027b4 /* MXVR Sync Data DMA1 Loop Count Register */ 75 #define MXVR_DMA1_CURR_ADDR 0xffc027b8 /* MXVR Sync Data DMA1 Current Address */ 76 #define MXVR_DMA1_CURR_COUNT 0xffc027bc /* MXVR Sync Data DMA1 Current Loop Count */ 77 78 /* MXVR DMA2 Registers */ 79 80 #define MXVR_DMA2_CONFIG 0xffc027c0 /* MXVR Sync Data DMA2 Config Register */ 81 #define MXVR_DMA2_START_ADDR 0xffc027c4 /* MXVR Sync Data DMA2 Start Address */ 82 #define MXVR_DMA2_COUNT 0xffc027c8 /* MXVR Sync Data DMA2 Loop Count Register */ 83 #define MXVR_DMA2_CURR_ADDR 0xffc027cc /* MXVR Sync Data DMA2 Current Address */ 84 #define MXVR_DMA2_CURR_COUNT 0xffc027d0 /* MXVR Sync Data DMA2 Current Loop Count */ 85 86 /* MXVR DMA3 Registers */ 87 88 #define MXVR_DMA3_CONFIG 0xffc027d4 /* MXVR Sync Data DMA3 Config Register */ 89 #define MXVR_DMA3_START_ADDR 0xffc027d8 /* MXVR Sync Data DMA3 Start Address */ 90 #define MXVR_DMA3_COUNT 0xffc027dc /* MXVR Sync Data DMA3 Loop Count Register */ 91 #define MXVR_DMA3_CURR_ADDR 0xffc027e0 /* MXVR Sync Data DMA3 Current Address */ 92 #define MXVR_DMA3_CURR_COUNT 0xffc027e4 /* MXVR Sync Data DMA3 Current Loop Count */ 93 94 /* MXVR DMA4 Registers */ 95 96 #define MXVR_DMA4_CONFIG 0xffc027e8 /* MXVR Sync Data DMA4 Config Register */ 97 #define MXVR_DMA4_START_ADDR 0xffc027ec /* MXVR Sync Data DMA4 Start Address */ 98 #define MXVR_DMA4_COUNT 0xffc027f0 /* MXVR Sync Data DMA4 Loop Count Register */ 99 #define MXVR_DMA4_CURR_ADDR 0xffc027f4 /* MXVR Sync Data DMA4 Current Address */ 100 #define MXVR_DMA4_CURR_COUNT 0xffc027f8 /* MXVR Sync Data DMA4 Current Loop Count */ 101 102 /* MXVR DMA5 Registers */ 103 104 #define MXVR_DMA5_CONFIG 0xffc027fc /* MXVR Sync Data DMA5 Config Register */ 105 #define MXVR_DMA5_START_ADDR 0xffc02800 /* MXVR Sync Data DMA5 Start Address */ 106 #define MXVR_DMA5_COUNT 0xffc02804 /* MXVR Sync Data DMA5 Loop Count Register */ 107 #define MXVR_DMA5_CURR_ADDR 0xffc02808 /* MXVR Sync Data DMA5 Current Address */ 108 #define MXVR_DMA5_CURR_COUNT 0xffc0280c /* MXVR Sync Data DMA5 Current Loop Count */ 109 110 /* MXVR DMA6 Registers */ 111 112 #define MXVR_DMA6_CONFIG 0xffc02810 /* MXVR Sync Data DMA6 Config Register */ 113 #define MXVR_DMA6_START_ADDR 0xffc02814 /* MXVR Sync Data DMA6 Start Address */ 114 #define MXVR_DMA6_COUNT 0xffc02818 /* MXVR Sync Data DMA6 Loop Count Register */ 115 #define MXVR_DMA6_CURR_ADDR 0xffc0281c /* MXVR Sync Data DMA6 Current Address */ 116 #define MXVR_DMA6_CURR_COUNT 0xffc02820 /* MXVR Sync Data DMA6 Current Loop Count */ 117 118 /* MXVR DMA7 Registers */ 119 120 #define MXVR_DMA7_CONFIG 0xffc02824 /* MXVR Sync Data DMA7 Config Register */ 121 #define MXVR_DMA7_START_ADDR 0xffc02828 /* MXVR Sync Data DMA7 Start Address */ 122 #define MXVR_DMA7_COUNT 0xffc0282c /* MXVR Sync Data DMA7 Loop Count Register */ 123 #define MXVR_DMA7_CURR_ADDR 0xffc02830 /* MXVR Sync Data DMA7 Current Address */ 124 #define MXVR_DMA7_CURR_COUNT 0xffc02834 /* MXVR Sync Data DMA7 Current Loop Count */ 125 126 /* MXVR Asynch Packet Registers */ 127 128 #define MXVR_AP_CTL 0xffc02838 /* MXVR Async Packet Control Register */ 129 #define MXVR_APRB_START_ADDR 0xffc0283c /* MXVR Async Packet RX Buffer Start Addr Register */ 130 #define MXVR_APRB_CURR_ADDR 0xffc02840 /* MXVR Async Packet RX Buffer Current Addr Register */ 131 #define MXVR_APTB_START_ADDR 0xffc02844 /* MXVR Async Packet TX Buffer Start Addr Register */ 132 #define MXVR_APTB_CURR_ADDR 0xffc02848 /* MXVR Async Packet TX Buffer Current Addr Register */ 133 134 /* MXVR Control Message Registers */ 135 136 #define MXVR_CM_CTL 0xffc0284c /* MXVR Control Message Control Register */ 137 #define MXVR_CMRB_START_ADDR 0xffc02850 /* MXVR Control Message RX Buffer Start Addr Register */ 138 #define MXVR_CMRB_CURR_ADDR 0xffc02854 /* MXVR Control Message RX Buffer Current Address */ 139 #define MXVR_CMTB_START_ADDR 0xffc02858 /* MXVR Control Message TX Buffer Start Addr Register */ 140 #define MXVR_CMTB_CURR_ADDR 0xffc0285c /* MXVR Control Message TX Buffer Current Address */ 141 142 /* MXVR Remote Read Registers */ 143 144 #define MXVR_RRDB_START_ADDR 0xffc02860 /* MXVR Remote Read Buffer Start Addr Register */ 145 #define MXVR_RRDB_CURR_ADDR 0xffc02864 /* MXVR Remote Read Buffer Current Addr Register */ 146 147 /* MXVR Pattern Data Registers */ 148 149 #define MXVR_PAT_DATA_0 0xffc02868 /* MXVR Pattern Data Register 0 */ 150 #define MXVR_PAT_EN_0 0xffc0286c /* MXVR Pattern Enable Register 0 */ 151 #define MXVR_PAT_DATA_1 0xffc02870 /* MXVR Pattern Data Register 1 */ 152 #define MXVR_PAT_EN_1 0xffc02874 /* MXVR Pattern Enable Register 1 */ 153 154 /* MXVR Frame Counter Registers */ 155 156 #define MXVR_FRAME_CNT_0 0xffc02878 /* MXVR Frame Counter 0 */ 157 #define MXVR_FRAME_CNT_1 0xffc0287c /* MXVR Frame Counter 1 */ 158 159 /* MXVR Routing Table Registers */ 160 161 #define MXVR_ROUTING_0 0xffc02880 /* MXVR Routing Table Register 0 */ 162 #define MXVR_ROUTING_1 0xffc02884 /* MXVR Routing Table Register 1 */ 163 #define MXVR_ROUTING_2 0xffc02888 /* MXVR Routing Table Register 2 */ 164 #define MXVR_ROUTING_3 0xffc0288c /* MXVR Routing Table Register 3 */ 165 #define MXVR_ROUTING_4 0xffc02890 /* MXVR Routing Table Register 4 */ 166 #define MXVR_ROUTING_5 0xffc02894 /* MXVR Routing Table Register 5 */ 167 #define MXVR_ROUTING_6 0xffc02898 /* MXVR Routing Table Register 6 */ 168 #define MXVR_ROUTING_7 0xffc0289c /* MXVR Routing Table Register 7 */ 169 #define MXVR_ROUTING_8 0xffc028a0 /* MXVR Routing Table Register 8 */ 170 #define MXVR_ROUTING_9 0xffc028a4 /* MXVR Routing Table Register 9 */ 171 #define MXVR_ROUTING_10 0xffc028a8 /* MXVR Routing Table Register 10 */ 172 #define MXVR_ROUTING_11 0xffc028ac /* MXVR Routing Table Register 11 */ 173 #define MXVR_ROUTING_12 0xffc028b0 /* MXVR Routing Table Register 12 */ 174 #define MXVR_ROUTING_13 0xffc028b4 /* MXVR Routing Table Register 13 */ 175 #define MXVR_ROUTING_14 0xffc028b8 /* MXVR Routing Table Register 14 */ 176 177 /* MXVR Counter-Clock-Control Registers */ 178 179 #define MXVR_BLOCK_CNT 0xffc028c0 /* MXVR Block Counter */ 180 #define MXVR_CLK_CTL 0xffc028d0 /* MXVR Clock Control Register */ 181 #define MXVR_CDRPLL_CTL 0xffc028d4 /* MXVR Clock/Data Recovery PLL Control Register */ 182 #define MXVR_FMPLL_CTL 0xffc028d8 /* MXVR Frequency Multiply PLL Control Register */ 183 #define MXVR_PIN_CTL 0xffc028dc /* MXVR Pin Control Register */ 184 #define MXVR_SCLK_CNT 0xffc028e0 /* MXVR System Clock Counter Register */ 185 186 #endif /* _DEF_BF549_H */ 187