Commit | Line | Data |
---|---|---|
9d030e17 RJ |
1 | Broadcom Cygnus PCIe PHY |
2 | ||
3 | Required properties: | |
4 | - compatible: must be "brcm,cygnus-pcie-phy" | |
5 | - reg: base address and length of the PCIe PHY block | |
6 | - #address-cells: must be 1 | |
7 | - #size-cells: must be 0 | |
8 | ||
9 | Each PCIe PHY should be represented by a child node | |
10 | ||
11 | Required properties For the child node: | |
12 | - reg: the PHY ID | |
13 | 0 - PCIe RC 0 | |
14 | 1 - PCIe RC 1 | |
15 | - #phy-cells: must be 0 | |
16 | ||
17 | Example: | |
18 | pcie_phy: phy@0301d0a0 { | |
19 | compatible = "brcm,cygnus-pcie-phy"; | |
20 | reg = <0x0301d0a0 0x14>; | |
21 | ||
22 | pcie0_phy: phy@0 { | |
23 | reg = <0>; | |
24 | #phy-cells = <0>; | |
25 | }; | |
26 | ||
27 | pcie1_phy: phy@1 { | |
28 | reg = <1>; | |
29 | #phy-cells = <0>; | |
30 | }; | |
31 | }; | |
32 | ||
33 | /* users of the PCIe phy */ | |
34 | ||
35 | pcie0: pcie@18012000 { | |
36 | ... | |
37 | ... | |
38 | phys = <&pcie0_phy>; | |
39 | phy-names = "pcie-phy"; | |
40 | }; | |
41 | ||
42 | pcie1: pcie@18013000 { | |
43 | ... | |
44 | ... | |
45 | phys = <pcie1_phy>; | |
46 | phy-names = "pcie-phy"; | |
47 | }; |