18c2ecf20Sopenharmony_ci* Broadcom SATA3 PHY 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: should be one or more of 58c2ecf20Sopenharmony_ci "brcm,bcm7216-sata-phy" 68c2ecf20Sopenharmony_ci "brcm,bcm7425-sata-phy" 78c2ecf20Sopenharmony_ci "brcm,bcm7445-sata-phy" 88c2ecf20Sopenharmony_ci "brcm,iproc-ns2-sata-phy" 98c2ecf20Sopenharmony_ci "brcm,iproc-nsp-sata-phy" 108c2ecf20Sopenharmony_ci "brcm,phy-sata3" 118c2ecf20Sopenharmony_ci "brcm,iproc-sr-sata-phy" 128c2ecf20Sopenharmony_ci "brcm,bcm63138-sata-phy" 138c2ecf20Sopenharmony_ci- address-cells: should be 1 148c2ecf20Sopenharmony_ci- size-cells: should be 0 158c2ecf20Sopenharmony_ci- reg: register ranges for the PHY PCB interface 168c2ecf20Sopenharmony_ci- reg-names: should be "phy" and "phy-ctrl" 178c2ecf20Sopenharmony_ci The "phy-ctrl" registers are only required for 188c2ecf20Sopenharmony_ci "brcm,iproc-ns2-sata-phy" and "brcm,iproc-sr-sata-phy". 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciSub-nodes: 218c2ecf20Sopenharmony_ci Each port's PHY should be represented as a sub-node. 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciSub-nodes required properties: 248c2ecf20Sopenharmony_ci- reg: the PHY number 258c2ecf20Sopenharmony_ci- phy-cells: generic PHY binding; must be 0 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciSub-nodes optional properties: 288c2ecf20Sopenharmony_ci- brcm,enable-ssc: use spread spectrum clocking (SSC) on this port 298c2ecf20Sopenharmony_ci This property is not applicable for "brcm,iproc-ns2-sata-phy", 308c2ecf20Sopenharmony_ci "brcm,iproc-nsp-sata-phy" and "brcm,iproc-sr-sata-phy". 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci- brcm,rxaeq-mode: string that indicates the desired RX equalizer 338c2ecf20Sopenharmony_ci mode, possible values are: 348c2ecf20Sopenharmony_ci "off" (equivalent to not specifying the property) 358c2ecf20Sopenharmony_ci "auto" 368c2ecf20Sopenharmony_ci "manual" (brcm,rxaeq-value is used in that case) 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci- brcm,rxaeq-value: when 'rxaeq-mode' is set to "manual", provides the RX 398c2ecf20Sopenharmony_ci equalizer value that should be used. Allowed range is 0..63. 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ciExample 428c2ecf20Sopenharmony_ci sata-phy@f0458100 { 438c2ecf20Sopenharmony_ci compatible = "brcm,bcm7445-sata-phy", "brcm,phy-sata3"; 448c2ecf20Sopenharmony_ci reg = <0xf0458100 0x1e00>, <0xf045804c 0x10>; 458c2ecf20Sopenharmony_ci reg-names = "phy"; 468c2ecf20Sopenharmony_ci #address-cells = <1>; 478c2ecf20Sopenharmony_ci #size-cells = <0>; 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci sata-phy@0 { 508c2ecf20Sopenharmony_ci reg = <0>; 518c2ecf20Sopenharmony_ci #phy-cells = <0>; 528c2ecf20Sopenharmony_ci }; 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci sata-phy@1 { 558c2ecf20Sopenharmony_ci reg = <1>; 568c2ecf20Sopenharmony_ci #phy-cells = <0>; 578c2ecf20Sopenharmony_ci }; 588c2ecf20Sopenharmony_ci }; 59