Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756318AbbEVBHK (ORCPT ); Thu, 21 May 2015 21:07:10 -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 S1755992AbbEVBHH (ORCPT ); Thu, 21 May 2015 21:07:07 -0400 X-IronPort-AV: E=Sophos;i="5.13,472,1427785200"; d="scan'208";a="65386784" From: Ray Jui To: Kishon Vijay Abraham I , Arnd Bergmann CC: , "JD (Jiandong) Zheng" , Arun Parameswaran , , Ray Jui Subject: [PATCH v2 1/5] dt_bindings: Add iProc MDC/MDIO interface binding Date: Thu, 21 May 2015 18:07:05 -0700 Message-ID: <1432256829-17931-2-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: 1578 Lines: 46 Define device tree bindings for iProc MDC/MDIO bus interface Signed-off-by: Ray Jui Reviewed-by: Arun Parameswaran Reviewed-by: JD (Jiandong) Zheng Reviewed-by: Scott Branden --- .../devicetree/bindings/bus/brcm,iproc-mdio.txt | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/brcm,iproc-mdio.txt diff --git a/Documentation/devicetree/bindings/bus/brcm,iproc-mdio.txt b/Documentation/devicetree/bindings/bus/brcm,iproc-mdio.txt new file mode 100644 index 0000000..db7228b --- /dev/null +++ b/Documentation/devicetree/bindings/bus/brcm,iproc-mdio.txt @@ -0,0 +1,21 @@ +Broadcom iProc MDC/MDIO bus interface + +The iProc MDC/MDIO bus interface is found on various iProc based SoCs and is +used to communicate with various types of Serdes/PHYs including Ethernet, +PCIe, USB, and etc. + +Required properties: +- compatible: Must be "brcm,iproc-mdio" +- reg: base address and length of the MDC/MDIO interface +- address-cells: must be 1 +- size-cells: must be 1 +- ranges: leave it empty + +Example: + mdio_bus: mdio_bus@18002000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "brcm,iproc-mdio"; + ranges; + reg = <0x18002000 0x8>; + }; -- 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/