Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756763AbbLHNwZ (ORCPT ); Tue, 8 Dec 2015 08:52:25 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38308 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756687AbbLHNwV (ORCPT ); Tue, 8 Dec 2015 08:52:21 -0500 From: Neil Armstrong To: nicolas.ferre@atmel.com, davem@davemloft.net, harini.katakam@xilinx.com, boris.brezillon@free-electrons.com, alexandre.belloni@free-electrons.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, joshc@ni.com Cc: Neil Armstrong Subject: [PATCH v2 net-next 3/3] bindings: ethernet: macb: Add optional caps properties Date: Tue, 8 Dec 2015 14:52:06 +0100 Message-Id: <1449582726-6148-4-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449582726-6148-1-git-send-email-narmstrong@baylibre.com> References: <1449485914-12883-1-git-send-email-narmstrong@baylibre.com> <1449582726-6148-1-git-send-email-narmstrong@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1564 Lines: 37 Add generic caps properties to the binding in order to support future macb/gem implementations with the generic macb compatible form. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/net/macb.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt index b5d7976..891c72e 100644 --- a/Documentation/devicetree/bindings/net/macb.txt +++ b/Documentation/devicetree/bindings/net/macb.txt @@ -19,6 +19,16 @@ Required properties: Optional elements: 'tx_clk' - clocks: Phandles to input clocks. +Optional properties: +- cdns,usrio-has-clken: Boolean; The USRIO register has an clock-enable bit. +- cdns,usrio-default-mii: Boolean; The USRIO register defaults to MII mode. +- cdns,usrio-disabled: Boolean; The USRIO register is not implemented. +- cdns,no-gigabit-half: Boolean; The MAC does not support 1000/Half link mode. +- cdns,gem-sg-disabled: Boolean; The MAC does not support Scatter-Gather mode. +- cdns,gem-has-gigabit: Boolean; The MAC supports Gigabit Ethernet. +- cdns,dma-burst-length: Should countain the DMA burst length. +- cdns,jumbo-max-length: Should countain the maximum Jumbo frame length. + Examples: macb0: ethernet@fffc4000 { -- 1.9.1 -- 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/