xref: /freebsd/sys/contrib/device-tree/Bindings/phy/brcm,sr-pcie-phy.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom Stingray PCIe PHY
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: must be "brcm,sr-pcie-phy"
5*c66ec88fSEmmanuel Vadot- reg: base address and length of the PCIe SS register space
6*c66ec88fSEmmanuel Vadot- brcm,sr-cdru: phandle to the CDRU syscon node
7*c66ec88fSEmmanuel Vadot- brcm,sr-mhb: phandle to the MHB syscon node
8*c66ec88fSEmmanuel Vadot- #phy-cells: Must be 1, denotes the PHY index
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotFor PAXB based root complex, one can have a configuration of up to 8 PHYs
11*c66ec88fSEmmanuel VadotPHY index goes from 0 to 7
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotFor the internal PAXC based root complex, PHY index is always 8
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot	mhb: syscon@60401000 {
17*c66ec88fSEmmanuel Vadot		compatible = "brcm,sr-mhb", "syscon";
18*c66ec88fSEmmanuel Vadot		reg = <0 0x60401000 0 0x38c>;
19*c66ec88fSEmmanuel Vadot	};
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	cdru: syscon@6641d000 {
22*c66ec88fSEmmanuel Vadot		compatible = "brcm,sr-cdru", "syscon";
23*c66ec88fSEmmanuel Vadot		reg = <0 0x6641d000 0 0x400>;
24*c66ec88fSEmmanuel Vadot	};
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot	pcie_phy: phy@40000000 {
27*c66ec88fSEmmanuel Vadot		compatible = "brcm,sr-pcie-phy";
28*c66ec88fSEmmanuel Vadot		reg = <0 0x40000000 0 0x800>;
29*c66ec88fSEmmanuel Vadot		brcm,sr-cdru = <&cdru>;
30*c66ec88fSEmmanuel Vadot		brcm,sr-mhb = <&mhb>;
31*c66ec88fSEmmanuel Vadot		#phy-cells = <1>;
32*c66ec88fSEmmanuel Vadot	};
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot	/* users of the PCIe PHY */
35*c66ec88fSEmmanuel Vadot
36*c66ec88fSEmmanuel Vadot	pcie0: pcie@48000000 {
37*c66ec88fSEmmanuel Vadot		...
38*c66ec88fSEmmanuel Vadot		...
39*c66ec88fSEmmanuel Vadot		phys = <&pcie_phy 0>;
40*c66ec88fSEmmanuel Vadot		phy-names = "pcie-phy";
41*c66ec88fSEmmanuel Vadot	};
42