diff options
| -rw-r--r-- | Documentation/devicetree/bindings/phy/hix5hd2-phy.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt b/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt new file mode 100644 index 000000000000..296168b74d24 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | Hisilicon hix5hd2 SATA PHY | ||
| 2 | ----------------------- | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible: should be "hisilicon,hix5hd2-sata-phy" | ||
| 6 | - reg: offset and length of the PHY registers | ||
| 7 | - #phy-cells: must be 0 | ||
| 8 | Refer to phy/phy-bindings.txt for the generic PHY binding properties | ||
| 9 | |||
| 10 | Optional Properties: | ||
| 11 | - hisilicon,peripheral-syscon: phandle of syscon used to control peripheral. | ||
| 12 | - hisilicon,power-reg: offset and bit number within peripheral-syscon, | ||
| 13 | register of controlling sata power supply. | ||
| 14 | |||
| 15 | Example: | ||
| 16 | sata_phy: phy@f9900000 { | ||
| 17 | compatible = "hisilicon,hix5hd2-sata-phy"; | ||
| 18 | reg = <0xf9900000 0x10000>; | ||
| 19 | #phy-cells = <0>; | ||
| 20 | hisilicon,peripheral-syscon = <&peripheral_ctrl>; | ||
| 21 | hisilicon,power-reg = <0x8 10>; | ||
| 22 | }; | ||
