Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: Add binding doc for Stingray PCIe PHY

Add binding document for Stingray PCIe PHYs for both PAXB and PAXC based
root complex

Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Ray Jui and committed by
Kishon Vijay Abraham I
95fb2125 5b9d2e8f

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