diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2023-03-15 11:08:50 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2023-03-15 15:36:24 +0100 |
commit | 1ac0deada075cbb2cf57cab6b131b4ece19d431f (patch) | |
tree | 18b828452a89f6d12e9a6aadd9a0f9bb1f59dba1 | |
parent | ccd928d47f593967bbf36db465b39a7ead59ef3e (diff) |
arm64: dts: colibri-imx8x: Add gpio wakeup source
Add GPIO3_10 as a wakeup source. Copy this nodes from
toradex_5.4-2.3.x-imx.
Upstream-Status: Pending
pad-wakeup is only present in the mxc-gpio driver on downstream. This
was needed to make the gpio able to wakeup the system.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi | 11 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index 6c65ccabdbf9..6e87fb534033 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -82,6 +82,17 @@ status= "okay"; }; +&lsio_gpio3 { + /* + * Add GPIO3_10 as a wakeup source: + * Pin: 157 SC_P_QSPI0A_DATA1 (SODIMM_45) + * Type: 6 SC_PAD_WAKEUP_RISE_EDGE + * Line: 10 GPIO3_IO10 + */ + pad-wakeup = <IMX8QXP_QSPI0A_DATA1 6 10>; + pad-wakeup-num = <1>; + }; + /* Colibri PWM_B */ &lsio_pwm0 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi index edafd5b53646..88ce018f610c 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi @@ -111,6 +111,15 @@ &lsio_gpio3 { /* + * Add GPIO3_10 as a wakeup source: + * Pin: 157 SC_P_QSPI0A_DATA1 (SODIMM_45) + * Type: 6 SC_PAD_WAKEUP_RISE_EDGE + * Line: 10 GPIO3_IO10 + */ + pad-wakeup = <IMX8QXP_QSPI0A_DATA1 6 10>; + pad-wakeup-num = <1>; + + /* * This turns the LVDS transceiver on. If one wants to turn the * transceiver off, that property has to be deleted and the gpio handled * in userspace. |