librem5-evk.dtsi : default to peripheral mode on USB

Also add some configuration for alternate USB modes
parent 8aa3051e
......@@ -17,3 +17,5 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb
dtb-$(CONFIG_SOC_IMX8MQ) += emcraft-imx8-som.dtb
dtb-$(CONFIG_SOC_IMX8MQ) += librem5-evk.dtb
dtb-$(CONFIG_SOC_IMX8MQ) += librem5-evk-lcdonly.dtb
dtb-$(CONFIG_SOC_IMX8MQ) += librem5-evk-otg.dtb
dtb-$(CONFIG_SOC_IMX8MQ) += librem5-evk-usbhost.dtb
/*
* Copyright 2017 NXP
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/dts-v1/;
#include "librem5-evk.dtsi"
&usb_dwc3_0 {
status = "okay";
extcon = <&typec_ptn5100>;
dr_mode = "otg";
snps,dis_u3_susphy_quirk;
snps,dis_u2_susphy_quirk;
};
/*
* Copyright 2017 NXP
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/dts-v1/;
#include "librem5-evk.dtsi"
&usb_dwc3_0 {
status = "okay";
extcon = <&typec_ptn5100>;
dr_mode = "host";
};
......@@ -1064,7 +1064,9 @@
&usb_dwc3_0 {
status = "okay";
extcon = <&typec_ptn5100>;
dr_mode = "host";
dr_mode = "peripheral";
snps,dis_u3_susphy_quirk;
snps,dis_u2_susphy_quirk;
};
&usb_otg2_pd{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment