From patchwork Thu Jan 18 12:48:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 124943 Delivered-To: patch@linaro.org Received: by 10.46.64.27 with SMTP id n27csp111349lja; Thu, 18 Jan 2018 04:48:19 -0800 (PST) X-Google-Smtp-Source: ACJfBotGysZohO6uK4cTnZypFcFWXM8pFc0SP+tAjIXHfbXqTOiteRs8u+hiS/q8y6iOxShbz/ce X-Received: by 10.98.178.17 with SMTP id x17mr37381190pfe.57.1516279699654; Thu, 18 Jan 2018 04:48:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516279699; cv=none; d=google.com; s=arc-20160816; b=lnA70eP+SknNFRH2BmVBM7KDaZDDNEWc9+p7xtC0b61ZS/1T9kKgnJwe1tzDhXMwzA IikNKTE+y3ESuxHboub3L17T71/wIlWfJykzKkDo8tuRM0tQgGtOfIl8aq1re7hwkBv2 sNJqN+eo7kuyEGV9ka+igpUkAR/9Qlh13JizyT3AvFWAGLyTiFV79sMRK/U3kLZNaG0F JqONzt2NevvQ9FQv0QZc2Kd26hJhyh7bARcNS+9dm84EfVvuvNGapd8C0o+FAqe5xE2U MeBFb9vSFE0rkp6ptujRTRzx9o9eHoJLohVuRTqWBrjH/Mtb+Ik9dZSnINuBCK94YFYJ 1gLQ== 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=y2c0r+/Zui0jBdbk4WsMGIop4zstZQMnHxobXvdpBTE=; b=Ozke46y5YWZoefUK6Ve6SogD0ToGemjBwvRtWBnDho1j9/OzTarTJDU+BNSO0Dzxba BMZZ356uF+lWXvp31wmsHDEdF3Smif1Nl29oqjkcfQhqHpOe6dO1moG/ym114oxFvSL8 DNe+ZPigawBJah9OUUuo2xfCGIA+Q6a5EBQHZ73rSa7S5weCJ4RAux29/1BVq5/Y67DO P6LEWe0MykTGdZxEuCvjUw9IT7eWxIn2mKIbZaO40vFPIIUdD/IBeIqJHjHfIMoCTHxp 725jrwp58qxVX+wSU1OUWBz1joxbj8/2QnVSpb835HKthvUvMvTWQ1JEiklgQECyiUnz uTwA== 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.19; Thu, 18 Jan 2018 04:48:19 -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 S1755504AbeARMsS (ORCPT + 6 others); Thu, 18 Jan 2018 07:48:18 -0500 Received: from mx.socionext.com ([202.248.49.38]:44647 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754927AbeARMsS (ORCPT ); Thu, 18 Jan 2018 07:48:18 -0500 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 18 Jan 2018 21:48:16 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 1C722600BE; Thu, 18 Jan 2018 21:48:17 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 18 Jan 2018 21:48:22 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 922741A0DED; Thu, 18 Jan 2018 21:48:16 +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 1/2] ARM: dts: uniphier: add AVE ethernet node Date: Thu, 18 Jan 2018 21:48:08 +0900 Message-Id: <1516279689-3119-2-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 Pro4, PXs2, LD6b SoCs and the boards. Signed-off-by: Kunihiko Hayashi Signed-off-by: Jassi Brar --- arch/arm/boot/dts/uniphier-ld6b-ref.dts | 15 +++++++++++++++ arch/arm/boot/dts/uniphier-pro4-ace.dts | 15 +++++++++++++++ arch/arm/boot/dts/uniphier-pro4-ref.dts | 15 +++++++++++++++ arch/arm/boot/dts/uniphier-pro4-sanji.dts | 15 +++++++++++++++ arch/arm/boot/dts/uniphier-pro4.dtsi | 12 ++++++++++++ arch/arm/boot/dts/uniphier-pxs2-gentil.dts | 15 +++++++++++++++ arch/arm/boot/dts/uniphier-pxs2-vodka.dts | 15 +++++++++++++++ arch/arm/boot/dts/uniphier-pxs2.dtsi | 12 ++++++++++++ 8 files changed, 114 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/arm/boot/dts/uniphier-ld6b-ref.dts b/arch/arm/boot/dts/uniphier-ld6b-ref.dts index 811b999..1dd6541 100644 --- a/arch/arm/boot/dts/uniphier-ld6b-ref.dts +++ b/arch/arm/boot/dts/uniphier-ld6b-ref.dts @@ -70,3 +70,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@0 { + reg = <0>; + }; + }; +}; diff --git a/arch/arm/boot/dts/uniphier-pro4-ace.dts b/arch/arm/boot/dts/uniphier-pro4-ace.dts index 089419c..d9ba4e2 100644 --- a/arch/arm/boot/dts/uniphier-pro4-ace.dts +++ b/arch/arm/boot/dts/uniphier-pro4-ace.dts @@ -77,3 +77,18 @@ &usb3 { 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/arm/boot/dts/uniphier-pro4-ref.dts b/arch/arm/boot/dts/uniphier-pro4-ref.dts index 6a004e5..fe32f57 100644 --- a/arch/arm/boot/dts/uniphier-pro4-ref.dts +++ b/arch/arm/boot/dts/uniphier-pro4-ref.dts @@ -78,3 +78,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@0 { + reg = <0>; + }; + }; +}; diff --git a/arch/arm/boot/dts/uniphier-pro4-sanji.dts b/arch/arm/boot/dts/uniphier-pro4-sanji.dts index adef212..ad6758d 100644 --- a/arch/arm/boot/dts/uniphier-pro4-sanji.dts +++ b/arch/arm/boot/dts/uniphier-pro4-sanji.dts @@ -72,3 +72,18 @@ &usb3 { 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/arm/boot/dts/uniphier-pro4.dtsi b/arch/arm/boot/dts/uniphier-pro4.dtsi index 1a29a86..d192a7f 100644 --- a/arch/arm/boot/dts/uniphier-pro4.dtsi +++ b/arch/arm/boot/dts/uniphier-pro4.dtsi @@ -366,6 +366,18 @@ }; }; + ether: ethernet@65000000 { + compatible = "socionext,uniphier-pro4-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-v5a"; status = "disabled"; diff --git a/arch/arm/boot/dts/uniphier-pxs2-gentil.dts b/arch/arm/boot/dts/uniphier-pxs2-gentil.dts index 7dfae26..d83ad09 100644 --- a/arch/arm/boot/dts/uniphier-pxs2-gentil.dts +++ b/arch/arm/boot/dts/uniphier-pxs2-gentil.dts @@ -53,3 +53,18 @@ &i2c2 { 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/arm/boot/dts/uniphier-pxs2-vodka.dts b/arch/arm/boot/dts/uniphier-pxs2-vodka.dts index 0cf6154..9a67574 100644 --- a/arch/arm/boot/dts/uniphier-pxs2-vodka.dts +++ b/arch/arm/boot/dts/uniphier-pxs2-vodka.dts @@ -41,3 +41,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@1 { + reg = <1>; + }; + }; +}; diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi index c083468..a6abc85 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -446,6 +446,18 @@ }; }; + ether: ethernet@65000000 { + compatible = "socionext,uniphier-pxs2-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"; 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";