Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1925174imm; Thu, 7 Jun 2018 02:31:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJJUFEo0jOrhwo+xfV3Pgqjw2PIQHh6zkCnRYDlyz2auSfdQg9iQOuvpg5pvYBH3RKorNyK X-Received: by 2002:a63:42c7:: with SMTP id p190-v6mr983326pga.142.1528363869737; Thu, 07 Jun 2018 02:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528363869; cv=none; d=google.com; s=arc-20160816; b=yORjbJIdrDq1HDVzY4ou7KDxCNAY+WA5liJYgzRSgRaKE21zRwtcKd0iNqIO97RHn0 2p6rLmPZoa/RIh+TxtqOfk0Io6UaMCUT0N/MCO5syuHYCoqjdEmS3Tu8YsscyC5NDesh Q260GX6ay94Z2900QzBNwxPep6CtTuYohOQXh6ykOVIv9wzehqrtLQef4C1lzCs7Vqx+ WfU8aERvbBnKycJ9QQA7ghKsWWX2eNaxbTSES+QEeUBzELla1ODoY/8vyU6GBKa1Ru3u HoEkQKOByYZ2P5h6wN+l7I2g1ORS4lGK7KHpYaiu+m96gMgrhLI0SydWY8osH51wnsIV 3dnw== 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=S8J7EbUgOmKm1mQgsUvVW5JwV9pTyMuUd2wKhgZO+Y0=; b=uD6p9hcdTnF21kyEk0iQNIbvH6zC0373uLStIQ79QeyVQvzTUmtfD/EoYOrG0fGZDO dgOtqjxLU8mGo+xBCGLPyWIDxVIoS+KGk+HcOwJFBU+lbn6tZcEj227xTwi3vb6iklnk QywvWdvv6/4B65ENDFy2++JpQWFDRvxwX42oRIQC4e8xqXNS4b4JM3z51Q4g2fnPCp52 hDrVS4yhQP2cLoXbLJmHcRrUPNPjbAimwb5wEQU0qKhYG9XpoMuJNyaLCAZkyqrsgVUe 2m85Bifgi4T3Yh+4+w8SbOPnmooppxdz11GCX/QpqqEMtqDjCnhwyZExE7AJK+/eCXsE 27aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10-v6si27157251ply.482.2018.06.07.02.30.55; Thu, 07 Jun 2018 02:31:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753747AbeFGJYk (ORCPT + 99 others); Thu, 7 Jun 2018 05:24:40 -0400 Received: from inva021.nxp.com ([92.121.34.21]:54746 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932377AbeFGJWl (ORCPT ); Thu, 7 Jun 2018 05:22:41 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6C80D20021E; Thu, 7 Jun 2018 11:22:39 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 26F74200037; Thu, 7 Jun 2018 11:22:39 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 8FFC540A70; Thu, 7 Jun 2018 02:22:38 -0700 (MST) Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w579MJ4l020959; Thu, 7 Jun 2018 02:22:36 -0700 From: Yangbo Lu To: netdev@vger.kernel.org, madalin.bucur@nxp.com, Richard Cochran , Rob Herring , Shawn Guo , "David S . Miller" Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yangbo Lu Subject: [v3, 05/10] arm64: dts: fsl: move ptp timer out of fman Date: Thu, 7 Jun 2018 17:20:45 +0800 Message-Id: <20180607092050.46128-6-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180607092050.46128-1-yangbo.lu@nxp.com> References: <20180607092050.46128-1-yangbo.lu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is to move ptp timer node out of fman. Because ptp timer will be probed by ptp_qoriq driver, it should be an independent device in case of conflict memory mapping. Signed-off-by: Yangbo Lu --- Changes for v2: - Fixed address-cells for ptp-timer. Changes for v3: - None. --- arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi b/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi index 4dd0676..a56a408 100644 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi @@ -11,13 +11,14 @@ fman0: fman@1a00000 { #size-cells = <1>; cell-index = <0>; compatible = "fsl,fman"; - ranges = <0x0 0x0 0x1a00000 0x100000>; - reg = <0x0 0x1a00000 0x0 0x100000>; + ranges = <0x0 0x0 0x1a00000 0xfe000>; + reg = <0x0 0x1a00000 0x0 0xfe000>; interrupts = , ; clocks = <&clockgen 3 0>; clock-names = "fmanclk"; fsl,qman-channel-range = <0x800 0x10>; + ptimer-handle = <&ptp_timer0>; muram@0 { compatible = "fsl,fman-muram"; @@ -73,9 +74,10 @@ fman0: fman@1a00000 { compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; reg = <0xfd000 0x1000>; }; +}; - ptp_timer0: ptp-timer@fe000 { - compatible = "fsl,fman-ptp-timer"; - reg = <0xfe000 0x1000>; - }; +ptp_timer0: ptp-timer@1afe000 { + compatible = "fsl,fman-ptp-timer"; + reg = <0x0 0x1afe000 0x0 0x1000>; + interrupts = ; }; -- 1.7.1