xref: /freebsd/sys/contrib/device-tree/Bindings/phy/hix5hd2-phy.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotHisilicon hix5hd2 SATA PHY
2*c66ec88fSEmmanuel Vadot-----------------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot- compatible: should be "hisilicon,hix5hd2-sata-phy"
6*c66ec88fSEmmanuel Vadot- reg: offset and length of the PHY registers
7*c66ec88fSEmmanuel Vadot- #phy-cells: must be 0
8*c66ec88fSEmmanuel VadotRefer to phy/phy-bindings.txt for the generic PHY binding properties
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotOptional Properties:
11*c66ec88fSEmmanuel Vadot- hisilicon,peripheral-syscon: phandle of syscon used to control peripheral.
12*c66ec88fSEmmanuel Vadot- hisilicon,power-reg: offset and bit number within peripheral-syscon,
13*c66ec88fSEmmanuel Vadot	register of controlling sata power supply.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot	sata_phy: phy@f9900000 {
17*c66ec88fSEmmanuel Vadot		compatible = "hisilicon,hix5hd2-sata-phy";
18*c66ec88fSEmmanuel Vadot		reg = <0xf9900000 0x10000>;
19*c66ec88fSEmmanuel Vadot		#phy-cells = <0>;
20*c66ec88fSEmmanuel Vadot		hisilicon,peripheral-syscon = <&peripheral_ctrl>;
21*c66ec88fSEmmanuel Vadot		hisilicon,power-reg = <0x8 10>;
22*c66ec88fSEmmanuel Vadot	};
23