sun4i-usb-phy.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Allwinner sun4i USB PHY
  2. -----------------------
  3. Required properties:
  4. - compatible : should be one of
  5. * allwinner,sun4i-a10-usb-phy
  6. * allwinner,sun5i-a13-usb-phy
  7. * allwinner,sun6i-a31-usb-phy
  8. * allwinner,sun7i-a20-usb-phy
  9. - reg : a list of offset + length pairs
  10. - reg-names :
  11. * "phy_ctrl"
  12. * "pmu1"
  13. * "pmu2" for sun4i, sun6i or sun7i
  14. - #phy-cells : from the generic phy bindings, must be 1
  15. - clocks : phandle + clock specifier for the phy clocks
  16. - clock-names :
  17. * "usb_phy" for sun4i, sun5i or sun7i
  18. * "usb0_phy", "usb1_phy" and "usb2_phy" for sun6i
  19. - resets : a list of phandle + reset specifier pairs
  20. - reset-names :
  21. * "usb0_reset"
  22. * "usb1_reset"
  23. * "usb2_reset" for sun4i, sun6i or sun7i
  24. Example:
  25. usbphy: phy@0x01c13400 {
  26. #phy-cells = <1>;
  27. compatible = "allwinner,sun4i-a10-usb-phy";
  28. /* phy base regs, phy1 pmu reg, phy2 pmu reg */
  29. reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
  30. reg-names = "phy_ctrl", "pmu1", "pmu2";
  31. clocks = <&usb_clk 8>;
  32. clock-names = "usb_phy";
  33. resets = <&usb_clk 1>, <&usb_clk 2>;
  34. reset-names = "usb1_reset", "usb2_reset";
  35. };