# SPDX-License-Identifier: GPL-2.0-or-later

set _CHIPNAME bcm6348
set _CPUID 0x0634817f

adapter speed 1000

jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUID

set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME
