Debian Codegraph @

scripts/dtc/include-prefixes/arm64/ti/k3-j784s4-j742s2-evm-usb0-type-a.dtso

raw
1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
2 /**
3 * DT Overlay for enabling USB0 instance of USB on J784S4 and J742S2 EVMs for
4 * Host Mode of operation with the Type-A Connector.
5 *
6 * J784S4 EVM Product Link: https://www.ti.com/tool/J784S4XEVM
7 * J742S2 EVM Product Link: https://www.ti.com/tool/J742S2XH01EVM
8 *
9 * Copyright (C) 2025 Texas Instruments Incorporated - https://www.ti.com/
10 */
11
12 /dts-v1/;
13 /plugin/;
14
15 #include <dt-bindings/gpio/gpio.h>
16
17 &exp2 {
18 p12-hog {
19 /* P12 - USB2.0_MUX_SEL */
20 gpio-hog;
21 gpios = <12 GPIO_ACTIVE_HIGH>;
22 output-high;
23 line-name = "USB2.0_MUX_SEL";
24 };
25 };
26
27 &usb0 {
28 dr_mode = "host";
29 };