From cd36c6ce8499a0409184aedbc5276cb62810ffc9 Mon Sep 17 00:00:00 2001
From: neilneil2000 <31366098+neilneil2000@users.noreply.github.com>
Date: Thu, 12 Oct 2017 17:29:43 +0100
Subject: [PATCH] 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
---
arch/arm/boot/dts/overlays/README | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README
index d4eeeae10671..011b2c696df7 100644
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -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,=
Params: gpiopin GPIO for signalling (default 26)
--
2.30.2