Back to home page

OSCL-LXR

 
 

    


0001 mvebu armada 38x comphy driver
0002 ------------------------------
0003 
0004 This comphy controller can be found on Marvell Armada 38x. It provides a
0005 number of shared PHYs used by various interfaces (network, sata, usb,
0006 PCIe...).
0007 
0008 Required properties:
0009 
0010 - compatible: should be "marvell,armada-380-comphy"
0011 - reg: should contain the comphy register location and length.
0012 - #address-cells: should be 1.
0013 - #size-cells: should be 0.
0014 
0015 Optional properties:
0016 
0017 - reg-names: must be "comphy" as the first name, and "conf".
0018 - reg: must contain the comphy register location and length as the first
0019     pair, followed by an optional configuration register address and
0020     length pair.
0021 
0022 A sub-node is required for each comphy lane provided by the comphy.
0023 
0024 Required properties (child nodes):
0025 
0026 - reg: comphy lane number.
0027 - #phy-cells : from the generic phy bindings, must be 1. Defines the
0028                input port to use for a given comphy lane.
0029 
0030 Example:
0031 
0032         comphy: phy@18300 {
0033                 compatible = "marvell,armada-380-comphy";
0034                 reg-names = "comphy", "conf";
0035                 reg = <0x18300 0x100>, <0x18460 4>;
0036                 #address-cells = <1>;
0037                 #size-cells = <0>;
0038 
0039                 cpm_comphy0: phy@0 {
0040                         reg = <0>;
0041                         #phy-cells = <1>;
0042                 };
0043 
0044                 cpm_comphy1: phy@1 {
0045                         reg = <1>;
0046                         #phy-cells = <1>;
0047                 };
0048         };