From patchwork Tue Apr 24 04:47:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 134039 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1784501lji; Mon, 23 Apr 2018 21:47:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx49a2A5iTOW1RXVT1blRXsJ8UsipNVIOuJ+ICV9HNmcIB4sO2AtozLHWgeT7c4ngMiy+iqZh X-Received: by 10.99.123.20 with SMTP id w20mr19271543pgc.124.1524545239945; Mon, 23 Apr 2018 21:47:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524545239; cv=none; d=google.com; s=arc-20160816; b=JA/BbOPlOImOgjQhj5aMtyuuJ7nSn7gLqvOPva7grv9iIagqxHzLFtjGxqr+741LhA Xe2uqZvH2oGBjXXGdWnR7KwSi9suqYHLDkheTAFcUwoiydnhivy9273mgoKOJDCO8ToW 6A+HQWCimsXNG5sNVQxWnd+Q5AinXr5kmDZsjGxHTrGxzCIP7YgteFFYC3V9cj3noMgm dmNInUilpYZN1wh8lqnw+L88coP4B2QG6IGjjZITpw5yF7yNnMLF5t0Qxq6VG/vUTJTY mGd3RSAxdJUMJF9i/aRnsrA+snAjhA9gdxd60GF4qI4I9RI8y7j746xHpJcZ4ZZ2ccpK ubpA== 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=CqPOItklnSKMIYm0ThgMHksnCYEF5ToI6+/YDd91KDQ=; b=OmxLXFDqdJhEy+P2/pqlkzn9MVLHVJ2mgjwx6MGRW0Cvi/v7IqEEopEIVYuWxjoruG P0SLxjMs5CTyA5lEybeEtLMnki2MWj2FkfcMWw55NqZLornuF0Uoexqx7j4zzbX24m6b iOzMD97dq/vzAg/7Sw0oxeaho9+k3C8HBiGEJjL+4Gh7qUV4J3St/vJHBcw00l+5NhZn vkwRBXROPqB9/fVQju0nWxZXUIujib0SPMAgciTWwn1lpemZ4ehcDta/iHrUSBVyODxm M9oReCv9xDYbEd0RNSbb6eIySE7sK8Ocysh0lcUf+q4saruLWSn3PccbRIDC2z2beZ9t 6n9w== 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 b70si1087631pfj.256.2018.04.23.21.47.19; Mon, 23 Apr 2018 21:47:19 -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 S1751603AbeDXErS (ORCPT + 6 others); Tue, 24 Apr 2018 00:47:18 -0400 Received: from mx.socionext.com ([202.248.49.38]:30751 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbeDXErS (ORCPT ); Tue, 24 Apr 2018 00:47:18 -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:17 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 3DC8A61870; Tue, 24 Apr 2018 13:47:17 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 24 Apr 2018 13:47:17 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id D70521A1D41; Tue, 24 Apr 2018 13:47: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 3/4] ARM: dts: uniphier: add syscon-phy-mode property to each ethernet node Date: Tue, 24 Apr 2018 13:47:02 +0900 Message-Id: <1524545223-5893-4-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 Add syscon-phy-mode property specifying a phandle of system controller to each ethernet node. Signed-off-by: Kunihiko Hayashi --- arch/arm/boot/dts/uniphier-pro4.dtsi | 3 ++- arch/arm/boot/dts/uniphier-pxs2.dtsi | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) -- 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 392d7dd..49539f0 100644 --- a/arch/arm/boot/dts/uniphier-pro4.dtsi +++ b/arch/arm/boot/dts/uniphier-pro4.dtsi @@ -286,7 +286,7 @@ has-transaction-translator; }; - soc-glue@5f800000 { + soc_glue: soc-glue@5f800000 { compatible = "socionext,uniphier-pro4-soc-glue", "simple-mfd", "syscon"; reg = <0x5f800000 0x2000>; @@ -378,6 +378,7 @@ resets = <&sys_rst 12>, <&sys_rst 6>; phy-mode = "rgmii"; local-mac-address = [00 00 00 00 00 00]; + socionext,syscon-phy-mode = <&soc_glue 0>; mdio: mdio { #address-cells = <1>; diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi index a1839db..641d961 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -512,6 +512,7 @@ resets = <&sys_rst 6>; phy-mode = "rgmii"; local-mac-address = [00 00 00 00 00 00]; + socionext,syscon-phy-mode = <&soc_glue 0>; mdio: mdio { #address-cells = <1>;