1 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Ethernut 3 board configuration file
6 # http://www.ethernut.de/en/hardware/enut3/
9 # AT91R40008-66AU ARM7TDMI Microcontroller
11 source [find target/at91r40008.cfg]
14 # AT49BV322A-70TU NOR Flash
15 # 2M x 16 mode at address 0x10000000
16 # Common flash interface supported
18 set _FLASHNAME $_CHIPNAME.flash
19 flash bank $_FLASHNAME cfi 0x10000000 0x400000 2 2 $_TARGETNAME
22 # Micrel MIC2775-29YM5 Supervisor
23 # Reset output will remain active for 280ms (maximum)
25 adapter srst delay 300
29 arm7_9 fast_memory_access enable
30 arm7_9 dcc_downloads enable
36 $_TARGETNAME configure -event reset-init { board_init }
38 # Initialize board hardware
47 proc board_remap {{VERBOSE 0}} {
53 mww 0xffe00000 0x1000212d
55 # CS1: Ethernet controller
61 mww 0xffe00004 0x20003025
68 mww 0xffe00008 0x21002026
75 mww 0xffe00010 0x22002e3e
79 mww 0xffe00020 0x00000001
83 echo "0x10000000 Flash"
84 echo "0x20000000 Ethernet"
85 echo "0x21000000 CPLD"
86 echo "0x22000000 Expansion"