NVIDIA: SAUCE: soc/tegra: pmc: Add Tegra264 ethernet wake event

Enable ethernet wake on lan event for the Tegra264 SoC.
WOL pin of ethernet is connected to POWER_BTN_DEB_N of T264.
So, add respective GPIO as wake source.

http://nvbugs/4478230

Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Signed-off-by: Bodla Rakesh Babu <rbodla@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Noah Wager <noah.wager@canonical.com>
Acked-by: Jacob Martin <jacob.martin@canonical.com>
Signed-off-by: Noah Wager <noah.wager@canonical.com>
This commit is contained in:
Revanth Kumar Uppala
2024-05-30 09:00:17 +00:00
committed by Noah Wager
parent 3f4539fcda
commit fc04d0c679
+2
View File
@@ -30,6 +30,7 @@
#include <soc/tegra/pmc.h>
#include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h>
#include <dt-bindings/gpio/tegra264-gpio.h>
static int tegra_pmc_reboot_notify(struct notifier_block *this,
@@ -372,6 +373,7 @@ static const char * const tegra264_reset_sources[] = {
static const struct tegra_wake_event tegra264_wake_events[] = {
TEGRA_WAKE_IRQ("rtc", 65, 548),
TEGRA_WAKE_GPIO("power_btn", 5, 1, TEGRA264_AON_GPIO(AA, 5)),
};
static const struct tegra_pmc_soc tegra264_pmc_soc = {