Guest User

Untitled

a guest
Feb 2nd, 2021
235
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. After following documentation found at : https://wiki.st.com/stm32mpu/wiki/OTG_device_tree_configuration
  2. we can not bring FS OTG up using mainline Linux (5.10). We updated the compatible string to st,stm32mp15-fsotg, but without effect.
  3.  
  4. When booting linux we get this error :
  5. [    9.724039] dwc2 49000000.usb-otg: dwc2_core_reset: HANG! Soft Reset timeout GRSTCTL_CSFTRST
  6.  
  7. Segments from dts file :
  8.  
  9. vbus_otg: regulator_otg {
  10.                 compatible = "regulator-fixed";
  11.                 regulator-name = "vdd-otg";
  12.                 regulator-min-microvolt = <5000000>;
  13.                 regulator-max-microvolt = <5000000>;
  14.                 enable-active-high;
  15.                 gpio = <&gpiog 0 0>;
  16.         };
  17. .........................
  18. &usbphyc {
  19.         status = "okay";
  20. };
  21.  
  22. &usbh_ehci {
  23.         phys = <&usbphyc_port0>, <&usbphyc_port1 1>;
  24.         phy-names = "usb1-phy", "usb2-phy";
  25.         status = "okay";
  26. };
  27.  
  28. &usbphyc_port0 {
  29.         phy-supply = <&vdd_usb>;
  30.         vbus-supply = <&usb1vbus>;
  31.         vdda1v1-supply = <&reg11>;
  32.         vdda1v8-supply = <&reg18>;
  33. };
  34.  
  35. &usbphyc_port1 {
  36.         phy-supply = <&vdd_usb>;
  37.         vbus-supply = <&usb2vbus>;
  38.         vdda1v1-supply = <&reg11>;
  39.         vdda1v8-supply = <&reg18>;
  40. };
  41.  
  42. &usbotg_hs {
  43.         compatible = "st,stm32mp15-fsotg", "snps,dwc2";
  44.         pinctrl-names = "default";
  45.         pinctrl-0 = <&usbotg_hs_pins_a &usbotg_fs_dp_dm_pins_a>;        
  46.         vbus-supply = <&vbus_otg>;                                      
  47.         dr_mode = "peripheral";
  48.         vusb_d = <&reg11>;
  49.         vusb_a = <&reg18>;
  50.         status = "okay";
  51. };
  52. ................................
  53. We use a custom board having 3 USB ports, two high speed usb ports and one FS OTG port.
  54.  
  55.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×