phy.h 721 B

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. *
  4. * This header provides constants for the phy framework
  5. *
  6. * Copyright (C) 2014 STMicroelectronics
  7. * Author: Gabriel Fernandez <gabriel.fernandez@st.com>
  8. */
  9. #ifndef _DT_BINDINGS_PHY
  10. #define _DT_BINDINGS_PHY
  11. #define PHY_NONE 0
  12. #define PHY_TYPE_SATA 1
  13. #define PHY_TYPE_PCIE 2
  14. #define PHY_TYPE_USB2 3
  15. #define PHY_TYPE_USB3 4
  16. #define PHY_TYPE_UFS 5
  17. #define PHY_TYPE_DP 6
  18. #define PHY_TYPE_XPCS 7
  19. #define PHY_TYPE_SGMII 8
  20. #define PHY_TYPE_QSGMII 9
  21. #define PHY_TYPE_DPHY 10
  22. #define PHY_TYPE_CPHY 11
  23. #define PHY_TYPE_USXGMII 12
  24. #define PHY_TYPE_XAUI 13
  25. #define PHY_POL_NORMAL 0
  26. #define PHY_POL_INVERT 1
  27. #define PHY_POL_AUTO 2
  28. #endif /* _DT_BINDINGS_PHY */