Skip to content

Commit 7f47540

Browse files
neilneil2000popcornmix
authored andcommitted
GPIO and gpio-poweroff clarifications
Notes added: 1) All GPIO references use the hardware numbering scheme 2) Enabling gpio-poweroff prevents the ability to boot the pi by driving GPIO3 low
1 parent fa98eeb commit 7f47540

File tree

1 file changed

+5
-1
lines changed
  • arch/arm/boot/dts/overlays

1 file changed

+5
-1
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ needed.
3333
Configuring additional, optional hardware is done using Device Tree overlays
3434
(see below).
3535

36+
GPIO numbering uses the hardware pin numbering scheme (aka BCM scheme) and
37+
not the physical pin numbers.
38+
3639
raspi-config
3740
============
3841

@@ -496,7 +499,8 @@ Params: gpio_pin Input pin number. Default is 18.
496499

497500

498501
Name: gpio-poweroff
499-
Info: Drives a GPIO high or low on poweroff (including halt)
502+
Info: Drives a GPIO high or low on poweroff (including halt). Enabling this
503+
overlay will prevent the ability to boot by driving GPIO3 low.
500504
Load: dtoverlay=gpio-poweroff,<param>=<val>
501505
Params: gpiopin GPIO for signalling (default 26)
502506

0 commit comments

Comments
 (0)