ci-hdrc-usb2.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. * USB2 ChipIdea USB controller for ci13xxx
  2. Required properties:
  3. - compatible: should be one of:
  4. "fsl,imx27-usb"
  5. "lsi,zevio-usb"
  6. "qcom,ci-hdrc"
  7. "chipidea,usb2"
  8. - reg: base address and length of the registers
  9. - interrupts: interrupt for the USB controller
  10. Recommended properies:
  11. - phy_type: the type of the phy connected to the core. Should be one
  12. of "utmi", "utmi_wide", "ulpi", "serial" or "hsic". Without this
  13. property the PORTSC register won't be touched.
  14. - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
  15. Deprecated properties:
  16. - usb-phy: phandle for the PHY device. Use "phys" instead.
  17. - fsl,usbphy: phandle of usb phy that connects to the port. Use "phys" instead.
  18. Optional properties:
  19. - clocks: reference to the USB clock
  20. - phys: reference to the USB PHY
  21. - phy-names: should be "usb-phy"
  22. - vbus-supply: reference to the VBUS regulator
  23. - maximum-speed: limit the maximum connection speed to "full-speed".
  24. - tpl-support: TPL (Targeted Peripheral List) feature for targeted hosts
  25. - fsl,usbmisc: (FSL only) phandler of non-core register device, with one
  26. argument that indicate usb controller index
  27. - disable-over-current: (FSL only) disable over current detect
  28. - external-vbus-divider: (FSL only) enables off-chip resistor divider for Vbus
  29. Example:
  30. usb@f7ed0000 {
  31. compatible = "chipidea,usb2";
  32. reg = <0xf7ed0000 0x10000>;
  33. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  34. clocks = <&chip CLKID_USB0>;
  35. phys = <&usb_phy0>;
  36. phy-names = "usb-phy";
  37. vbus-supply = <&reg_usb0_vbus>;
  38. };