Hello,
I we trying to bring-up our iMX8MP custom board. Our reference board is imx8mp-lpddr4-evk. We'll have only emmc as a flash, and our ram will be 512MB compared to the evk. For the first bring-up we have decided to disable every peripheral other than necessary ones like pmic, usb, uart, ram and pmic.
Our question is, since mpu will be empty at first, it will directly go to serial download mode from usb3_0 with otg1. In the evk board, otg1 is type C and our board has type A and we patched the device tree like below:
&usb3_phy0 {
fsl,phy-tx-vref-tune = <0xb>; //taken from usb_1, from evk type A connector specs
fsl,phy-tx-preemp-amp-tune = <3>;
fsl,phy-tx-vboost-level = <5>;
fsl,phy-comp-dis-tune = <7>;
fsl,pcs-tx-deemph-3p5db = <0x21>;
fsl,phy-pcs-tx-swing-full = <0x7f>;
status = "okay";
};
&usb3_0 { /* PHYSICAL PORT */
status = "okay";
dr_mode= "otg";
};
&usb_dwc3_0 { /* CONTROLLER*/
dr_mode = "otg";
hnp-disable;
srp-disable;
adp-disable;
usb-role-switch;
role-switch-default-mode = "none";
snps,dis-u1-entry-quirk;
snps,dis-u2-entry-quirk;
status = "okay";
};
&usb3_phy1 {
fsl,phy-tx-preemp-amp-tune = <3>;
fsl,phy-tx-vref-tune = <0xb>;
status = "disabled";
};
&usb3_1 {
status = "disabled";
};
&usb_dwc3_1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb1_vbus>;
dr_mode = "host";
status = "disabled";
};
Do we need to do any other configuration?
Thank you in advance. Best Regards!
解決済! 解決策の投稿を見る。