summaryrefslogtreecommitdiff
path: root/zephyr/projects/npcx_evb/npcx7/gpio.dts
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-06-17 18:33:28 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-28 18:37:42 +0000
commit5a3123ae33b5208b83698dd837f0ac57e4da8a91 (patch)
treebecbf28070d8a92709f18cee14c884a94296b98f /zephyr/projects/npcx_evb/npcx7/gpio.dts
parent64ff902251200f8628aa10b6ab75d6142cfdfda4 (diff)
downloadchrome-ec-5a3123ae33b5208b83698dd837f0ac57e4da8a91.tar.gz
zephyr: npcx_evb: Enable power button
Enable the power button for npcx7/9_evb. BUG=none BRANCH=none TEST=toggle power button gpio, saw the print information Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I6ef7210250e02c768e8b5976903f1aa3785fe720 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058715 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/npcx_evb/npcx7/gpio.dts')
-rw-r--r--zephyr/projects/npcx_evb/npcx7/gpio.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/npcx_evb/npcx7/gpio.dts b/zephyr/projects/npcx_evb/npcx7/gpio.dts
index c4031dd83f..37676efec4 100644
--- a/zephyr/projects/npcx_evb/npcx7/gpio.dts
+++ b/zephyr/projects/npcx_evb/npcx7/gpio.dts
@@ -22,6 +22,7 @@
};
power_button_l {
gpios = <&gpio7 5 (GPIO_INPUT | GPIO_PULL_UP)>;
+ enum-name = "GPIO_POWER_BUTTON_L";
label = "POWER_BUTTON_L";
};
lid_open {