Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756504AbbEVBHP (ORCPT ); Thu, 21 May 2015 21:07:15 -0400 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:5551 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756331AbbEVBHL (ORCPT ); Thu, 21 May 2015 21:07:11 -0400 X-IronPort-AV: E=Sophos;i="5.13,472,1427785200"; d="scan'208";a="65386789" From: Ray Jui To: Kishon Vijay Abraham I , Arnd Bergmann CC: , "JD (Jiandong) Zheng" , Arun Parameswaran , , Ray Jui Subject: [PATCH v2 3/5] phy: cygnus: pcie: Define DT binding Date: Thu, 21 May 2015 18:07:07 -0700 Message-ID: <1432256829-17931-4-git-send-email-rjui@broadcom.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1432256829-17931-1-git-send-email-rjui@broadcom.com> References: <1432256829-17931-1-git-send-email-rjui@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1638 Lines: 59 Add DT binding document for Broadcom Cygnus PCIe PHY driver Signed-off-by: Ray Jui Reviewed-by: Arun Parameswaran Reviewed-by: JD (Jiandong) Zheng Reviewed-by: Scott Branden --- .../bindings/phy/brcm,cygnus-pcie-phy.txt | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt diff --git a/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt b/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt new file mode 100644 index 0000000..1b1a7af --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt @@ -0,0 +1,34 @@ +Broadcom Cygnus PCIe PHY + +Required properties: +- compatible: Must be "brcm,cygnus-pcie-phy" +- reg: base address and length of the CRMU block +- #phy-cells: must be <2> +The first cell is the PHY ID: +0 - PCIe RC 0 +1 - PCIe RC 1 +The second cell is the internal PHY address + +Example: + mdio_bus { + ... + phy: phy@0301d0a0 { + compatible = "brcm,cygnus-pcie-phy"; + reg = <0x0301d0a0 0x14>; + #phy-cells = <2>; + }; + }; + + pcie0: pcie@18012000 { + ... + ... + phys = <&phy 0 5>; + phy-names = "pcie-phy"; + }; + + pcie1: pcie@18013000 { + ... + ... + phys = <&phy 1 6>; + phy-names = "pcie-phy"; + }; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/