xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/brcm-sata-phy.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Broadcom SATA3 PHY
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: should be one or more of
5*4882a593Smuzhiyun     "brcm,bcm7216-sata-phy"
6*4882a593Smuzhiyun     "brcm,bcm7425-sata-phy"
7*4882a593Smuzhiyun     "brcm,bcm7445-sata-phy"
8*4882a593Smuzhiyun     "brcm,iproc-ns2-sata-phy"
9*4882a593Smuzhiyun     "brcm,iproc-nsp-sata-phy"
10*4882a593Smuzhiyun     "brcm,phy-sata3"
11*4882a593Smuzhiyun     "brcm,iproc-sr-sata-phy"
12*4882a593Smuzhiyun     "brcm,bcm63138-sata-phy"
13*4882a593Smuzhiyun- address-cells: should be 1
14*4882a593Smuzhiyun- size-cells: should be 0
15*4882a593Smuzhiyun- reg: register ranges for the PHY PCB interface
16*4882a593Smuzhiyun- reg-names: should be "phy" and "phy-ctrl"
17*4882a593Smuzhiyun     The "phy-ctrl" registers are only required for
18*4882a593Smuzhiyun     "brcm,iproc-ns2-sata-phy" and "brcm,iproc-sr-sata-phy".
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunSub-nodes:
21*4882a593Smuzhiyun  Each port's PHY should be represented as a sub-node.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunSub-nodes required properties:
24*4882a593Smuzhiyun- reg: the PHY number
25*4882a593Smuzhiyun- phy-cells: generic PHY binding; must be 0
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunSub-nodes optional properties:
28*4882a593Smuzhiyun- brcm,enable-ssc: use spread spectrum clocking (SSC) on this port
29*4882a593Smuzhiyun     This property is not applicable for "brcm,iproc-ns2-sata-phy",
30*4882a593Smuzhiyun     "brcm,iproc-nsp-sata-phy" and "brcm,iproc-sr-sata-phy".
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun- brcm,rxaeq-mode: string that indicates the desired RX equalizer
33*4882a593Smuzhiyun  mode, possible values are:
34*4882a593Smuzhiyun	"off" (equivalent to not specifying the property)
35*4882a593Smuzhiyun	"auto"
36*4882a593Smuzhiyun	"manual" (brcm,rxaeq-value is used in that case)
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun- brcm,rxaeq-value: when 'rxaeq-mode' is set to "manual", provides the RX
39*4882a593Smuzhiyun  equalizer value that should be used. Allowed range is 0..63.
40*4882a593Smuzhiyun
41*4882a593SmuzhiyunExample
42*4882a593Smuzhiyun	sata-phy@f0458100 {
43*4882a593Smuzhiyun		compatible = "brcm,bcm7445-sata-phy", "brcm,phy-sata3";
44*4882a593Smuzhiyun		reg = <0xf0458100 0x1e00>, <0xf045804c 0x10>;
45*4882a593Smuzhiyun		reg-names = "phy";
46*4882a593Smuzhiyun		#address-cells = <1>;
47*4882a593Smuzhiyun		#size-cells = <0>;
48*4882a593Smuzhiyun
49*4882a593Smuzhiyun		sata-phy@0 {
50*4882a593Smuzhiyun			reg = <0>;
51*4882a593Smuzhiyun			#phy-cells = <0>;
52*4882a593Smuzhiyun		};
53*4882a593Smuzhiyun
54*4882a593Smuzhiyun		sata-phy@1 {
55*4882a593Smuzhiyun			reg = <1>;
56*4882a593Smuzhiyun			#phy-cells = <0>;
57*4882a593Smuzhiyun		};
58*4882a593Smuzhiyun	};
59