This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface bcm2835gpio | |
# hexdump -s4 -n4 -e '\"0x\" 4/1 \"%02X\"\"\\n\"\" \"' /proc/device-tree/soc/ranges | |
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 | |
bcm2835gpio_speed_coeffs 146203 36 |