@@ -301,26 +301,26 @@ Setup the interrupt parent and interrupt as MCU_GPIO0,
301301
302302.. code-block :: dts
303303
304- interrupt-parent = <&mcu_gpio0>;
305- interrupts = <16 IRQ_TYPE_EDGE_RISING>;
304+ interrupt-parent = <&mcu_gpio0>;
305+ interrupts = <4 IRQ_TYPE_EDGE_RISING>;
306306
307307 Now, under the switch node we add the following:
308308
309309.. code-block :: dts
310310
311- switch {
312- label = "MCUGPIO";
313- linux,code = <143>;
314- gpios = <&mcu_gpio0 16 GPIO_ACTIVE_LOW>;
315- wakeup-source;
316- };
311+ switch {
312+ label = "MCUGPIO";
313+ linux,code = <143>;
314+ gpios = <&mcu_gpio0 4 GPIO_ACTIVE_LOW>;
315+ wakeup-source;
316+ };
317317
318318 #. The label is the descriptive name of the key. The string will reflect under /proc/interrupts as:
319319
320320 .. code-block :: console
321321
322- root@<machine>:~# cat /proc/interrupts | grep "MCUGPIO"
323- 262 : 0 0 0 0 GPIO 16 Edge -davinci_gpio MCUGPIO
322+ root@<machine>:~# cat /proc/interrupts | grep "MCUGPIO"
323+ 273 : 0 0 0 0 GPIO 4 Edge -davinci_gpio MCUGPIO
324324
325325 #. linux,code: Keycode to emit.
326326#. gpios: the gpio required to be used as the gpio-key.
@@ -340,8 +340,8 @@ MCU GPIO wakeup can only be tested when
340340overlay is loaded. Please refer to :ref: `How to enable DT overlays<howto_dt_overlays> ` for more details.
341341
342342Once the system has entered Deep Sleep or MCU Only mode as shown in the
343- :ref: `LPM section<lpm_modes> `, wakeup from MCU GPIO0_16 can be triggered
344- by grounding Pin 11 on J8 MCU Header.
343+ :ref: `LPM section<lpm_modes> `, wakeup from MCU_SPI0_D1 can be triggered
344+ by grounding Pin 4 on J8 MCU Header.
345345
346346********************
347347Main I/O Daisy Chain
0 commit comments