aboutsummaryrefslogtreecommitdiff
path: root/tcl/interface/raspberrypi-native.cfg
diff options
context:
space:
mode:
authorChristoph Pittracher <pitt@segfault.info>2015-06-04 09:25:10 +0200
committerSpencer Oliver <spen@spen-soft.co.uk>2015-08-06 13:16:02 +0100
commite3f8db54e67b503011f624db490964dba9399597 (patch)
tree008e6243913efeb9a09d049ec2d2466547ed0acb /tcl/interface/raspberrypi-native.cfg
parent33d220d10a069be34095313f51ae22052a079b34 (diff)
bcm2835gpio: Add SWD support, Raspberry Pi 2 support.
Added support for SWD transport similar to sysfsgpio driver. Added configurable peripheral base address to support Raspberry Pi 2. Change-Id: If76d45fbe74ce49f1f22af72e5f246e973237e04 Signed-off-by: Christoph Pittracher <pitt@segfault.info> Reviewed-on: http://openocd.zylin.com/2802 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/interface/raspberrypi-native.cfg')
-rw-r--r--tcl/interface/raspberrypi-native.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcl/interface/raspberrypi-native.cfg b/tcl/interface/raspberrypi-native.cfg
index 058d80bf..6b73f354 100644
--- a/tcl/interface/raspberrypi-native.cfg
+++ b/tcl/interface/raspberrypi-native.cfg
@@ -10,6 +10,8 @@
interface bcm2835gpio
+bcm2835gpio_peripheral_base 0x20000000
+
# Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
# These depend on system clock, calibrated for stock 700MHz
# bcm2835gpio_speed SPEED_COEFF SPEED_OFFSET