aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-pci-phy/mediatek,mt7621-pci-phy.txt
blob: a369d715378b2dcad1843411d9aeb5ddeb312e4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Mediatek Mt7621 PCIe PHY

Required properties:
- compatible: must be "mediatek,mt7621-pci-phy"
- reg: base address and length of the PCIe PHY block
- #phy-cells: must be <1> for pcie0_phy and for pcie1_phy.

Example:
	pcie0_phy: pcie-phy@1e149000 {
		compatible = "mediatek,mt7621-pci-phy";
		reg = <0x1e149000 0x0700>;
		#phy-cells = <1>;
	};

	pcie1_phy: pcie-phy@1e14a000 {
		compatible = "mediatek,mt7621-pci-phy";
		reg = <0x1e14a000 0x0700>;
		#phy-cells = <1>;
	};

	/* users of the PCIe phy */

	pcie: pcie@1e140000 {
		...
		...
		phys = <&pcie0_phy 0>, <&pcie0_phy 1>, <&pcie1_phy 0>;
		phy-names = "pcie-phy0", "pcie-phy1", "pcie-phy2";
	};