From patchwork Thu Jan 18 12:48:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 124944 Delivered-To: patch@linaro.org Received: by 10.46.64.27 with SMTP id n27csp111352lja; Thu, 18 Jan 2018 04:48:20 -0800 (PST) X-Google-Smtp-Source: ACJfBov2PIeT6c2J6CyPWhIje2lPu3LIezuUTISG5vkCWsltpS5+ecDIrVBPLhP1+dl9M2ZjPcme X-Received: by 10.98.110.202 with SMTP id j193mr12008195pfc.19.1516279700689; Thu, 18 Jan 2018 04:48:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516279700; cv=none; d=google.com; s=arc-20160816; b=tnTHw34H99JQryU2ZrEpYBZoGkqkThgtHRjzFxh0l9fqNPW2sMG5gBvzprITjbL/JO J0jiQEgWNqv1Vu6VmjrdnJf/qvfDkPPLw1cB/PfkvxacnhaETNtmb69JY63QjkOThgQI KDRvy5a8oYK97AKShLPfw8Xtv1Ra8ElqO0ZqgWmOz7iv9ik3TTihDriA97TBEwnKiGnx VgfMeKueDVnbSPWn02odO5sQYKKlFedOkaHU9nS9yduRCpn9zmjgvV6lAD9aOUDpza53 RXpgE2bhXtIH/5s1K2j6VfNEKsCbA7RyUEpeN/+5TKCo5OslViWkYhcra90+zB7B522F XhZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Gx0AfCFpbk7atNsCPCDzesiqlRBFmdm7V7eUgp5O8zw=; b=x/1kFiYT9R9eC+LaRlCqk48AYZb87Kp2jmFJerJOcd/PFefRoBMC792cAZNJAkaCGc U1Z9kW81DPcNyFLUtKtPHdkXJMeUtmwiRodn5rwAn4Xs/8Bd73CQF3AWo4H6MdzA7qV4 fP2GzeqWtJpeaNrGLDu2GsAxY6r8cBhbpanZPRLa8OyE4YxFjo19QruFzAUAt7Uwr2dK tJAraEqemRW8h9Ce/p4cd7DHXiyRS5chYXIjfMasVuCoGfdo45c3XEl5ZFVT5al5syVw GbeO1fQokmDhfcGVugzQtY3xRFdLzxYs00CFGMpHMcBIElTEvF2LuNCuJw09uSl7uu79 iQPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 g1si6595465pfj.303.2018.01.18.04.48.20; Thu, 18 Jan 2018 04:48:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754927AbeARMsT (ORCPT + 6 others); Thu, 18 Jan 2018 07:48:19 -0500 Received: from mx.socionext.com ([202.248.49.38]:44641 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755459AbeARMsT (ORCPT ); Thu, 18 Jan 2018 07:48:19 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 18 Jan 2018 21:48:18 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id A4E59180BE6; Thu, 18 Jan 2018 21:48:18 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 18 Jan 2018 21:48:24 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 402CE1A0DED; Thu, 18 Jan 2018 21:48:18 +0900 (JST) From: Kunihiko Hayashi To: Masahiro Yamada , linux-arm-kernel@lists.infradead.org Cc: Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH 2/2] arm64: dts: uniphier: add AVE ethernet node Date: Thu, 18 Jan 2018 21:48:09 +0900 Message-Id: <1516279689-3119-3-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516279689-3119-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1516279689-3119-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add nodes of the AVE ethernet controller for LD11 and LD20 SoCs and the boards. Signed-off-by: Kunihiko Hayashi Signed-off-by: Jassi Brar --- arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts | 15 +++++++++++++++ arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts | 15 +++++++++++++++ arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 10 ++++++++++ arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts | 17 +++++++++++++++++ arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts | 15 +++++++++++++++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 12 ++++++++++++ 6 files changed, 84 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts index 2452b22..60de0b0 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts @@ -72,3 +72,18 @@ &nand { status = "okay"; }; + +ðer { + status = "okay"; + local-mac-address = [00 00 00 00 00 00]; + phy-handle = <ðphy>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethphy@1 { + reg = <1>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts index 54c5317..e6e8477 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts @@ -70,3 +70,18 @@ &usb2 { status = "okay"; }; + +ðer { + status = "okay"; + local-mac-address = [00 00 00 00 00 00]; + phy-handle = <ðphy>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethphy@1 { + reg = <1>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi index cd7c2d0..862a618 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi @@ -460,6 +460,16 @@ }; }; + ether: ethernet@65000000 { + compatible = "socionext,uniphier-ld11-ave4"; + status = "disabled"; + reg = <0x65000000 0x8500>; + interrupts = <0 66 4>; + clocks = <&sys_clk 6>; + resets = <&sys_rst 6>; + phy-mode = "rmii"; + }; + nand: nand@68000000 { compatible = "socionext,uniphier-denali-nand-v5b"; status = "disabled"; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts index fc2bc9d..6566fd5 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts @@ -54,3 +54,20 @@ &nand { status = "okay"; }; + +ðer { + status = "okay"; + local-mac-address = [00 00 00 00 00 00]; + phy-mode = "rmii"; + pinctrl-0 = <&pinctrl_ether_rmii>; + phy-handle = <ðphy>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethphy@1 { + reg = <1>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts index 6933710..6f971c6 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts @@ -58,3 +58,18 @@ &i2c0 { status = "okay"; }; + +ðer { + status = "okay"; + local-mac-address = [00 00 00 00 00 00]; + phy-handle = <ðphy>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethphy@0 { + reg = <0>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index 8a3276b..3edcd54 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -513,6 +513,18 @@ }; }; + ether: ethernet@65000000 { + compatible = "socionext,uniphier-ld20-ave4"; + status = "disabled"; + reg = <0x65000000 0x8500>; + interrupts = <0 66 4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ether_rgmii>; + clocks = <&sys_clk 6>; + resets = <&sys_rst 6>; + phy-mode = "rgmii"; + }; + nand: nand@68000000 { compatible = "socionext,uniphier-denali-nand-v5b"; status = "disabled";