xref: /freebsd/sys/contrib/device-tree/Bindings/ufs/tc-dwc-g210-pltfrm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Universal Flash Storage (UFS) DesignWare Host Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotDWC_UFS nodes are defined to describe on-chip UFS host controllers and MPHY.
4*c66ec88fSEmmanuel VadotEach UFS controller instance should have its own node.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible	: compatible list must contain the PHY type & version:
8*c66ec88fSEmmanuel Vadot			"snps,g210-tc-6.00-20bit"
9*c66ec88fSEmmanuel Vadot			"snps,g210-tc-6.00-40bit"
10*c66ec88fSEmmanuel Vadot		  complemented with the Controller IP version:
11*c66ec88fSEmmanuel Vadot			"snps,dwc-ufshcd-1.40a"
12*c66ec88fSEmmanuel Vadot		  complemented with the JEDEC version:
13*c66ec88fSEmmanuel Vadot			"jedec,ufs-1.1"
14*c66ec88fSEmmanuel Vadot			"jedec,ufs-2.0"
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot- reg		: <registers mapping>
17*c66ec88fSEmmanuel Vadot- interrupts	: <interrupt mapping for UFS host controller IRQ>
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample for a setup using a 1.40a DWC Controller with a 6.00 G210 40-bit TC:
20*c66ec88fSEmmanuel Vadot	dwc-ufs@d0000000 {
21*c66ec88fSEmmanuel Vadot		compatible = "snps,g210-tc-6.00-40bit",
22*c66ec88fSEmmanuel Vadot			     "snps,dwc-ufshcd-1.40a",
23*c66ec88fSEmmanuel Vadot			     "jedec,ufs-2.0";
24*c66ec88fSEmmanuel Vadot		reg = < 0xd0000000 0x10000 >;
25*c66ec88fSEmmanuel Vadot		interrupts = < 24 >;
26*c66ec88fSEmmanuel Vadot	};
27