xref: /freebsd/sys/contrib/device-tree/Bindings/phy/berlin-sata-phy.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBerlin SATA PHY
2*c66ec88fSEmmanuel Vadot---------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot- compatible: should be one of
6*c66ec88fSEmmanuel Vadot    "marvell,berlin2-sata-phy"
7*c66ec88fSEmmanuel Vadot    "marvell,berlin2q-sata-phy"
8*c66ec88fSEmmanuel Vadot- address-cells: should be 1
9*c66ec88fSEmmanuel Vadot- size-cells: should be 0
10*c66ec88fSEmmanuel Vadot- phy-cells: from the generic PHY bindings, must be 1
11*c66ec88fSEmmanuel Vadot- reg: address and length of the register
12*c66ec88fSEmmanuel Vadot- clocks: reference to the clock entry
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotSub-nodes:
15*c66ec88fSEmmanuel VadotEach PHY should be represented as a sub-node.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotSub-nodes required properties:
18*c66ec88fSEmmanuel Vadot- reg: the PHY number
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel VadotExample:
21*c66ec88fSEmmanuel Vadot	sata_phy: phy@f7e900a0 {
22*c66ec88fSEmmanuel Vadot		compatible = "marvell,berlin2q-sata-phy";
23*c66ec88fSEmmanuel Vadot		reg = <0xf7e900a0 0x200>;
24*c66ec88fSEmmanuel Vadot		clocks = <&chip CLKID_SATA>;
25*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
26*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
27*c66ec88fSEmmanuel Vadot		#phy-cells = <1>;
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot		sata-phy@0 {
30*c66ec88fSEmmanuel Vadot			reg = <0>;
31*c66ec88fSEmmanuel Vadot		};
32*c66ec88fSEmmanuel Vadot
33*c66ec88fSEmmanuel Vadot		sata-phy@1 {
34*c66ec88fSEmmanuel Vadot			reg = <1>;
35*c66ec88fSEmmanuel Vadot		};
36*c66ec88fSEmmanuel Vadot	};
37