Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753198AbbDFVmn (ORCPT ); Mon, 6 Apr 2015 17:42:43 -0400 Received: from mail-qk0-f202.google.com ([209.85.220.202]:33028 "EHLO mail-qk0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752687AbbDFVml (ORCPT ); Mon, 6 Apr 2015 17:42:41 -0400 From: Andrew Bresticker To: "David S. Miller" , Giuseppe Cavallaro Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Bresticker , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , James Hartley Subject: [PATCH V2 1/2] stmmac: Add binding document for IMG Pistachio DWMAC Date: Mon, 6 Apr 2015 14:42:37 -0700 Message-Id: <1428356558-18367-1-git-send-email-abrestic@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1918 Lines: 55 Add a binding document for the DWMAC ethernet controller found on the IMG Pistachio SoC. Signed-off-by: Andrew Bresticker Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: James Hartley --- No changes from v1. --- .../devicetree/bindings/net/pistachio-dwmac.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/pistachio-dwmac.txt diff --git a/Documentation/devicetree/bindings/net/pistachio-dwmac.txt b/Documentation/devicetree/bindings/net/pistachio-dwmac.txt new file mode 100644 index 0000000..9781469 --- /dev/null +++ b/Documentation/devicetree/bindings/net/pistachio-dwmac.txt @@ -0,0 +1,24 @@ +IMG Pistachio Ethernet Controller +================================= + +This device is a variant of the DWMAC and inherits the properties described +in ./stmmac.txt. + +Required properties: +-------------------- + - compatible: Must contain "img,pistachio-dwmac" and "snps,dwmac". + - clocks: Must contain an entry for each entry in clock-names. + See ../clock/clock-bindings.txt for details. + - clock-names: Must include "stmmaceth" and "sys". + +Example: +-------- +ethernet@18140000 { + compatible = "img,pistachio-dwmac"; + reg = <0x18140000 0x2000>; + interrupts = ; + interrupt-names = "macirq"; + clocks = <&clk_core CLK_ENET>, <&cr_periph SYS_CLK_ENET>; + clock-names = "stmmaceth", "sys"; + phy-mode = "rmii"; +}; -- 2.2.0.rc0.207.ga3a616c -- 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/