Ray Jui | 9d030e1 | 2015-09-21 10:17:17 -0700 | [diff] [blame] | 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: |
Marco Franchi | 48c926c | 2017-11-08 14:27:48 -0200 | [diff] [blame] | 18 | pcie_phy: phy@301d0a0 { |
Ray Jui | 9d030e1 | 2015-09-21 10:17:17 -0700 | [diff] [blame] | 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 | }; |