Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: bcm2712-rpi: The SoC gpiochips start at 10
Make the BCM2712's onboard GPIOs start at gpiochip10, marking them out as system resources and preventing accidental use by existing Pi 5 code. Signed-off-by: Phil Elwell <[email protected]>
- Loading branch information
90fc433
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is "gpiochip10 = &gio;" right? Or should that be "gpiochip10 = &gpio;" ?
90fc433
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice that you've got my back, but it is actually correct.
gio
is the label on the main SoC GPIO controller -gpio
is the controller for the GPIOs on the 40-pin header.