ann.r
1
Hi,
I need to configure a GPIO as a wake-up interrupt with the Jetson Nano SOM.
Is there any documentation is available for the GPIO Interrupt configuration or any examples for that.
Kindly suggest any method for making the GPIO pin as wakeup interrupt.
Thanks and Regards
Ann Rose Antony.
ann.r
2
@ShaneCCC
Hi,
Do you have any suggestion ?
Regards
Ann Rose Antony
Below is the power key wake example.
gpio-keys {
compatible = "gpio-keys";
gpio-keys,name = "gpio-keys";
power {
label = "Power";
gpios = <&tegra_aon_gpio TEGRA194_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
gpio-key,wakeup;
};
sleep {
label = "Sleep";
gpios = <&tegra_main_gpio TEGRA194_MAIN_GPIO(G, 1) GPIO_ACTIVE_LOW>;
linux,code = <KEY_SLEEP>;
gpio-key,wakeup;
};
};