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