Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1626007imm; Wed, 6 Jun 2018 20:26:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLc5AawnZ5Fkfzyfz4cUoL1wL8POVy5xCrGVn5hwQ9L3LyS/KRT5+tKHwM0NGs7wAIqUAg3 X-Received: by 2002:a63:bc0a:: with SMTP id q10-v6mr162480pge.70.1528341990656; Wed, 06 Jun 2018 20:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528341990; cv=none; d=google.com; s=arc-20160816; b=h4ETF+AE2yTXUxmfR0NEv3mBLErjbjV1Fw/wu08BW/HdxmoisyrJ0+n4TT5WSzqpEs SFY/h0ZG1yJqVRECdFotvqSqQFx9eM0HnkDm0q4J4Ka++Lr4r8QlqHr/TxGG0nyK88ZD jZxZ/B1/NVQlRrVnLlzVVVpWsqPjTNnzVA0qSS92NRi+KybmkkIHQsICvV3sXVuYOu6t IgrJOJFa6IuXzi/1QDSPoPMyQV53CSL/4OCdlKIbPPzmzQk8c54QpW9InB/B2LBygcVB sD2TA9OTJBG+8NvLmum0K5RrzKxKahMfERSG5hvszijjtmqpwtsQfEmE5uWRymI8UUuQ vmEA== 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=/kMmkyFQRL5gz7Blyvbjknvy8TTtmhFlEMOUHAlvxVQ=; b=hd16cDInKHWcFjONYznSFn+i/nw8TQDOj0nus23QFOCzY5RkQMPx5oyjLchkS3vBMk vAm9IklbMZ8G5AQMLHFczJeVbkoqkMFOPryP8yoQfB07oIwO0YX/9XunLsdd8uS8bPWn JoVhB/rx4ybJHb/NmrsIKx8qEsjk+piPlFhLKD1x+ca1Cg5JJPeNTSFdaMzvmpy9qoHm 4/Q8d6XstYBBBusDfh5Y0i6pmIRT/b1HDCAuKBU2PHaL3gugmYe3j1/caoPYbIxbC3vb NxqjZKcRbeDAseqnreePCV/crlw0sMflhSfFsaKEkWZl40K+5v6Bh96hEO33ZMim59jO cX9w== 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 m28-v6si16191450pgn.197.2018.06.06.20.26.16; Wed, 06 Jun 2018 20:26:30 -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 S932621AbeFGDYw (ORCPT + 99 others); Wed, 6 Jun 2018 23:24:52 -0400 Received: from inva020.nxp.com ([92.121.34.13]:50167 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753603AbeFGDYt (ORCPT ); Wed, 6 Jun 2018 23:24:49 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D8F891A0299; Thu, 7 Jun 2018 05:24:47 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 98AE21A0296; Thu, 7 Jun 2018 05:24:47 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 5178240C72; Wed, 6 Jun 2018 20:24:47 -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 w573OSwS023286; Wed, 6 Jun 2018 20:24:44 -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: [v2, 05/10] arm64: dts: fsl: move ptp timer out of fman Date: Thu, 7 Jun 2018 11:22:51 +0800 Message-Id: <20180607032256.39802-6-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180607032256.39802-1-yangbo.lu@nxp.com> References: <20180607032256.39802-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. --- 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