summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/projects/rex/prj.conf3
-rw-r--r--zephyr/projects/rex/rex.dts5
2 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/projects/rex/prj.conf b/zephyr/projects/rex/prj.conf
index 551bae58db..afa3bc9d97 100644
--- a/zephyr/projects/rex/prj.conf
+++ b/zephyr/projects/rex/prj.conf
@@ -79,6 +79,9 @@ CONFIG_PLATFORM_EC_CHARGER_SENSE_RESISTOR_AC=10
CONFIG_PLATFORM_EC_CHARGER_MIN_POWER_MW_FOR_POWER_ON=30000
CONFIG_PLATFORM_EC_CHARGER_MIN_POWER_MW_FOR_POWER_ON_WITH_BATT=15000
+# USB-A
+CONFIG_PLATFORM_EC_USBA=y
+
# USBC
CONFIG_PLATFORM_EC_USBC_PPC=y
CONFIG_PLATFORM_EC_USBC_PPC_SYV682X=y
diff --git a/zephyr/projects/rex/rex.dts b/zephyr/projects/rex/rex.dts
index 51aeb51762..c761cb7cfe 100644
--- a/zephyr/projects/rex/rex.dts
+++ b/zephyr/projects/rex/rex.dts
@@ -42,6 +42,11 @@
gpios = <&gpiod 0 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
};
};
+
+ usba-port-enable-list {
+ compatible = "cros-ec,usba-port-enable-pins";
+ enable-pins = <&gpio_en_pp5000_usba_r>;
+ };
};
/* host interface */