From patchwork Thu Jul 7 23:08:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9219911 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DB2C560467 for ; Thu, 7 Jul 2016 23:11:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C696C27C26 for ; Thu, 7 Jul 2016 23:11:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9D6E27C39; Thu, 7 Jul 2016 23:11:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6AA1227C26 for ; Thu, 7 Jul 2016 23:11:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bLIRE-0003OH-Un; Thu, 07 Jul 2016 23:10:32 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bLIQS-0001Td-Vz for linux-arm-kernel@lists.infradead.org; Thu, 07 Jul 2016 23:09:46 +0000 Received: by mail-pa0-x235.google.com with SMTP id uj8so9791621pab.3 for ; Thu, 07 Jul 2016 16:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kJR/DnZD8Fflh7PexRMCcY5+usg7wrDVdNwG6Mbo8ic=; b=dxUfBNHk6gSvT0PHLyw9Eicpjr7NfzsJ+cPs5EHUc6mjdk4HsPe9Lm2u92Xuslkfa/ iGwutYfjHY0yI+F8esxtBElA9D060nbiDAhgGzbxscg2+N+ZWEHGV6huEWAkMx44HGZG SrrEakiQMD8Qy2iSUcPdIcY5Oeih4OVbTkXcY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kJR/DnZD8Fflh7PexRMCcY5+usg7wrDVdNwG6Mbo8ic=; b=h313IKH1/REE3iE4AGFx/wM5dH8a3flOsiit7tNiqBVCD267pQ/FQVQLWYPXmUlDwk HM2GHolxyu9CGIxojD+KOi67gNWRyJQRtVgMz3LJzzbtLF87XWAwzmAj9re2dtRht8Yl BUwZT7m1mDR14Z8j6Y9d3KoD9YfjZqwgscmdDEYT4JJCEUIiVUwemvvDMxrKpsVsydqf r7msdp++fKQ2kIjWI4uq3qtZrJt3M5oL7YG5NLI3ogQZtIfHUlqdnmL0m/Krpz3DfS6Q Kx03hyKiJGZ8rzjWBH6+yQBhaH3jm59DhR8BXCJVzb2rhA5c/mW5BadYR3KHRX6ZhS9/ mLzg== X-Gm-Message-State: ALyK8tL47vKGTCVsghvpAGtkA++yjsyO2Vd9+F8o0Vcrji0BBW7TLzVzwL1fkuKwxsRS96h7 X-Received: by 10.66.83.35 with SMTP id n3mr4516993pay.124.1467932963999; Thu, 07 Jul 2016 16:09:23 -0700 (PDT) Received: from venom.rtp.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id y70sm3838514pff.25.2016.07.07.16.09.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jul 2016 16:09:23 -0700 (PDT) From: Jon Mason To: davem@davemloft.net, f.fainelli@gmail.com Subject: [PATCH v2 6/6] dt-bindings: net: bgmac: add bindings documentation for bgmac Date: Thu, 7 Jul 2016 19:08:58 -0400 Message-Id: <1467932938-21819-7-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467932938-21819-1-git-send-email-jon.mason@broadcom.com> References: <1467932938-21819-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160707_160945_177468_41B8A6CF X-CRM114-Status: GOOD ( 13.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Scott Branden , Pawel Moll , Ian Campbell , hauke@hauke-m.de, zajec5@gmail.com, linux-kernel@vger.kernel.org, Ray Jui , Rob Herring , bcm-kernel-feedback-list@broadcom.com, Kumar Gala , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jon Mason Reviewed-by: Florian Fainelli Tested-by: Florian Fainelli Acked-by: Rob Herring --- .../devicetree/bindings/net/brcm,amac.txt | 24 ++++++++++++++++++++++ .../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,amac.txt create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt diff --git a/Documentation/devicetree/bindings/net/brcm,amac.txt b/Documentation/devicetree/bindings/net/brcm,amac.txt new file mode 100644 index 0000000..ba5ecc1 --- /dev/null +++ b/Documentation/devicetree/bindings/net/brcm,amac.txt @@ -0,0 +1,24 @@ +Broadcom AMAC Ethernet Controller Device Tree Bindings +------------------------------------------------------------- + +Required properties: + - compatible: "brcm,amac" or "brcm,nsp-amac" + - reg: Address and length of the GMAC registers, + Address and length of the GMAC IDM registers + - reg-names: Names of the registers. Must have both "amac_base" and + "idm_base" + - interrupts: Interrupt number + +Optional properties: +- mac-address: See ethernet.txt file in the same directory + +Examples: + +amac0: ethernet@18022000 { + compatible = "brcm,nsp-amac"; + reg = <0x18022000 0x1000>, + <0x18110000 0x1000>; + reg-names = "amac_base", "idm_base"; + interrupts = ; + status = "disabled"; +}; diff --git a/Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt b/Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt new file mode 100644 index 0000000..022946c --- /dev/null +++ b/Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt @@ -0,0 +1,24 @@ +Broadcom GMAC Ethernet Controller Device Tree Bindings +------------------------------------------------------------- + +Required properties: + - compatible: "brcm,bgmac-nsp" + - reg: Address and length of the GMAC registers, + Address and length of the GMAC IDM registers + - reg-names: Names of the registers. Must have both "gmac_base" and + "idm_base" + - interrupts: Interrupt number + +Optional properties: +- mac-address: See ethernet.txt file in the same directory + +Examples: + +gmac0: ethernet@18022000 { + compatible = "brcm,bgmac-nsp"; + reg = <0x18022000 0x1000>, + <0x18110000 0x1000>; + reg-names = "gmac_base", "idm_base"; + interrupts = ; + status = "disabled"; +};