summaryrefslogtreecommitdiff
path: root/zephyr/test/qcom_power/boards/native_posix.overlay
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/qcom_power/boards/native_posix.overlay')
-rw-r--r--zephyr/test/qcom_power/boards/native_posix.overlay14
1 files changed, 3 insertions, 11 deletions
diff --git a/zephyr/test/qcom_power/boards/native_posix.overlay b/zephyr/test/qcom_power/boards/native_posix.overlay
index 9af8f4cd13..f062f27614 100644
--- a/zephyr/test/qcom_power/boards/native_posix.overlay
+++ b/zephyr/test/qcom_power/boards/native_posix.overlay
@@ -65,10 +65,7 @@
enum-name = "GPIO_PMIC_KPD_PWR_ODL";
};
gpio_pmic_resin_l: pmic_resin_l {
- /* Real hardware will allow reading even if GPIO_INPUT
- * is not set, but the gpio_emul will not.
- */
- gpios = <&gpio0 21 (GPIO_INPUT | GPIO_OUTPUT_HIGH)>;
+ gpios = <&gpio0 21 GPIO_OUTPUT_HIGH>;
enum-name = "GPIO_PMIC_RESIN_L";
};
gpio_warm_reset_l: warm_reset_l {
@@ -90,10 +87,6 @@
gpios = <&gpio0 25 (GPIO_INPUT | GPIO_PULL_UP)>;
enum-name = "GPIO_POWER_BUTTON_L";
};
- gpio_switchcap_pg: src_vph_pwr_pg {
- gpios = <&gpio0 26 GPIO_INPUT_PULL_DOWN>;
- enum-name = "GPIO_SWITCHCAP_PG";
- };
};
gpio-interrupts {
@@ -140,10 +133,9 @@
};
switchcap {
- compatible = "cros-ec,switchcap-gpio";
+ compatible = "switchcap-gpio";
enable-pin = <&gpio_switchcap_on>;
- power-good-pin = <&gpio_switchcap_pg>;
- poff-delay-ms = <1>;
+ power-good-pin = <&gpio_switchcap_pg_int_l>;
};
};