diff options
-rw-r--r-- | zephyr/projects/asurada/hayato/gpio.dts | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/zephyr/projects/asurada/hayato/gpio.dts b/zephyr/projects/asurada/hayato/gpio.dts index a09290374d..f04171651f 100644 --- a/zephyr/projects/asurada/hayato/gpio.dts +++ b/zephyr/projects/asurada/hayato/gpio.dts @@ -7,12 +7,12 @@ named-gpios { compatible = "named-gpios"; - power_button_l { + power_button_l: power_button_l { gpios = <&gpioe 4 (GPIO_INPUT | GPIO_PULL_UP)>; enum-name = "GPIO_POWER_BUTTON_L"; label = "POWER_BUTTON_L"; }; - lid_open { + lid_open: lid_open { gpios = <&gpioe 2 GPIO_INPUT>; enum-name = "GPIO_LID_OPEN"; label = "LID_OPEN"; @@ -90,7 +90,7 @@ enum-name = "GPIO_VOLUME_UP_L"; label = "VOLUME_UP_L"; }; - ac_present { + ac_present: ac_present { gpios = <&gpioe 5 GPIO_INPUT>; enum-name = "GPIO_AC_PRESENT"; label = "AC_PRESENT"; @@ -320,6 +320,13 @@ }; }; + hibernate-wake-pins { + compatible = "cros-ec,hibernate-wake-pins"; + wakeup-pins = <&ac_present + &power_button_l + &lid_open>; + }; + unused-pins { compatible = "unused-gpios"; |