aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/bcm2835.cfg
blob: 32a03666c424c2168e418c42b40c19dae1b5dfcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SPDX-License-Identifier: GPL-2.0-or-later

# This is the Broadcom chip used in the Raspberry Pi Model A, B, B+,
# the Compute Module, and the Raspberry Pi Zero.

# Partial information is available in raspberry pi website:
# https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835

if { [info exists CHIPNAME] } {
	set  _CHIPNAME $CHIPNAME
} else {
	set  _CHIPNAME bcm2835
}

if { [info exists DAP_TAPID] } {
	set _DAP_TAPID $DAP_TAPID
} else {
	set _DAP_TAPID 0x07b7617F
}

jtag newtap $_CHIPNAME cpu -expected-id $_DAP_TAPID -irlen 5
adapter speed 4000

target create $_CHIPNAME.cpu0 arm11 -chain-position $_CHIPNAME.cpu