mediatek,mtk-xhci.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. MediaTek xHCI
  2. The device node for USB3 host controller on MediaTek SoCs.
  3. Required properties:
  4. - compatible : should be "mediatek,mtk-xhci"
  5. - reg : specifies physical base address and size of the registers
  6. - reg-names: should be "mac" for xHCI MAC and "ippc" for IP port control
  7. - power-domains : a phandle to USB power domain node to control USB's
  8. MTCMOS
  9. - vusb33-supply : regulator of USB avdd3.3v
  10. - clocks : a list of phandle + clock-specifier pairs, one for each
  11. entry in clock-names
  12. - clock-names : must contain
  13. "sys_ck": controller clock used by normal mode,
  14. the following ones are optional:
  15. "ref_ck": reference clock used by low power mode etc,
  16. "mcu_ck": mcu_bus clock for register access,
  17. "dma_ck": dma_bus clock for data transfer by DMA,
  18. "xhci_ck": controller clock
  19. - phys : list of all the USB PHYs on this HCD
  20. - phy-names: name specifier for the USB PHY
  21. Optional properties:
  22. - vbus-supply : reference to the VBUS regulator;
  23. - mediatek,u3p-dis-msk : mask to disable u3ports, bit0 for u3port0,
  24. bit1 for u3port1, ... etc;
  25. - mediatek,u2p-dis-msk : mask to disable u2ports, bit0 for u2port0,
  26. bit1 for u2port1, ... etc;
  27. Example:
  28. xhci: usb@1a0c0000 {
  29. compatible = "mediatek,mt7629-xhci", "mediatek,mtk-xhci";
  30. reg = <0x1a0c0000 0x1000>, <0x1a0c3e00 0x0100>;
  31. reg-names = "mac", "ippc";
  32. power-domains = <&scpsys MT7629_POWER_DOMAIN_HIF1>;
  33. clocks = <&ssusbsys CLK_SSUSB_SYS_EN>, <&ssusbsys CLK_SSUSB_REF_EN>,
  34. <&ssusbsys CLK_SSUSB_MCU_EN>, <&ssusbsys CLK_SSUSB_DMA_EN>;
  35. clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck";
  36. phys = <&u2port0 PHY_TYPE_USB2>, <&u3port0 PHY_TYPE_USB3>;
  37. status = "disabled";
  38. };