Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 1 | nvic: IRQControllers.NVIC @ sysbus 0xE000E000 |
| 2 | systickFrequency: 120000000 |
| 3 | IRQ -> cpu@0 |
| 4 | |
| 5 | cpu: CPU.CortexM @ sysbus |
Nikodem Rabuliński | a7e2f4c | 2024-01-07 22:37:08 +0100 | [diff] [blame] | 6 | cpuType: "cortex-m4f" |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 7 | nvic: nvic |
| 8 | |
| 9 | code_flash: Memory.MappedMemory @ sysbus 0x0 |
| 10 | size: 0x40000 |
| 11 | |
| 12 | data_flash: Memory.MappedMemory @ sysbus 0x40100000 |
| 13 | size: 0x2000 |
| 14 | |
| 15 | sram: Memory.MappedMemory @ sysbus 0x20000000 |
| 16 | size: 0x8000 |
| 17 | |
Marcin Witkowski | d821973 | 2023-12-13 14:40:07 +0100 | [diff] [blame] | 18 | icu: IRQControllers.RenesasRA_ICU @ sysbus 0x40006000 |
| 19 | nvic: nvic |
| 20 | |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 21 | gpt: Timers.RenesasRA_GPT @ sysbus 0x40078000 |
| 22 | numberOf32BitChannels: 2 |
| 23 | numberOf16BitChannels: 6 |
| 24 | commonRegistersOffset: 0xff0 |
Nikodem Rabuliński | a7e2f4c | 2024-01-07 22:37:08 +0100 | [diff] [blame] | 25 | peripheralClockDFrequency: 24000000 |
Nikodem Rabuliński | f548caf | 2024-01-07 22:37:59 +0100 | [diff] [blame] | 26 | [0x00-0x07] -> icu@[0x57-0x5E] |
| 27 | // GPT0_PC is not connected |
| 28 | [0x09-0x10] -> icu@[0x5F-0x66] |
| 29 | // GPT1_PC is not connected |
| 30 | [0x12-0x19] -> icu@[0x67-0x6E] |
| 31 | // GPT2_PC is not connected |
| 32 | [0x1B-0x22] -> icu@[0x6F-0x76] |
| 33 | // GPT3_PC is not connected |
| 34 | [0x24-0x2B] -> icu@[0x77-0x7E] |
| 35 | // GPT4_PC is not connected |
| 36 | [0x2D-0x34] -> icu@[0x7F-0x86] |
| 37 | // GPT5_PC is not connected |
| 38 | [0x36-0x3D] -> icu@[0x87-0x8E] |
| 39 | // GPT6_PC is not connected |
| 40 | [0x3F-0x46] -> icu@[0x8F-0x96] |
| 41 | // GPT7_PC is not connected |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 42 | |
Wojciech Meller | 5763a5b | 2023-12-13 17:01:58 +0100 | [diff] [blame] | 43 | agt0: Timers.RenesasRA_AGT @ sysbus 0x40084000 |
| 44 | lowSpeedOnChipOscillatorFrequency: 32768 |
| 45 | subClockOscillatorFrequency: 32768 |
| 46 | peripheralClockBFrequency: 32000000 |
| 47 | IRQ -> icu@0x01E |
| 48 | CompareMatchA -> icu@0x01F |
| 49 | CompareMatchB -> icu@0x020 |
| 50 | |
| 51 | agt1: Timers.RenesasRA_AGT @ sysbus 0x40084100 |
| 52 | lowSpeedOnChipOscillatorFrequency: 32768 |
| 53 | subClockOscillatorFrequency: 32768 |
| 54 | peripheralClockBFrequency: 32000000 |
| 55 | IRQ -> icu@0x021 |
| 56 | CompareMatchA -> icu@0x022 |
| 57 | CompareMatchB -> icu@0x023 |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 58 | |
Michał Szprejda | cf6057f | 2024-01-22 12:44:14 +0100 | [diff] [blame] | 59 | sci0: SCI.RenesasRA6M5_SCI @ sysbus 0x40070000 |
| 60 | frequency: 50000000 |
| 61 | enableManchesterMode: false |
| 62 | enableFIFO: true |
Jakub Jatczak | 93979ec | 2024-02-05 13:53:22 +0100 | [diff] [blame] | 63 | fullModel: false |
Michał Szprejda | cf6057f | 2024-01-22 12:44:14 +0100 | [diff] [blame] | 64 | ReceiveIRQ -> icu@0x98 |
| 65 | TransmitIRQ -> icu@0x99 |
| 66 | TransmitEndIRQ -> icu@0x9A |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 67 | |
Michał Szprejda | cf6057f | 2024-01-22 12:44:14 +0100 | [diff] [blame] | 68 | sci1: SCI.RenesasRA6M5_SCI @ sysbus 0x40070020 |
| 69 | frequency: 50000000 |
| 70 | enableManchesterMode: false |
| 71 | enableFIFO: true |
Jakub Jatczak | 93979ec | 2024-02-05 13:53:22 +0100 | [diff] [blame] | 72 | fullModel: false |
Michał Szprejda | cf6057f | 2024-01-22 12:44:14 +0100 | [diff] [blame] | 73 | ReceiveIRQ -> icu@0x9E |
| 74 | TransmitIRQ -> icu@0x9F |
| 75 | TransmitEndIRQ -> icu@0xA0 |
| 76 | |
| 77 | sci2: SCI.RenesasRA6M5_SCI @ sysbus 0x40070040 |
| 78 | frequency: 50000000 |
| 79 | enableManchesterMode: false |
| 80 | enableFIFO: false |
Jakub Jatczak | 93979ec | 2024-02-05 13:53:22 +0100 | [diff] [blame] | 81 | fullModel: false |
Michał Szprejda | cf6057f | 2024-01-22 12:44:14 +0100 | [diff] [blame] | 82 | ReceiveIRQ -> icu@0xA3 |
| 83 | TransmitIRQ -> icu@0xA4 |
| 84 | TransmitEndIRQ -> icu@0xA5 |
| 85 | |
| 86 | sci9: SCI.RenesasRA6M5_SCI @ sysbus 0x40070120 |
| 87 | frequency: 50000000 |
| 88 | enableManchesterMode: false |
| 89 | enableFIFO: false |
Jakub Jatczak | 93979ec | 2024-02-05 13:53:22 +0100 | [diff] [blame] | 90 | fullModel: false |
Michał Szprejda | cf6057f | 2024-01-22 12:44:14 +0100 | [diff] [blame] | 91 | ReceiveIRQ -> icu@0xA8 |
| 92 | TransmitIRQ -> icu@0xA9 |
| 93 | TransmitEndIRQ -> icu@0xAA |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 94 | |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 95 | portMisc: GPIOPort.RenesasRA_GPIOMisc @ sysbus 0x40040D00 |
| 96 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 97 | port0: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 98 | sysbus 0x40040000; |
| 99 | sysbus new Bus.BusMultiRegistration { address: 0x40040800; size: 0x40; region: "pinConfiguration" } |
| 100 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 101 | portNumber: 0x0 |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 102 | numberOfConnections: 15 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 103 | pfsMisc: portMisc |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 104 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 105 | IRQ0 -> icu@1 |
| 106 | IRQ1 -> icu@2 |
| 107 | IRQ2 -> icu@3 |
| 108 | IRQ3 -> icu@4 |
| 109 | IRQ4 -> icu@5 |
| 110 | IRQ5 -> icu@6 |
| 111 | IRQ6 -> icu@7 |
| 112 | IRQ7 -> icu@8 |
| 113 | IRQ8 -> icu@9 |
| 114 | IRQ9 -> icu@10 |
| 115 | IRQ10 -> icu@11 |
| 116 | IRQ11 -> icu@12 |
| 117 | IRQ12 -> icu@13 |
| 118 | IRQ13 -> icu@14 |
| 119 | IRQ14 -> icu@15 |
| 120 | IRQ15 -> icu@16 |
| 121 | |
| 122 | port1: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 123 | sysbus 0x40040020; |
| 124 | sysbus new Bus.BusMultiRegistration { address: 0x40040840; size: 0x40; region: "pinConfiguration" } |
| 125 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 126 | portNumber: 0x1 |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 127 | numberOfConnections: 16 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 128 | pfsMisc: portMisc |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 129 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 130 | IRQ0 -> icu@1 |
| 131 | IRQ1 -> icu@2 |
| 132 | IRQ2 -> icu@3 |
| 133 | IRQ3 -> icu@4 |
| 134 | IRQ4 -> icu@5 |
| 135 | IRQ5 -> icu@6 |
| 136 | IRQ6 -> icu@7 |
| 137 | IRQ7 -> icu@8 |
| 138 | IRQ8 -> icu@9 |
| 139 | IRQ9 -> icu@10 |
| 140 | IRQ10 -> icu@11 |
| 141 | IRQ11 -> icu@12 |
| 142 | IRQ12 -> icu@13 |
| 143 | IRQ13 -> icu@14 |
| 144 | IRQ14 -> icu@15 |
| 145 | IRQ15 -> icu@16 |
| 146 | |
| 147 | port2: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 148 | sysbus 0x40040040; |
| 149 | sysbus new Bus.BusMultiRegistration { address: 0x40040880; size: 0x40; region: "pinConfiguration" } |
| 150 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 151 | portNumber: 0x2 |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 152 | numberOfConnections: 11 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 153 | pfsMisc: portMisc |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 154 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 155 | IRQ0 -> icu@1 |
| 156 | IRQ1 -> icu@2 |
| 157 | IRQ2 -> icu@3 |
| 158 | IRQ3 -> icu@4 |
| 159 | IRQ4 -> icu@5 |
| 160 | IRQ5 -> icu@6 |
| 161 | IRQ6 -> icu@7 |
| 162 | IRQ7 -> icu@8 |
| 163 | IRQ8 -> icu@9 |
| 164 | IRQ9 -> icu@10 |
| 165 | IRQ10 -> icu@11 |
| 166 | IRQ11 -> icu@12 |
| 167 | IRQ12 -> icu@13 |
| 168 | IRQ13 -> icu@14 |
| 169 | IRQ14 -> icu@15 |
| 170 | IRQ15 -> icu@16 |
| 171 | |
| 172 | port3: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 173 | sysbus 0x40040060; |
| 174 | sysbus new Bus.BusMultiRegistration { address: 0x400408C0; size: 0x40; region: "pinConfiguration" } |
| 175 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 176 | portNumber: 0x3 |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 177 | numberOfConnections: 8 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 178 | pfsMisc: portMisc |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 179 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 180 | IRQ0 -> icu@1 |
| 181 | IRQ1 -> icu@2 |
| 182 | IRQ2 -> icu@3 |
| 183 | IRQ3 -> icu@4 |
| 184 | IRQ4 -> icu@5 |
| 185 | IRQ5 -> icu@6 |
| 186 | IRQ6 -> icu@7 |
| 187 | IRQ7 -> icu@8 |
| 188 | IRQ8 -> icu@9 |
| 189 | IRQ9 -> icu@10 |
| 190 | IRQ10 -> icu@11 |
| 191 | IRQ11 -> icu@12 |
| 192 | IRQ12 -> icu@13 |
| 193 | IRQ13 -> icu@14 |
| 194 | IRQ14 -> icu@15 |
| 195 | IRQ15 -> icu@16 |
| 196 | |
| 197 | port4: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 198 | sysbus 0x40040080; |
| 199 | sysbus new Bus.BusMultiRegistration { address: 0x40040900; size: 0x40; region: "pinConfiguration" } |
| 200 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 201 | portNumber: 0x4 |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 202 | numberOfConnections: 16 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 203 | pfsMisc: portMisc |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 204 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 205 | IRQ0 -> icu@1 |
| 206 | IRQ1 -> icu@2 |
| 207 | IRQ2 -> icu@3 |
| 208 | IRQ3 -> icu@4 |
| 209 | IRQ4 -> icu@5 |
| 210 | IRQ5 -> icu@6 |
| 211 | IRQ6 -> icu@7 |
| 212 | IRQ7 -> icu@8 |
| 213 | IRQ8 -> icu@9 |
| 214 | IRQ9 -> icu@10 |
| 215 | IRQ10 -> icu@11 |
| 216 | IRQ11 -> icu@12 |
| 217 | IRQ12 -> icu@13 |
| 218 | IRQ13 -> icu@14 |
| 219 | IRQ14 -> icu@15 |
| 220 | IRQ15 -> icu@16 |
| 221 | |
| 222 | port5: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 223 | sysbus 0x400400A0; |
| 224 | sysbus new Bus.BusMultiRegistration { address: 0x40040940; size: 0x40; region: "pinConfiguration" } |
| 225 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 226 | portNumber: 0x5 |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 227 | numberOfConnections: 6 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 228 | pfsMisc: portMisc |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 229 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 230 | IRQ0 -> icu@1 |
| 231 | IRQ1 -> icu@2 |
| 232 | IRQ2 -> icu@3 |
| 233 | IRQ3 -> icu@4 |
| 234 | IRQ4 -> icu@5 |
| 235 | IRQ5 -> icu@6 |
| 236 | IRQ6 -> icu@7 |
| 237 | IRQ7 -> icu@8 |
| 238 | IRQ8 -> icu@9 |
| 239 | IRQ9 -> icu@10 |
| 240 | IRQ10 -> icu@11 |
| 241 | IRQ11 -> icu@12 |
| 242 | IRQ12 -> icu@13 |
| 243 | IRQ13 -> icu@14 |
| 244 | IRQ14 -> icu@15 |
| 245 | IRQ15 -> icu@16 |
| 246 | |
| 247 | port6: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 248 | sysbus 0x400400C0; |
| 249 | sysbus new Bus.BusMultiRegistration { address: 0x40040980; size: 0x40; region: "pinConfiguration" } |
| 250 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 251 | portNumber: 0x6 |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 252 | numberOfConnections: 7 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 253 | pfsMisc: portMisc |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 254 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 255 | IRQ0 -> icu@1 |
| 256 | IRQ1 -> icu@2 |
| 257 | IRQ2 -> icu@3 |
| 258 | IRQ3 -> icu@4 |
| 259 | IRQ4 -> icu@5 |
| 260 | IRQ5 -> icu@6 |
| 261 | IRQ6 -> icu@7 |
| 262 | IRQ7 -> icu@8 |
| 263 | IRQ8 -> icu@9 |
| 264 | IRQ9 -> icu@10 |
| 265 | IRQ10 -> icu@11 |
| 266 | IRQ11 -> icu@12 |
| 267 | IRQ12 -> icu@13 |
| 268 | IRQ13 -> icu@14 |
| 269 | IRQ14 -> icu@15 |
| 270 | IRQ15 -> icu@16 |
| 271 | |
| 272 | port7: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 273 | sysbus 0x400400E0; |
| 274 | sysbus new Bus.BusMultiRegistration { address: 0x400409C0; size: 0x40; region: "pinConfiguration" } |
| 275 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 276 | portNumber: 0x7 |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 277 | numberOfConnections: 1 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 278 | pfsMisc: portMisc |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 279 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 280 | IRQ0 -> icu@1 |
| 281 | IRQ1 -> icu@2 |
| 282 | IRQ2 -> icu@3 |
| 283 | IRQ3 -> icu@4 |
| 284 | IRQ4 -> icu@5 |
| 285 | IRQ5 -> icu@6 |
| 286 | IRQ6 -> icu@7 |
| 287 | IRQ7 -> icu@8 |
| 288 | IRQ8 -> icu@9 |
| 289 | IRQ9 -> icu@10 |
| 290 | IRQ10 -> icu@11 |
| 291 | IRQ11 -> icu@12 |
| 292 | IRQ12 -> icu@13 |
| 293 | IRQ13 -> icu@14 |
| 294 | IRQ14 -> icu@15 |
| 295 | IRQ15 -> icu@16 |
| 296 | |
| 297 | port8: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 298 | sysbus 0x40040100; |
| 299 | sysbus new Bus.BusMultiRegistration { address: 0x40040A00; size: 0x40; region: "pinConfiguration" } |
| 300 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 301 | portNumber: 0x8 |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 302 | numberOfConnections: 2 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 303 | pfsMisc: portMisc |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 304 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 305 | IRQ0 -> icu@1 |
| 306 | IRQ1 -> icu@2 |
| 307 | IRQ2 -> icu@3 |
| 308 | IRQ3 -> icu@4 |
| 309 | IRQ4 -> icu@5 |
| 310 | IRQ5 -> icu@6 |
| 311 | IRQ6 -> icu@7 |
| 312 | IRQ7 -> icu@8 |
| 313 | IRQ8 -> icu@9 |
| 314 | IRQ9 -> icu@10 |
| 315 | IRQ10 -> icu@11 |
| 316 | IRQ11 -> icu@12 |
| 317 | IRQ12 -> icu@13 |
| 318 | IRQ13 -> icu@14 |
| 319 | IRQ14 -> icu@15 |
| 320 | IRQ15 -> icu@16 |
| 321 | |
| 322 | port9: GPIOPort.RenesasRA4_GPIO @ { |
Wojciech Meller | e497d49 | 2023-12-18 15:50:48 +0100 | [diff] [blame] | 323 | sysbus 0x40040120; |
| 324 | sysbus new Bus.BusMultiRegistration { address: 0x40040A40; size: 0x40; region: "pinConfiguration" } |
| 325 | } |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 326 | portNumber: 0x9 |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 327 | numberOfConnections: 2 |
Marcin Witkowski | 8554b3d | 2023-12-29 16:34:08 +0100 | [diff] [blame] | 328 | pfsMisc: portMisc |
Marcin Witkowski | bd99dbc | 2023-12-13 15:50:41 +0100 | [diff] [blame] | 329 | |
Marcin Witkowski | c26a01f | 2024-02-07 16:44:41 +0100 | [diff] [blame] | 330 | IRQ0 -> icu@1 |
| 331 | IRQ1 -> icu@2 |
| 332 | IRQ2 -> icu@3 |
| 333 | IRQ3 -> icu@4 |
| 334 | IRQ4 -> icu@5 |
| 335 | IRQ5 -> icu@6 |
| 336 | IRQ6 -> icu@7 |
| 337 | IRQ7 -> icu@8 |
| 338 | IRQ8 -> icu@9 |
| 339 | IRQ9 -> icu@10 |
| 340 | IRQ10 -> icu@11 |
| 341 | IRQ11 -> icu@12 |
| 342 | IRQ12 -> icu@13 |
| 343 | IRQ13 -> icu@14 |
| 344 | IRQ14 -> icu@15 |
| 345 | IRQ15 -> icu@16 |
| 346 | |
Nikodem Rabuliński | a7e2f4c | 2024-01-07 22:37:08 +0100 | [diff] [blame] | 347 | sysc_oscsf: Python.PythonPeripheral @ sysbus 0x4001E03C |
| 348 | size: 0x4 |
| 349 | initable: true |
| 350 | script: "request.value = 0xFF" |
| 351 | |
| 352 | sysc_vbtsr: Python.PythonPeripheral @ sysbus 0x4001E4B1 |
| 353 | size: 0x4 |
| 354 | initable: true |
| 355 | script: "request.value = 0x10" |
| 356 | |
Jan Malek | 1568d70 | 2024-05-06 10:19:45 +0200 | [diff] [blame] | 357 | iic0: I2C.RenesasRA_IIC @ sysbus 0x40053000 |
| 358 | ReceiveIRQ -> icu@0x035 |
| 359 | TransmitIRQ -> icu@0x036 |
| 360 | TransmitEndIRQ -> icu@0x037 |
| 361 | ErrorOrEventIRQ -> icu@0x038 |
| 362 | |
| 363 | iic1: I2C.RenesasRA_IIC @ sysbus 0x40053100 |
| 364 | ReceiveIRQ -> icu@0x03A |
| 365 | TransmitIRQ -> icu@0x03B |
| 366 | TransmitEndIRQ -> icu@0x03C |
| 367 | ErrorOrEventIRQ -> icu@0x03D |
| 368 | |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 369 | sysbus: |
| 370 | init: |
Michał Szprejda | cf6057f | 2024-01-22 12:44:14 +0100 | [diff] [blame] | 371 | Tag <0x4001e03c 0x4> "SYSTEM_STATUS_REGISTER" 0xFF |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 372 | Tag <0x40003000,0x4000486b> "BUS" // BUS Control |
| 373 | Tag <0x40044600,0x4004460f> "CAC" // Clock Frequency Accuracy Measurement Circuit |
| 374 | Tag <0x40050000,0x40050877> "CAN0" // CAN0 Module |
| 375 | Tag <0x4001b000,0x4001b027> "DBG" // Debug Function |
| 376 | Tag <0x40074000,0x4007400f> "CRC" // CRC Calculator |
| 377 | Tag <0x40081000,0x40081033> "CTSU" // Capacitive Touch Sensing Unit |
| 378 | Tag <0x4005e000,0x4005e00b> "DAC12" // 12-bit D/A converter |
| 379 | Tag <0x4009e000,0x4009e007> "DAC8" // 8-bit D/A converter |
| 380 | Tag <0x40005000,0x4000501f> "DMAC0" // Direct memory access controller 0 |
| 381 | Tag <0x40005200,0x40005203> "DMA" // DMAC Module Activation |
| 382 | Tag <0x40054100,0x40054107> "DOC" // Data Operation Circuit |
| 383 | Tag <0x40005400,0x40005413> "DTC" // Data Transfer Controller |
| 384 | Tag <0x40041000,0x4004106b> "ELC" // Event Link Controller |
| 385 | Tag <0x4001c000,0x4001c11f> "FCACHE" // Flash Cache |
| 386 | Tag <0x40040800,0x40040a83> "PFS" // Pmn Pin Function Control Register |
| 387 | Tag <0x40040d00,0x40040d07> "PMISC" // Miscellaneous Port Control Register |
Wojciech Meller | c662e91 | 2023-12-08 14:39:48 +0100 | [diff] [blame] | 388 | Tag <0x40044400,0x40044407> "IWDT" // Independent Watchdog Timer |
| 389 | Tag <0x40080000,0x4008000b> "KINT" // Key Interrupt Function |
| 390 | Tag <0x40047000,0x40047013> "MSTP" // Module Stop Control B,C,D |
| 391 | Tag <0x40000000,0x4000045f> "MMPU" // Bus Master MPU |
| 392 | Tag <0x40000c00,0x40000c3b> "SMPU" // Bus Slave MPU |
| 393 | Tag <0x40000d00,0x40000d27> "SPMON" // CPU Stack Pointer Monitor |
| 394 | Tag <0x40086000,0x4008600f> "OPAMP" // OperationalAmplifier |
| 395 | Tag <0x40042000,0x40042513> "POEG" // Port Output Enable Module for GPT |
| 396 | Tag <0x40002000,0x400020db> "SRAM" // SRAM Control |
| 397 | Tag <0x40044000,0x400440a7> "RTC" // Realtime Clock |
| 398 | Tag <0x40082000,0x4008213b> "SLCDC" // Segment LCD Controller/Driver |
| 399 | Tag <0x40072000,0x4007201b> "SPI0" // Serial Peripheral Interface 0 |
| 400 | Tag <0x40072100,0x4007211b> "SPI1" // Serial Peripheral Interface 1 |
| 401 | Tag <0x4004e000,0x4004e037> "SSIE0" // Serial Sound Interface Ver.2.0 |
| 402 | Tag <0x407ec000,0x407ec22b> "TSN" // Temperature Sensor |
| 403 | Tag <0x40090000,0x400900e3> "USBFS" // USB 2.0 FS Module |
| 404 | Tag <0x40044200,0x4004420b> "WDT" // Watchdog Timer |
| 405 | Tag <0x40085e00,0x40085e07> "ACMPLP" // Low-Power Analog Comparator |
| 406 | Tag <0x4005c000,0x4005c1e3> "ADC140" // 14bit A/D Converter |