Merge tag 'selinux-pr-20170831' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / phy / phy-mvebu-comphy.txt
1 mvebu comphy driver
2 -------------------
3
4 A comphy controller can be found on Marvell Armada 7k/8k on the CP110. It
5 provides a number of shared PHYs used by various interfaces (network, sata,
6 usb, PCIe...).
7
8 Required properties:
9
10 - compatible: should be "marvell,comphy-cp110"
11 - reg: should contain the comphy register location and length.
12 - marvell,system-controller: should contain a phandle to the
13                              system controller node.
14 - #address-cells: should be 1.
15 - #size-cells: should be 0.
16
17 A sub-node is required for each comphy lane provided by the comphy.
18
19 Required properties (child nodes):
20
21 - reg: comphy lane number.
22 - #phy-cells : from the generic phy bindings, must be 1. Defines the
23                input port to use for a given comphy lane.
24
25 Example:
26
27         cpm_comphy: phy@120000 {
28                 compatible = "marvell,comphy-cp110";
29                 reg = <0x120000 0x6000>;
30                 marvell,system-controller = <&cpm_syscon0>;
31                 #address-cells = <1>;
32                 #size-cells = <0>;
33
34                 cpm_comphy0: phy@0 {
35                         reg = <0>;
36                         #phy-cells = <1>;
37                 };
38
39                 cpm_comphy1: phy@1 {
40                         reg = <1>;
41                         #phy-cells = <1>;
42                 };
43         };