summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/projects/rex/prj.conf1
-rw-r--r--zephyr/projects/rex/rex.dts5
2 files changed, 6 insertions, 0 deletions
diff --git a/zephyr/projects/rex/prj.conf b/zephyr/projects/rex/prj.conf
index a53506ea1e..b69863caef 100644
--- a/zephyr/projects/rex/prj.conf
+++ b/zephyr/projects/rex/prj.conf
@@ -110,6 +110,7 @@ CONFIG_PLATFORM_EC_USB_DRP_ACC_TRYSRC=y
CONFIG_PLATFORM_EC_USB_PD_VBUS_DETECT_TCPC=y
CONFIG_PLATFORM_EC_USB_PD_DISCHARGE_PPC=y
CONFIG_PLATFORM_EC_USB_PD_FRS=y
+CONFIG_PLATFORM_EC_USB_PD_FRS_PPC=y
CONFIG_PLATFORM_EC_USB_PD_TCPC_LOW_POWER=y
CONFIG_PLATFORM_EC_USB_PD_TCPM_TCPCI=y
CONFIG_PLATFORM_EC_USB_PD_TCPM_NCT38XX=y
diff --git a/zephyr/projects/rex/rex.dts b/zephyr/projects/rex/rex.dts
index 0569befc10..259cd6ff4c 100644
--- a/zephyr/projects/rex/rex.dts
+++ b/zephyr/projects/rex/rex.dts
@@ -28,6 +28,10 @@
gpios = <&ioex_c0_port0 7 GPIO_OUTPUT>;
};
+ ioex_usb_c0_frs_en: usb_c0_frs_en {
+ gpios = <&ioex_c0_port0 6 GPIO_OUTPUT_LOW>;
+ };
+
/* Need to designate 1.8V for I2C buses on the 1800mV rail */
ec-i2c-sensor-scl {
gpios = <&gpiob 5 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
@@ -167,6 +171,7 @@
compatible = "silergy,syv682x";
status = "okay";
reg = <0x40>;
+ frs_en_gpio = <&ioex_usb_c0_frs_en>;
};
};