From patchwork Tue Apr 24 04:47:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 134037 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1784472lji; Mon, 23 Apr 2018 21:47:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx49oooxiNx6P5+OLdaN1JeTiTwo3AkvwUYmKHUjWGRlIjUp3SZq/aeJEOkZa26lBL0/GQwgA X-Received: by 10.101.77.199 with SMTP id q7mr19415055pgt.305.1524545238246; Mon, 23 Apr 2018 21:47:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524545238; cv=none; d=google.com; s=arc-20160816; b=EOTdYodhU1Ec6L5aBomc0jDdwoZv7lne9aDnNTnON1lt9o4hhQIkHdsDFgxXEvrOBW HRkiE7Hi5uLWtqfsnv5h38UCD8ivbuI7hzt4oT9uuQukOHCK6bJWJpTXtaBRwQXs3zcm 0TUsqsxcBtLynZbM8bgVwO4Wrx1WrcbOudauKOqRZeP04AbsrVLpLqBmTT7q0E+vIWU4 OGUMORaZ5x3JIk1jGhSpns70WnhX78gM73wjEG8vUS858wwOtm+f5HUd5SUpIcdOnPUT zzqDL2PCWySDDNBGilt7aAO7bDiOyEsYkV7MdZl2FSIqNuzN4wywGLjg7LHw+o9XnrFK rP8Q== 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=/j9fTRBmO2SJL83KNSGFKc4xcmPbsQvWQbabaKYb1oo=; b=QZW7OaAULUXK/f5VJTI7rMyZBbuhgQY+Mn5v78nwvEBsU0LTecuTyT6p6uv3TgZ4sh z0huyHK9wEDHblzb3jSzXu+7xElnRMIE1Li4x7BF+WHIYeUN9DOiGoMdzvF/xPYlLPGH Cf3nejxlYmXXbV9jV1Ck1jdYnvUkq+mmbXLhxssW1Ze2oihwrr1bP5sOI9mWq1vwccAs bfrvD6AHhpXIBW/i5tmlJA9Yrxhn7YWi0o1gFonT1l5mFhct9AOEnyDn5yDSV5Acqj9Z 0exEBry+F3zBi1psqjfV5I8r3iGZAvj0oQhwDMEkxsTZCuyONM9IR8dsjkF1rfyedNoP UUow== 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 n136si6156389pfd.312.2018.04.23.21.47.17; Mon, 23 Apr 2018 21:47:18 -0700 (PDT) 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 S1751492AbeDXErQ (ORCPT + 6 others); Tue, 24 Apr 2018 00:47:16 -0400 Received: from mx.socionext.com ([202.248.49.38]:30739 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384AbeDXErQ (ORCPT ); Tue, 24 Apr 2018 00:47:16 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 24 Apr 2018 13:47:15 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 2ED1F61870; Tue, 24 Apr 2018 13:47:15 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 24 Apr 2018 13:47:15 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 944591A1D41; Tue, 24 Apr 2018 13:47:14 +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/4] ARM: dts: uniphier: add required clocks and resets to Pro4 ethernet node Date: Tue, 24 Apr 2018 13:47:00 +0900 Message-Id: <1524545223-5893-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524545223-5893-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1524545223-5893-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 The GIO clock/reset, Another MAC clock, and the PHY clock are required for the ethernet of Pro4 SoC. And add clock-names and reset-names to the ethernet node of PXs2 since we need to distinguish clocks and resets now. Suggested-by: Masahiro Yamada Signed-off-by: Kunihiko Hayashi --- arch/arm/boot/dts/uniphier-pro4.dtsi | 7 +++++-- arch/arm/boot/dts/uniphier-pxs2.dtsi | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) -- 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-pro4.dtsi b/arch/arm/boot/dts/uniphier-pro4.dtsi index 844124b..392d7dd 100644 --- a/arch/arm/boot/dts/uniphier-pro4.dtsi +++ b/arch/arm/boot/dts/uniphier-pro4.dtsi @@ -371,8 +371,11 @@ interrupts = <0 66 4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ether_rgmii>; - clocks = <&sys_clk 6>; - resets = <&sys_rst 6>; + clock-names = "gio", "ether", "ether-gb", "ether-phy"; + clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>, + <&sys_clk 10>; + reset-names = "gio", "ether"; + resets = <&sys_rst 12>, <&sys_rst 6>; phy-mode = "rgmii"; local-mac-address = [00 00 00 00 00 00]; diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi index debcbd1..a1839db 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -506,7 +506,9 @@ interrupts = <0 66 4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ether_rgmii>; + clock-names = "ether"; clocks = <&sys_clk 6>; + reset-names = "ether"; resets = <&sys_rst 6>; phy-mode = "rgmii"; local-mac-address = [00 00 00 00 00 00];