1 MediaTek Universal Flash Storage (UFS) M-PHY binding
2 --------------------------------------------------------
4 UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro.
5 Each UFS M-PHY node should have its own node.
7 To bind UFS M-PHY with UFS host controller, the controller node should
8 contain a phandle reference to UFS M-PHY node.
10 Required properties for UFS M-PHY nodes:
11 - compatible : Compatible list, contains the following controller:
12 "mediatek,mt8183-ufsphy" for ufs phy
13 persent on MT81xx chipsets.
14 - reg : Address and length of the UFS M-PHY register set.
15 - #phy-cells : This property shall be set to 0.
16 - clocks : List of phandle and clock specifier pairs.
17 - clock-names : List of clock input name strings sorted in the same
18 order as the clocks property. Following clocks are
20 "unipro": Unipro core control clock.
21 "mp": M-PHY core control clock.
25 ufsphy: phy@11fa0000 {
26 compatible = "mediatek,mt8183-ufsphy";
27 reg = <0 0x11fa0000 0 0xc000>;
30 clocks = <&infracfg_ao INFRACFG_AO_UNIPRO_SCK_CG>,
31 <&infracfg_ao INFRACFG_AO_UFS_MP_SAP_BCLK_CG>;
32 clock-names = "unipro", "mp";