1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. 4 */ 5/dts-v1/; 6/plugin/; 7 8/* 9 * USB0 Peripheral Mode Overlay 10 * 11 * This overlay switches USB0 from host mode to peripheral mode 12 * by configuring the USB controller node. 13 * 14 * Hardware requirement: 15 * The DIP switch SW1 must be toggled to reconnect the USB0 HS 16 * differential pair to the Micro-USB connector instead of the 17 * on-board USB 3.0 hub. 18 * 19 * Without toggling SW1, there is no electrical path to the 20 * Micro-USB connector and device mode will not function. 21 */ 22 23&usb_1 { 24 dr_mode = "peripheral"; 25 26 status = "okay"; 27}; 28