diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2021-06-17 17:41:48 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-28 18:37:39 +0000 |
commit | 64ff902251200f8628aa10b6ab75d6142cfdfda4 (patch) | |
tree | afd49e8d612f5caaef163bbf69fc485d7d3bf7a4 /zephyr/projects/npcx_evb/npcx7/gpio.dts | |
parent | dd2e769938223069db7e93406a5ca47cd3203277 (diff) | |
download | chrome-ec-64ff902251200f8628aa10b6ab75d6142cfdfda4.tar.gz |
zephyr: npcx_evb: Enable lid switch
Enable the lid switch for npcx7/9_evb.
BUG=none
BRANCH=none
TEST=toggle the lid GPIO, observe UART prints
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: I8825992cb3e1dd6541ecad15d46ae9c71f8bb7ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058714
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.dts | 1 |
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 1f41a4dcbe..c4031dd83f 100644 --- a/zephyr/projects/npcx_evb/npcx7/gpio.dts +++ b/zephyr/projects/npcx_evb/npcx7/gpio.dts @@ -26,6 +26,7 @@ }; lid_open { gpios = <&gpioa 6 (GPIO_INPUT | GPIO_PULL_DOWN)>; + enum-name = "GPIO_LID_OPEN"; label = "LID_OPEN"; }; entering_rw { |