1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # This is the Broadcom chip used in the Raspberry Pi Model A, B, B+,
4 # the Compute Module, and the Raspberry Pi Zero.
6 # Partial information is available in raspberry pi website:
7 # https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835
9 if { [info exists CHIPNAME] } {
10 set _CHIPNAME $CHIPNAME
15 if { [info exists DAP_TAPID] } {
16 set _DAP_TAPID $DAP_TAPID
18 set _DAP_TAPID 0x07b7617F
21 jtag newtap $_CHIPNAME cpu -expected-id $_DAP_TAPID -irlen 5
24 target create $_CHIPNAME.cpu0 arm11 -chain-position $_CHIPNAME.cpu