From patchwork Wed Feb 14 09:30:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 128325 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp406844ljc; Wed, 14 Feb 2018 01:30:36 -0800 (PST) X-Google-Smtp-Source: AH8x2259tCvzn7ceBRIusRP+9IX6XoFlAocCIrVXvY8CJ6EyIcEHRgJmWds0GwPqt83iyDBJIuoL X-Received: by 10.99.155.1 with SMTP id r1mr3479318pgd.422.1518600636280; Wed, 14 Feb 2018 01:30:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518600636; cv=none; d=google.com; s=arc-20160816; b=yhBlvwNLJF81lmbswA9BaeiwWKf6fJU9qj6P0zl5NGsNyP1RnZ21HdzFFkgedzx/zS +2fzIvjbxHBZjMdMNAnJ8+D1T8JivNdumesSn0kk0dhXdSwWOBGKV4CPIYNqLerCYaQB JjwpRRGKBHtFlBl9zpmdYLTRhsVdlgZUJIjYcF6izfpw9qzSziGy1oZvoAtjGAnz/6xU QK7kaLRVWBOnI9wWx2GKiydn3GAsLJXp9FaO9MT0jXgpnO+XdLyErLJ+pbzZv3dFmp1Q ECxWSgxPt5YAywRkYARr45s2D837uZA40I3+yvOTjl5nS7vyq+MnVA0J3bLyU6T0IdUW UFjw== 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=r2GcHVgJ0SaC/+z3ckF6seBn3DjXXZr9NSFxeAtG60M=; b=pDUp0W8xY7CKNePY/j/IUdYPvr2UnhKRwaCZ8zcPKa1tivw1GrjJHRWbFHkQUsUErh k/NuD9PNDt2as4LOGSLwkq8qoZfFZU+A8ZieFP6Ruyl/b8kskVWagpMCpsuegJFY/q2p zaBspd3DuhqtZHVPexMI6z2nOtihGXka2j3xVg/meDQmJLRVGLLzBUwRT33kXJofMeVW cJJ14XQ1pl+tIpTMoeokS1UKgeyQquk001W6FN6Dqpwr9T5lFXMAcGVSzkYIfed1uysF 2xyqS+GaxWJaLzEaUYihZNgzcQTv0+kFyAvdYHWJ/JC4Ln3J8Rx56uPwupboXWJ/YaJA jWSQ== 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 g4-v6si2835260plp.818.2018.02.14.01.30.35; Wed, 14 Feb 2018 01:30:36 -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 S966693AbeBNJaf (ORCPT + 6 others); Wed, 14 Feb 2018 04:30:35 -0500 Received: from mx.socionext.com ([202.248.49.38]:32769 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966446AbeBNJae (ORCPT ); Wed, 14 Feb 2018 04:30:34 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 14 Feb 2018 18:30:33 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id AB68E180B60; Wed, 14 Feb 2018 18:30:33 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 14 Feb 2018 18:30:56 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 2B74C1A124F; Wed, 14 Feb 2018 18:30:33 +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 v2 1/2] ARM: dts: uniphier: add AVE ethernet node Date: Wed, 14 Feb 2018 18:30:28 +0900 Message-Id: <1518600629-14317-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518600629-14317-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1518600629-14317-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 | 11 +++++++++++ arch/arm/boot/dts/uniphier-pro4-ace.dts | 11 +++++++++++ arch/arm/boot/dts/uniphier-pro4-ref.dts | 11 +++++++++++ arch/arm/boot/dts/uniphier-pro4-sanji.dts | 11 +++++++++++ arch/arm/boot/dts/uniphier-pro4.dtsi | 18 ++++++++++++++++++ arch/arm/boot/dts/uniphier-pxs2-gentil.dts | 11 +++++++++++ arch/arm/boot/dts/uniphier-pxs2-vodka.dts | 11 +++++++++++ arch/arm/boot/dts/uniphier-pxs2.dtsi | 18 ++++++++++++++++++ 8 files changed, 102 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 0e510a7..1116a3d 100644 --- a/arch/arm/boot/dts/uniphier-ld6b-ref.dts +++ b/arch/arm/boot/dts/uniphier-ld6b-ref.dts @@ -70,3 +70,14 @@ &nand { status = "okay"; }; + +ð { + status = "okay"; + phy-handle = <ðphy>; +}; + +&mdio { + 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..92b5cbb 100644 --- a/arch/arm/boot/dts/uniphier-pro4-ace.dts +++ b/arch/arm/boot/dts/uniphier-pro4-ace.dts @@ -77,3 +77,14 @@ &usb3 { status = "okay"; }; + +ð { + status = "okay"; + phy-handle = <ðphy>; +}; + +&mdio { + 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 be99467..5135585 100644 --- a/arch/arm/boot/dts/uniphier-pro4-ref.dts +++ b/arch/arm/boot/dts/uniphier-pro4-ref.dts @@ -78,3 +78,14 @@ &nand { status = "okay"; }; + +ð { + status = "okay"; + phy-handle = <ðphy>; +}; + +&mdio { + 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..7c4326a 100644 --- a/arch/arm/boot/dts/uniphier-pro4-sanji.dts +++ b/arch/arm/boot/dts/uniphier-pro4-sanji.dts @@ -72,3 +72,14 @@ &usb3 { status = "okay"; }; + +ð { + status = "okay"; + phy-handle = <ðphy>; +}; + +&mdio { + ethphy: ethphy@1 { + reg = <1>; + }; +}; diff --git a/arch/arm/boot/dts/uniphier-pro4.dtsi b/arch/arm/boot/dts/uniphier-pro4.dtsi index 7955c3a..795b656 100644 --- a/arch/arm/boot/dts/uniphier-pro4.dtsi +++ b/arch/arm/boot/dts/uniphier-pro4.dtsi @@ -339,6 +339,24 @@ }; }; + eth: 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"; + local-mac-address = [00 00 00 00 00 00]; + + mdio: mdio { + #address-cells = <1>; + #size-cells = <0>; + }; + }; + 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..d09acb8 100644 --- a/arch/arm/boot/dts/uniphier-pxs2-gentil.dts +++ b/arch/arm/boot/dts/uniphier-pxs2-gentil.dts @@ -53,3 +53,14 @@ &i2c2 { status = "okay"; }; + +ð { + status = "okay"; + phy-handle = <ðphy>; +}; + +&mdio { + 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..6f13a25 100644 --- a/arch/arm/boot/dts/uniphier-pxs2-vodka.dts +++ b/arch/arm/boot/dts/uniphier-pxs2-vodka.dts @@ -41,3 +41,14 @@ &i2c0 { status = "okay"; }; + +ð { + status = "okay"; + phy-handle = <ðphy>; +}; + +&mdio { + ethphy: ethphy@1 { + reg = <1>; + }; +}; diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi index d82d6d8..a91c96e 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -427,6 +427,24 @@ }; }; + eth: 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"; + local-mac-address = [00 00 00 00 00 00]; + + mdio: mdio { + #address-cells = <1>; + #size-cells = <0>; + }; + }; + nand: nand@68000000 { compatible = "socionext,uniphier-denali-nand-v5b"; status = "disabled";