From patchwork Thu Jun 30 22:59:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9209063 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 06A9C6075A for ; Thu, 30 Jun 2016 23:02:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBFB528515 for ; Thu, 30 Jun 2016 23:02:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF8EB2852A; Thu, 30 Jun 2016 23:02:48 +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=ham 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 6FC1D28515 for ; Thu, 30 Jun 2016 23:02:48 +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 1bIkxZ-0005E5-Ii; Thu, 30 Jun 2016 23:01:25 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bIkwK-0002kC-5O for linux-arm-kernel@lists.infradead.org; Thu, 30 Jun 2016 23:00:11 +0000 Received: by mail-pa0-x22c.google.com with SMTP id bz2so32425195pad.1 for ; Thu, 30 Jun 2016 15:59:46 -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=pEaJJX/CdyRaiWjSKRsVIgM8WM1LiVqZA2swNBEo33o=; b=CoW5M07k6IKNMKTWxu2g2ygQ3c9xFBJIK1uObGEgkM6kJrr8AvJUKTsZvKVIBMjd0h fdZ+X0dHFJPaevkze4C5YEJHL8mAT+7ArF3KltvSZnAvHa20yKeRbk9ei44OrSXPL4E9 1ihn5zur2MzgLik2aUi63O2fOffSydPNjwKqQ= 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=pEaJJX/CdyRaiWjSKRsVIgM8WM1LiVqZA2swNBEo33o=; b=Gdt55HCKz1c6AatDfLBLYMaSSTNSf2QYiQhDWBVuoywCa8Srm4iLwojr7p6FkGvM6H IdF9Evkj1M49J5mRMkCabcQm1xarNwwvNSVHCsbVMkPsTHFAq/IJoYJalWrM2W5olbox 4jeRwqZk6uMafxE6nJ5IzIS+tM3SBbrxh1k0wDDsqjt/KC7eLlwp9hAszCH3pehBuyTq 667gs9XKp7h2wW0YKdqjhrmded5H7Qy+z7MyFVgTSez2t9vJvsIHjv9SWIPBe4RQea1Q G1iBlYaLVzh2/O3XbQuPZC5PHsquDzGE7Mg/p/AbzFxfjQ81Cepfn7YQvKO2n0iE9/44 C53g== X-Gm-Message-State: ALyK8tLgp7s8gU49jXCrUoos8s92thUBWXI+QbURshEkWdcK2wcWh/iYP7Zpb2SlEFY8m5kT X-Received: by 10.67.3.105 with SMTP id bv9mr26108214pad.29.1467327586141; Thu, 30 Jun 2016 15:59:46 -0700 (PDT) Received: from venom.rtp.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id zv2sm395767pac.43.2016.06.30.15.59.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Jun 2016 15:59:45 -0700 (PDT) From: Jon Mason To: zajec5@gmail.com Subject: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac Date: Thu, 30 Jun 2016 18:59:13 -0400 Message-Id: <1467327554-22074-7-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467327554-22074-1-git-send-email-jon.mason@broadcom.com> References: <1467327554-22074-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160630_160008_363365_F94C53C6 X-CRM114-Status: GOOD ( 13.36 ) 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, f.fainelli@gmail.com, Scott Branden , Pawel Moll , Ian Campbell , hauke@hauke-m.de, linux-kernel@vger.kernel.org, Ray Jui , Rob Herring , bcm-kernel-feedback-list@broadcom.com, Kumar Gala , netdev@vger.kernel.org, davem@davemloft.net, 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 --- .../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt 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"; +};