19c2cbd47SAntoine Tenartmvebu comphy driver 29c2cbd47SAntoine Tenart------------------- 39c2cbd47SAntoine Tenart 49c2cbd47SAntoine TenartA comphy controller can be found on Marvell Armada 7k/8k on the CP110. It 59c2cbd47SAntoine Tenartprovides a number of shared PHYs used by various interfaces (network, sata, 69c2cbd47SAntoine Tenartusb, PCIe...). 79c2cbd47SAntoine Tenart 89c2cbd47SAntoine TenartRequired properties: 99c2cbd47SAntoine Tenart 109c2cbd47SAntoine Tenart- compatible: should be "marvell,comphy-cp110" 119c2cbd47SAntoine Tenart- reg: should contain the comphy register location and length. 129c2cbd47SAntoine Tenart- marvell,system-controller: should contain a phandle to the 139c2cbd47SAntoine Tenart system controller node. 149c2cbd47SAntoine Tenart- #address-cells: should be 1. 159c2cbd47SAntoine Tenart- #size-cells: should be 0. 169c2cbd47SAntoine Tenart 179c2cbd47SAntoine TenartA sub-node is required for each comphy lane provided by the comphy. 189c2cbd47SAntoine Tenart 199c2cbd47SAntoine TenartRequired properties (child nodes): 209c2cbd47SAntoine Tenart 219c2cbd47SAntoine Tenart- reg: comphy lane number. 229c2cbd47SAntoine Tenart- #phy-cells : from the generic phy bindings, must be 1. Defines the 239c2cbd47SAntoine Tenart input port to use for a given comphy lane. 249c2cbd47SAntoine Tenart 259c2cbd47SAntoine TenartExample: 269c2cbd47SAntoine Tenart 279c2cbd47SAntoine Tenart cpm_comphy: phy@120000 { 289c2cbd47SAntoine Tenart compatible = "marvell,comphy-cp110"; 299c2cbd47SAntoine Tenart reg = <0x120000 0x6000>; 309c2cbd47SAntoine Tenart marvell,system-controller = <&cpm_syscon0>; 319c2cbd47SAntoine Tenart #address-cells = <1>; 329c2cbd47SAntoine Tenart #size-cells = <0>; 339c2cbd47SAntoine Tenart 349c2cbd47SAntoine Tenart cpm_comphy0: phy@0 { 359c2cbd47SAntoine Tenart reg = <0>; 369c2cbd47SAntoine Tenart #phy-cells = <1>; 379c2cbd47SAntoine Tenart }; 389c2cbd47SAntoine Tenart 399c2cbd47SAntoine Tenart cpm_comphy1: phy@1 { 409c2cbd47SAntoine Tenart reg = <1>; 419c2cbd47SAntoine Tenart #phy-cells = <1>; 429c2cbd47SAntoine Tenart }; 439c2cbd47SAntoine Tenart }; 44