GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / phy / berlin-sata-phy.txt
1 Berlin SATA PHY
2 ---------------
3
4 Required properties:
5 - compatible: should be one of
6     "marvell,berlin2-sata-phy"
7     "marvell,berlin2q-sata-phy"
8 - address-cells: should be 1
9 - size-cells: should be 0
10 - phy-cells: from the generic PHY bindings, must be 1
11 - reg: address and length of the register
12 - clocks: reference to the clock entry
13
14 Sub-nodes:
15 Each PHY should be represented as a sub-node.
16
17 Sub-nodes required properties:
18 - reg: the PHY number
19
20 Example:
21         sata_phy: phy@f7e900a0 {
22                 compatible = "marvell,berlin2q-sata-phy";
23                 reg = <0xf7e900a0 0x200>;
24                 clocks = <&chip CLKID_SATA>;
25                 #address-cells = <1>;
26                 #size-cells = <0>;
27                 #phy-cells = <1>;
28
29                 sata-phy@0 {
30                         reg = <0>;
31                 };
32
33                 sata-phy@1 {
34                         reg = <1>;
35                 };
36         };