18c2ecf20Sopenharmony_cimvebu armada 38x comphy driver 28c2ecf20Sopenharmony_ci------------------------------ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciThis comphy controller can be found on Marvell Armada 38x. It provides a 58c2ecf20Sopenharmony_cinumber of shared PHYs used by various interfaces (network, sata, usb, 68c2ecf20Sopenharmony_ciPCIe...). 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciRequired properties: 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci- compatible: should be "marvell,armada-380-comphy" 118c2ecf20Sopenharmony_ci- reg: should contain the comphy register location and length. 128c2ecf20Sopenharmony_ci- #address-cells: should be 1. 138c2ecf20Sopenharmony_ci- #size-cells: should be 0. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciOptional properties: 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci- reg-names: must be "comphy" as the first name, and "conf". 188c2ecf20Sopenharmony_ci- reg: must contain the comphy register location and length as the first 198c2ecf20Sopenharmony_ci pair, followed by an optional configuration register address and 208c2ecf20Sopenharmony_ci length pair. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciA sub-node is required for each comphy lane provided by the comphy. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciRequired properties (child nodes): 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci- reg: comphy lane number. 278c2ecf20Sopenharmony_ci- #phy-cells : from the generic phy bindings, must be 1. Defines the 288c2ecf20Sopenharmony_ci input port to use for a given comphy lane. 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciExample: 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci comphy: phy@18300 { 338c2ecf20Sopenharmony_ci compatible = "marvell,armada-380-comphy"; 348c2ecf20Sopenharmony_ci reg-names = "comphy", "conf"; 358c2ecf20Sopenharmony_ci reg = <0x18300 0x100>, <0x18460 4>; 368c2ecf20Sopenharmony_ci #address-cells = <1>; 378c2ecf20Sopenharmony_ci #size-cells = <0>; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci cpm_comphy0: phy@0 { 408c2ecf20Sopenharmony_ci reg = <0>; 418c2ecf20Sopenharmony_ci #phy-cells = <1>; 428c2ecf20Sopenharmony_ci }; 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci cpm_comphy1: phy@1 { 458c2ecf20Sopenharmony_ci reg = <1>; 468c2ecf20Sopenharmony_ci #phy-cells = <1>; 478c2ecf20Sopenharmony_ci }; 488c2ecf20Sopenharmony_ci }; 49