-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Add-comphy-support-for-Armada-38x'
Russell King says: ==================== Add comphy support for Armada 38x This series adds support for the comphy for Armada 38x, which allows these SoCs to use 2500BASE-X mode with appropriate SFP modules. Tested on SolidRun Clearfog after updating for the 5.0 merge window changes. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
8 changed files
with
369 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
Documentation/devicetree/bindings/phy/phy-armada38x-comphy.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
mvebu armada 38x comphy driver | ||
------------------------------ | ||
|
||
This comphy controller can be found on Marvell Armada 38x. It provides a | ||
number of shared PHYs used by various interfaces (network, sata, usb, | ||
PCIe...). | ||
|
||
Required properties: | ||
|
||
- compatible: should be "marvell,armada-380-comphy" | ||
- reg: should contain the comphy register location and length. | ||
- #address-cells: should be 1. | ||
- #size-cells: should be 0. | ||
|
||
A sub-node is required for each comphy lane provided by the comphy. | ||
|
||
Required properties (child nodes): | ||
|
||
- reg: comphy lane number. | ||
- #phy-cells : from the generic phy bindings, must be 1. Defines the | ||
input port to use for a given comphy lane. | ||
|
||
Example: | ||
|
||
comphy: phy@18300 { | ||
compatible = "marvell,armada-380-comphy"; | ||
reg = <0x18300 0x100>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpm_comphy0: phy@0 { | ||
reg = <0>; | ||
#phy-cells = <1>; | ||
}; | ||
|
||
cpm_comphy1: phy@1 { | ||
reg = <1>; | ||
#phy-cells = <1>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.