xref: /freebsd/sys/contrib/device-tree/Bindings/phy/brcm,cygnus-pcie-phy.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom Cygnus PCIe PHY
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: must be "brcm,cygnus-pcie-phy"
5*c66ec88fSEmmanuel Vadot- reg: base address and length of the PCIe PHY block
6*c66ec88fSEmmanuel Vadot- #address-cells: must be 1
7*c66ec88fSEmmanuel Vadot- #size-cells: must be 0
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotEach PCIe PHY should be represented by a child node
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotRequired properties For the child node:
12*c66ec88fSEmmanuel Vadot- reg: the PHY ID
13*c66ec88fSEmmanuel Vadot0 - PCIe RC 0
14*c66ec88fSEmmanuel Vadot1 - PCIe RC 1
15*c66ec88fSEmmanuel Vadot- #phy-cells: must be 0
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample:
18*c66ec88fSEmmanuel Vadot	pcie_phy: phy@301d0a0 {
19*c66ec88fSEmmanuel Vadot		compatible = "brcm,cygnus-pcie-phy";
20*c66ec88fSEmmanuel Vadot		reg = <0x0301d0a0 0x14>;
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot		pcie0_phy: phy@0 {
23*c66ec88fSEmmanuel Vadot			reg = <0>;
24*c66ec88fSEmmanuel Vadot			#phy-cells = <0>;
25*c66ec88fSEmmanuel Vadot		};
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot		pcie1_phy: phy@1 {
28*c66ec88fSEmmanuel Vadot			reg = <1>;
29*c66ec88fSEmmanuel Vadot			#phy-cells = <0>;
30*c66ec88fSEmmanuel Vadot		};
31*c66ec88fSEmmanuel Vadot	};
32*c66ec88fSEmmanuel Vadot
33*c66ec88fSEmmanuel Vadot	/* users of the PCIe phy */
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot	pcie0: pcie@18012000 {
36*c66ec88fSEmmanuel Vadot		...
37*c66ec88fSEmmanuel Vadot		...
38*c66ec88fSEmmanuel Vadot		phys = <&pcie0_phy>;
39*c66ec88fSEmmanuel Vadot		phy-names = "pcie-phy";
40*c66ec88fSEmmanuel Vadot	};
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot	pcie1: pcie@18013000 {
43*c66ec88fSEmmanuel Vadot		...
44*c66ec88fSEmmanuel Vadot		...
45*c66ec88fSEmmanuel Vadot		phys = <pcie1_phy>;
46*c66ec88fSEmmanuel Vadot		phy-names = "pcie-phy";
47*c66ec88fSEmmanuel Vadot	};
48