diff options
| -rw-r--r-- | Documentation/devicetree/bindings/phy/berlin-sata-phy.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/berlin-sata-phy.txt b/Documentation/devicetree/bindings/phy/berlin-sata-phy.txt new file mode 100644 index 000000000000..88f8c23384c0 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/berlin-sata-phy.txt | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | Berlin SATA PHY | ||
| 2 | --------------- | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible: should be "marvell,berlin2q-sata-phy" | ||
| 6 | - address-cells: should be 1 | ||
| 7 | - size-cells: should be 0 | ||
| 8 | - phy-cells: from the generic PHY bindings, must be 1 | ||
| 9 | - reg: address and length of the register | ||
| 10 | - clocks: reference to the clock entry | ||
| 11 | |||
| 12 | Sub-nodes: | ||
| 13 | Each PHY should be represented as a sub-node. | ||
| 14 | |||
| 15 | Sub-nodes required properties: | ||
| 16 | - reg: the PHY number | ||
| 17 | |||
| 18 | Example: | ||
| 19 | sata_phy: phy@f7e900a0 { | ||
| 20 | compatible = "marvell,berlin2q-sata-phy"; | ||
| 21 | reg = <0xf7e900a0 0x200>; | ||
| 22 | clocks = <&chip CLKID_SATA>; | ||
| 23 | #address-cells = <1>; | ||
| 24 | #size-cells = <0>; | ||
| 25 | #phy-cells = <1>; | ||
| 26 | |||
| 27 | sata-phy@0 { | ||
| 28 | reg = <0>; | ||
| 29 | }; | ||
| 30 | |||
| 31 | sata-phy@1 { | ||
| 32 | reg = <1>; | ||
| 33 | }; | ||
| 34 | }; | ||
