Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3556

Bare metal, Assembly language • RPi 5 always-on GPIO (bcm2712 gio_aon) control registers

$
0
0
I'm making a simple blink bare-metal example program for the Pi 5, and I wanted to blink the on-board green (ACT) led.

According to the linux kernel files, the ACT led is connected to GPIO 9 of gio_aon, which I assume is the BCM2712's always-on GPIO (https://github.com/raspberrypi/linux/bl ... -b.dts#L73).

Now, I'm not sure how to control it - what is the base address of the always-on GPIO (is it documented somewhere)? Is it 0x7d517c00 (https://github.com/raspberrypi/linux/bl ... .dtsi#L626)? And what registers & bits shall one set in order to control it? (set pin to output mode, turn pin on, turn pin off)?

Thanks!

Statistics: Posted by iCMD — Sun Oct 27, 2024 6:31 am



Viewing all articles
Browse latest Browse all 3556

Trending Articles