summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorRay Chi <raychi@google.com>2023-04-11 17:10:06 +0800
committerTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-04-17 09:18:27 +0000
commit75639a01a54402336c58688a3a4ffae79107b258 (patch)
treeb956f94fa05459c78949f5fa0c229462c3591688 /dts
parent63865e8e9a1f9c78ce97117ecffa479462973df3 (diff)
downloadshusky-75639a01a54402336c58688a3a4ffae79107b258.tar.gz
arm64/configs: shusky: add eusb reset pin control
Bug: 266949223 Change-Id: I07f5e7d28520b189aaaabed1a21c2a389399964e Signed-off-by: Ray Chi <raychi@google.com>
Diffstat (limited to 'dts')
-rw-r--r--dts/google/zuma-shusky-usb.dtsi27
1 files changed, 23 insertions, 4 deletions
diff --git a/dts/google/zuma-shusky-usb.dtsi b/dts/google/zuma-shusky-usb.dtsi
index 3066889..9470ddf 100644
--- a/dts/google/zuma-shusky-usb.dtsi
+++ b/dts/google/zuma-shusky-usb.dtsi
@@ -18,6 +18,21 @@
extcon = <&max77759tcpc>;
};
+&pinctrl_12 {
+ eusb_power_off: eusb_power_off {
+ samsung,pins = "gpp21-3";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
+ samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>;
+ };
+
+ eusb_power_on: eusb_power_on {
+ samsung,pins = "gpp21-3";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
+ };
+};
+
&eusb_repeater_tune {
status = "okay";
repeater_tune_cnt = <8>;
@@ -69,9 +84,13 @@
#size-cells = <0>;
status = "okay";
eusb-repeater@3E {
- compatible = "samsung,eusb-repeater";
- reg = <0x3E>;
- status = "okay";
- repeater_tune_param = <&eusb_repeater_tune>;
+ compatible = "samsung,eusb-repeater";
+ reg = <0x3E>;
+ status = "okay";
+ pinctrl-names = "power_off", "power_on";
+ pinctrl-0 = <&eusb_power_off>;
+ pinctrl-1 = <&eusb_power_on>;
+ eusb,gpio_eusb_resetb = <&gpp21 3 GPIO_ACTIVE_LOW>;
+ repeater_tune_param = <&eusb_repeater_tune>;
};
};