GPIO and gpio-poweroff clarifications
authorneilneil2000 <31366098+neilneil2000@users.noreply.github.com>
Thu, 12 Oct 2017 16:29:43 +0000 (17:29 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:57:22 +0000 (15:57 +0100)
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

arch/arm/boot/dts/overlays/README

index d4eeeae10671ddfb43c86c1317cea65688905d9f..011b2c696df709dadddc62e7001737bd9bb134fd 100644 (file)
@@ -33,6 +33,9 @@ needed.
 Configuring additional, optional hardware is done using Device Tree overlays
 (see below).
 
+GPIO numbering uses the hardware pin numbering scheme (aka BCM scheme) and 
+not the physical pin numbers.
+
 raspi-config
 ============
 
@@ -496,7 +499,8 @@ Params: gpio_pin                Input pin number. Default is 18.
 
 
 Name:   gpio-poweroff
-Info:   Drives a GPIO high or low on poweroff (including halt)
+Info:   Drives a GPIO high or low on poweroff (including halt). Enabling this
+        overlay will prevent the ability to boot by driving GPIO3 low.
 Load:   dtoverlay=gpio-poweroff,<param>=<val>
 Params: gpiopin                 GPIO for signalling (default 26)