Skip to content

Commit 47730ae

Browse files
committed
docs(linux): Power_Management: Fix MCU GPIO wakeup pin
The MCU GPIO wakeup pin was incorrect in the documentation. Updated to specify the correct pin. Signed-off-by: Kendall Willis <[email protected]>
1 parent 36568aa commit 47730ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/linux/Foundational_Components/Power_Management/pm_wakeup_sources.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Setup the interrupt parent and interrupt as MCU_GPIO0,
204204
.. code-block:: dts
205205
206206
interrupt-parent = <&mcu_gpio0>;
207-
interrupts = <16 IRQ_TYPE_EDGE_RISING>;
207+
interrupts = <4 IRQ_TYPE_EDGE_RISING>;
208208
209209
Now, under the switch node we add the following:
210210

@@ -213,7 +213,7 @@ Now, under the switch node we add the following:
213213
switch {
214214
label = "MCUGPIO";
215215
linux,code = <143>;
216-
gpios = <&mcu_gpio0 16 GPIO_ACTIVE_LOW>;
216+
gpios = <&mcu_gpio0 4 GPIO_ACTIVE_LOW>;
217217
wakeup-source;
218218
};
219219
@@ -222,7 +222,7 @@ Now, under the switch node we add the following:
222222
.. code-block:: console
223223
224224
root@<machine>:~# cat /proc/interrupts | grep "MCUGPIO"
225-
262: 0 0 0 0 GPIO 16 Edge -davinci_gpio MCUGPIO
225+
273: 0 0 0 0 GPIO 4 Edge -davinci_gpio MCUGPIO
226226
227227
#. linux,code: Keycode to emit.
228228
#. gpios: the gpio required to be used as the gpio-key.
@@ -242,8 +242,8 @@ MCU GPIO wakeup can only be tested when
242242
overlay is loaded. Please refer to :ref:`How to enable DT overlays<howto_dt_overlays>` for more details.
243243

244244
Once the system has entered Deep Sleep or MCU Only mode as shown in the
245-
:ref:`LPM section<lpm_modes>`, wakeup from MCU GPIO0_16 can be triggered
246-
by grounding Pin 11 on J8 MCU Header.
245+
:ref:`LPM section<lpm_modes>`, wakeup from MCU_SPI0_D1 can be triggered
246+
by grounding Pin 4 on J8 MCU Header.
247247

248248
********************
249249
Main I/O Daisy Chain

0 commit comments

Comments
 (0)