1 mvebu armada 38x comphy driver 1 mvebu armada 38x comphy driver 2 ------------------------------ 2 ------------------------------ 3 3 4 This comphy controller can be found on Marvell 4 This comphy controller can be found on Marvell Armada 38x. It provides a 5 number of shared PHYs used by various interfac 5 number of shared PHYs used by various interfaces (network, sata, usb, 6 PCIe...). 6 PCIe...). 7 7 8 Required properties: 8 Required properties: 9 9 10 - compatible: should be "marvell,armada-380-co 10 - compatible: should be "marvell,armada-380-comphy" 11 - reg: should contain the comphy register loca 11 - reg: should contain the comphy register location and length. 12 - #address-cells: should be 1. 12 - #address-cells: should be 1. 13 - #size-cells: should be 0. 13 - #size-cells: should be 0. 14 14 15 Optional properties: 15 Optional properties: 16 16 17 - reg-names: must be "comphy" as the first nam 17 - reg-names: must be "comphy" as the first name, and "conf". 18 - reg: must contain the comphy register locati 18 - reg: must contain the comphy register location and length as the first 19 pair, followed by an optional configuratio 19 pair, followed by an optional configuration register address and 20 length pair. 20 length pair. 21 21 22 A sub-node is required for each comphy lane pr 22 A sub-node is required for each comphy lane provided by the comphy. 23 23 24 Required properties (child nodes): 24 Required properties (child nodes): 25 25 26 - reg: comphy lane number. 26 - reg: comphy lane number. 27 - #phy-cells : from the generic phy bindings, 27 - #phy-cells : from the generic phy bindings, must be 1. Defines the 28 input port to use for a given c 28 input port to use for a given comphy lane. 29 29 30 Example: 30 Example: 31 31 32 comphy: phy@18300 { 32 comphy: phy@18300 { 33 compatible = "marvell,armada-3 33 compatible = "marvell,armada-380-comphy"; 34 reg-names = "comphy", "conf"; 34 reg-names = "comphy", "conf"; 35 reg = <0x18300 0x100>, <0x1846 35 reg = <0x18300 0x100>, <0x18460 4>; 36 #address-cells = <1>; 36 #address-cells = <1>; 37 #size-cells = <0>; 37 #size-cells = <0>; 38 38 39 cpm_comphy0: phy@0 { 39 cpm_comphy0: phy@0 { 40 reg = <0>; 40 reg = <0>; 41 #phy-cells = <1>; 41 #phy-cells = <1>; 42 }; 42 }; 43 43 44 cpm_comphy1: phy@1 { 44 cpm_comphy1: phy@1 { 45 reg = <1>; 45 reg = <1>; 46 #phy-cells = <1>; 46 #phy-cells = <1>; 47 }; 47 }; 48 }; 48 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.