diff options
author | Sam Hurst <shurst@google.com> | 2021-12-18 12:33:04 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-19 06:48:32 +0000 |
commit | d387662337b53387742d08bdb742a7238dcc571c (patch) | |
tree | d6b38bc099849bf200904c4059acdf09a077f845 | |
parent | 3a5c7675517c8facf25df0aa5cf9d048189f3cc5 (diff) | |
download | chrome-ec-d387662337b53387742d08bdb742a7238dcc571c.tar.gz |
zephyr: herobrine: Add FRS Pin Enables to DTS
Add Fast Role Swap Pin Enable device tree nodes
to gpio.dts. This configures the pins as outputs
and sets them low.
BRANCH=none
BUG=b:211012670
TEST=Measured TP66 on board rev 1 and verified that
it was low.
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: Ida36c93c41c6991d183a25921224e3d393d38c85
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3349024
Tested-by: Sam Hurst <shurst@google.com>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Wai-Hong Tam <waihong@google.com>
-rw-r--r-- | zephyr/projects/herobrine/herobrine_npcx9/gpio.dts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/zephyr/projects/herobrine/herobrine_npcx9/gpio.dts b/zephyr/projects/herobrine/herobrine_npcx9/gpio.dts index 3ad7eda010..18cca6a25d 100644 --- a/zephyr/projects/herobrine/herobrine_npcx9/gpio.dts +++ b/zephyr/projects/herobrine/herobrine_npcx9/gpio.dts @@ -216,6 +216,16 @@ gpios = <&gpio7 5 GPIO_OUT_HIGH>; label = "USB_A_CDP_ILIM_EN_L"; }; + usb_c0_frs_en { + gpios = <&gpioc 5 GPIO_OUT_LOW>; + enum-name = "GPIO_USB_C0_FRS_EN"; + label = "USB_C0_FRS_EN"; + }; + usb_c1_frs_en { + gpios = <&gpioc 1 GPIO_OUT_LOW>; + enum-name = "GPIO_USB_C1_FRS_EN"; + label = "USB_C1_FRS_EN"; + }; ec_chg_led_y_c0 { gpios = <&gpio6 0 GPIO_OUT_LOW>; enum-name = "GPIO_EC_CHG_LED_Y_C0"; @@ -347,11 +357,9 @@ <&gpio5 2 0>, <&gpio5 4 0>, <&gpio7 6 0>, - <&gpioc 5 0>, <&gpiod 1 0>, <&gpiod 0 0>, <&gpioe 3 0>, - <&gpioc 1 0>, <&gpio0 4 0>, <&gpiod 6 0>, <&gpio3 2 0>, |