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