112038271SRussell Kingmvebu armada 38x comphy driver 212038271SRussell King------------------------------ 312038271SRussell King 412038271SRussell KingThis comphy controller can be found on Marvell Armada 38x. It provides a 512038271SRussell Kingnumber of shared PHYs used by various interfaces (network, sata, usb, 612038271SRussell KingPCIe...). 712038271SRussell King 812038271SRussell KingRequired properties: 912038271SRussell King 1012038271SRussell King- compatible: should be "marvell,armada-380-comphy" 1112038271SRussell King- reg: should contain the comphy register location and length. 1212038271SRussell King- #address-cells: should be 1. 1312038271SRussell King- #size-cells: should be 0. 1412038271SRussell King 15*6c89533dSRussell KingOptional properties: 16*6c89533dSRussell King 17*6c89533dSRussell King- reg-names: must be "comphy" as the first name, and "conf". 18*6c89533dSRussell King- reg: must contain the comphy register location and length as the first 19*6c89533dSRussell King pair, followed by an optional configuration register address and 20*6c89533dSRussell King length pair. 21*6c89533dSRussell King 2212038271SRussell KingA sub-node is required for each comphy lane provided by the comphy. 2312038271SRussell King 2412038271SRussell KingRequired properties (child nodes): 2512038271SRussell King 2612038271SRussell King- reg: comphy lane number. 2712038271SRussell King- #phy-cells : from the generic phy bindings, must be 1. Defines the 2812038271SRussell King input port to use for a given comphy lane. 2912038271SRussell King 3012038271SRussell KingExample: 3112038271SRussell King 3212038271SRussell King comphy: phy@18300 { 3312038271SRussell King compatible = "marvell,armada-380-comphy"; 34*6c89533dSRussell King reg-names = "comphy", "conf"; 35*6c89533dSRussell King reg = <0x18300 0x100>, <0x18460 4>; 3612038271SRussell King #address-cells = <1>; 3712038271SRussell King #size-cells = <0>; 3812038271SRussell King 3912038271SRussell King cpm_comphy0: phy@0 { 4012038271SRussell King reg = <0>; 4112038271SRussell King #phy-cells = <1>; 4212038271SRussell King }; 4312038271SRussell King 4412038271SRussell King cpm_comphy1: phy@1 { 4512038271SRussell King reg = <1>; 4612038271SRussell King #phy-cells = <1>; 4712038271SRussell King }; 4812038271SRussell King }; 49