Received: by 10.223.185.116 with SMTP id b49csp1041926wrg; Fri, 16 Feb 2018 11:20:02 -0800 (PST) X-Google-Smtp-Source: AH8x225GHzOyso2PNamYUVtwHzi3vSd5yrmkiMe8lScA9TEHTxzmG1heNdQ4LBNUbRff99GqRwzo X-Received: by 10.99.174.5 with SMTP id q5mr5896406pgf.3.1518808802287; Fri, 16 Feb 2018 11:20:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518808802; cv=none; d=google.com; s=arc-20160816; b=Rjo6WFB24zotqB4f6mciRpAFeb0CAR6lcsYmcz2wj8apICZBCOOhj4O4DgKQMMxIsi wJ18KAP7pt1SlaBReU9S3bl05DzkiLYYEA+QspRr/XtkQMiHiasezZBqBtzjreWzeJlG 4RbkqAJdpDpB0lrShrjvhL6mOkwmdPoGDv9MWREIqU+mv2KY39qpamVRaJKIZaqF9PiF lvrKOWJhmPq8WLWkl337s5qGdOGWPwu9UNfcwY+rE7ZSyTogx54lwvbvnX09l1LRPY+l lUWkYtpsvEgT00nqBS+dbaTaxRHu5ssyarNlObQ7kIHEkl92RU3rBSg+zV3lA8DO/1Mk uwNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Voi925Q6xXkUrOMrhfuZN8YGwFX5X3cru53tnB3RIYg=; b=CsTsZTNFgSAenyGevs8jWp2RiG2mx68pqMnsnz5+O5Lc1bumwSf2U1KDDj6lVXuamA 3FMZI+h/KrMPfvz3Q9cLm9zunRLG/gtx35VgYXI2XrJj78sksP6KgU/dAG9I2AldMN62 ub6qycey7JljWc0StT/GX5qXG9glJF8Pieb07KxC3f34ds5yVhQzfG0+JAuyfXNqb/8M TOwcStAzJTCsvsktkZ2HJAzei3qCrF51CLlecGHSOxF2/mjchjZNm8WrgxofFtZcT6+6 mxQVEu/QAf1pqHVeUj6BOirIXmD8L/oO13dly+JczznDT3jm1i40Uc1pOwi5DSZEfgBj GtXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1-v6si4518969plt.728.2018.02.16.11.19.47; Fri, 16 Feb 2018 11:20:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758853AbeBPRFk (ORCPT + 99 others); Fri, 16 Feb 2018 12:05:40 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35579 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758836AbeBPRFi (ORCPT ); Fri, 16 Feb 2018 12:05:38 -0500 Received: by mail-pg0-f66.google.com with SMTP id l131so2879993pga.2 for ; Fri, 16 Feb 2018 09:05:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Voi925Q6xXkUrOMrhfuZN8YGwFX5X3cru53tnB3RIYg=; b=q7EegkGBtKW3oR/X90vGaaRRUJY2PiAjg3vVjBMS9W6tt3R2q8N5iHRjCOPxpQ4CHx Sx4X/9CXLdaV5CqH+zKxOoS1/4ulcu907Fq5F/WkHASSWjwcsKaomRTb64v7uGPkbZ2y O2xf1PiuswGAe5Bo5GJf6uXche4H91MYtmZplNn4BgA85mPfUbJqkhEXoYbX9tGrtGEq 9qKi+IJwhejHU/isLgcz8KYHJN0GsDU/BnQM6wTImcNXCimCYXvWJJlijA9pGU5KlMkS GUwO0c7VyPdfhd+iJ/vGTdCbvvolA+vok/9uMPQG66chqCddWy3E1zap6bLcUzAjLPr2 XBig== X-Gm-Message-State: APf1xPBLpOcZtAIN1wOYopHTF7haVsKQTE+uFGE//xpPbgS1pyhWX6TE k1GQQJVokjtjMgbv30QfoCZrH1szn94= X-Received: by 10.99.191.15 with SMTP id v15mr5796969pgf.216.1518800737487; Fri, 16 Feb 2018 09:05:37 -0800 (PST) Received: from localhost (207-114-172-147.static.twtelecom.net. [207.114.172.147]) by smtp.gmail.com with ESMTPSA id j1sm38687199pff.94.2018.02.16.09.05.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Feb 2018 09:05:36 -0800 (PST) From: Moritz Fischer To: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, andrew@lunn.ch, f.fainelli@gmail.com, davem@davemloft.net, Moritz Fischer Subject: [PATCH v3 1/2] dt-bindings: net: Add bindings for National Instruments XGE netdev Date: Fri, 16 Feb 2018 09:00:32 -0800 Message-Id: <20180216170033.3834-1-mdf@kernel.org> X-Mailer: git-send-email 2.16.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds bindings for the NI XGE 1G/10G network device. Signed-off-by: Moritz Fischer --- Changes from v2: - Addressed Rob's comments w.r.t to IRQ names and typo Changes from v1: - Corrected from nixge -> nixge.txt --- Documentation/devicetree/bindings/net/nixge.txt | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/nixge.txt diff --git a/Documentation/devicetree/bindings/net/nixge.txt b/Documentation/devicetree/bindings/net/nixge.txt new file mode 100644 index 000000000000..e55af7f0881a --- /dev/null +++ b/Documentation/devicetree/bindings/net/nixge.txt @@ -0,0 +1,32 @@ +* NI XGE Ethernet controller + +Required properties: +- compatible: Should be "ni,xge-enet-2.00" +- reg: Address and length of the register set for the device +- interrupts: Should contain tx and rx interrupt +- interrupt-names: Should be "rx" and "tx" +- phy-mode: See ethernet.txt file in the same directory. +- phy-handle: See ethernet.txt file in the same directory. +- nvmem-cells: Phandle of nvmem cell containing the MAC address +- nvmem-cell-names: Should be "address" + +Examples (10G generic PHY): + nixge0: ethernet@40000000 { + compatible = "ni,xge-enet-2.00"; + reg = <0x40000000 0x6000>; + + nvmem-cells = <ð1_addr>; + nvmem-cell-names = "address"; + + interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>, <0 30 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "rx", "tx"; + interrupt-parent = <&intc>; + + phy-mode = "xgmii"; + phy-handle = <ðernet_phy1>; + + ethernet_phy1: ethernet-phy@4 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <4>; + }; + }; -- 2.16.1