Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3847180imm; Mon, 25 Jun 2018 05:42:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL4ZA1E4LG2rn9Ci8VRN83cYVdhY4v0kt+3GQ1fi35Ct/Frk4VwULIl4hDE9K4D/HUV6RY6 X-Received: by 2002:a65:444d:: with SMTP id e13-v6mr2273870pgq.122.1529930554508; Mon, 25 Jun 2018 05:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529930554; cv=none; d=google.com; s=arc-20160816; b=YTRcqEDtd/KGYGEkQK4xgdLO7rQwL8xEXJ4INqXni3y+pd33fWjaJBqAVgY8O35IVj mimeVC3vtMDEXgsCWF0vguf6nYj+Xjj1fejaOol0tblZI+Ruor3iPkIyBE638i7QchoO QlGp3kEcX+eh+RZ+7t8itYt4JoSPSYM/IoO2GLWpVYB7HfECM0JC/RwT1Dhd0qj21Uic V1NquG/NtyvkR/X4agqz8US6OKK4cd7pPMdsp7Ad1KxIEyhaAoPPMo9eM/cw/cjK6Ft1 OtndXp3m/ehoDMO4MiqGSsKRQWIJUDBrBFI2/kJlyN+9IH+1p102nbPKTZtP3evL5S6m IeTQ== 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=LVSP8U0qxoYUTHKpVHlL/aaoKHKR30zEMOm7URS2rT4=; b=i4nl3y1O7D5n1fMosswV84kxJfvowcIJAsIoCkggWvlb0/2NxKLlzUwFwL8GzzbbLq TgLJAc8hUBF094xKOnz4g3SkD3fyuNnSgwWAqdajPGYuFA+F+82fDIt5LzyxnnYIGYrw PbdPCoV3Ktp3MrtCHk7pixIHl1vsr+InVRd3AniUwwu1DeYm3KXEg6csexhrwtcwVW3p z4CwpWf2VZoFp9yFjrBWSFUBmGwqYNyyE6ugjySBkEL/LtG66pvpeNdkTb7oH1OipJCo YebOH7FSJS5ruXK6gz9ASLk8bYYnXoTAs48Ed28Xd/bl4sUNT6MoWkIGQFM8d2Q5I7WK J5Sw== 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 f77-v6si14658420pff.267.2018.06.25.05.42.20; Mon, 25 Jun 2018 05:42:34 -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 S933935AbeFYMj1 (ORCPT + 99 others); Mon, 25 Jun 2018 08:39:27 -0400 Received: from inva021.nxp.com ([92.121.34.21]:42148 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933663AbeFYMj0 (ORCPT ); Mon, 25 Jun 2018 08:39:26 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2473F2000D8; Mon, 25 Jun 2018 14:39:24 +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 D902C200078; Mon, 25 Jun 2018 14:39:23 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 4F72840C8A; Mon, 25 Jun 2018 05:39:23 -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 w5PCd34Q025070; Mon, 25 Jun 2018 05:39:20 -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: [v4, 05/10] arm64: dts: fsl: move ptp timer out of fman Date: Mon, 25 Jun 2018 20:37:11 +0800 Message-Id: <20180625123716.28993-6-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180625123716.28993-1-yangbo.lu@nxp.com> References: <20180625123716.28993-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 Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - Fixed address-cells for ptp-timer. Changes for v3: - None. Changes for v4: - Added ACKs. --- 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