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";