Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp68023pxk; Tue, 15 Sep 2020 20:51:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLozZ2Be449WR1z5drdB33gr9smvI4eyl3r5J2rTuizVXQJbK0uQfW63Sx0wR4Cm8E3bB6 X-Received: by 2002:a05:6402:1710:: with SMTP id y16mr26708691edu.197.1600228306169; Tue, 15 Sep 2020 20:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600228306; cv=none; d=google.com; s=arc-20160816; b=XaW+uWypakptcbF+OOAK5WAuQ6j5Tbe3VWOoXek/vFmGu/C+LDppNmNP+kO5t+kVH3 juS/8SIji6yWSveJylqo+lDfRQikewVAHAuvgRraskED4BgmHWoLzGllIanND+Qm+Bnt JlLzZ4KJjL9Vw0+OTvTycu8Nat94t9pj+rbu2J8S+iAmAXBA/vu2c7/QevZrdHjPL6+y dgh8Rff6UZy4we3nI3FSc2SAaJci3El3vog6tCOE/eSUWbm7+d/+InzhLfuDZl9J4Dge JD7HdRu+gtbo4VFAV2seevpEXMkX4RyD0ZgDUh9Ci/AqnhOxpEtiyy5h3ufP1tT4XFIt L+lA== 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; bh=FtQ+FiZs4637KJ+qSw8JleSDInvRPj8KX/OifiWf2Dc=; b=BvkNHbqTFIM0Sgb7vvrY9NPEo1MbD3nBo8O93hnSBKRyn2PVHgg974ft+CztB4CuqF agCJ6wensoYEHBAjYTegBDcd+cEnkumluo8nwTGIXmGGsolUSq5vwMeNl1r2Ec0mFYn2 sO3qTDeWWUGUJJ8XojYezgXlmnvzTVAKVTyWC1/pcxrcDzFIVs1Wo+VE/XvT5CQtV+Yg UQgkCVDq8pJ0JIQ2qIgvYiv60Bdov/kL4DwJOinrTx5XVDS9NS4paLAup/rW93oVs/P4 8r4DuEOWtlNViHwooHfhyOs9Z+ywQSV6tkuX3Zp5yyAlLr/c+m+fQkQQ88cTKAmttMmr y1tQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id md20si10778600ejb.439.2020.09.15.20.51.24; Tue, 15 Sep 2020 20:51:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726531AbgIPDtG (ORCPT + 99 others); Tue, 15 Sep 2020 23:49:06 -0400 Received: from inva021.nxp.com ([92.121.34.21]:45670 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726486AbgIPDs4 (ORCPT ); Tue, 15 Sep 2020 23:48:56 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 095602008D0; Wed, 16 Sep 2020 05:48:54 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9905B2008BD; Wed, 16 Sep 2020 05:48:50 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 105C14035E; Wed, 16 Sep 2020 05:11:22 +0200 (CEST) From: Qiang Zhao To: shawnguo@kernel.org, robh+dt@kernel.org, mturquette@baylibre.com Cc: andy.tang@nxp.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Zhao Qiang Subject: [PATCH 2/2] arm64: dts: layerscape: modify clocks divider to 32 for wdt Date: Wed, 16 Sep 2020 11:03:11 +0800 Message-Id: <20200916030311.17280-2-qiang.zhao@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200916030311.17280-1-qiang.zhao@nxp.com> References: <20200916030311.17280-1-qiang.zhao@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 From: Zhao Qiang On LX2088A, wdt's clock are get from clockgen divided by 32, so modify clocks in device tree. Signed-off-by: Zhao Qiang --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index 7016791..de6c751 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -194,56 +194,56 @@ cluster1_core0_watchdog: wdt@c000000 { compatible = "arm,sp805-wdt", "arm,primecell"; reg = <0x0 0xc000000 0x0 0x1000>; - clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clocks = <&clockgen 4 31>, <&clockgen 4 31>; clock-names = "apb_pclk", "wdog_clk"; }; cluster1_core1_watchdog: wdt@c010000 { compatible = "arm,sp805-wdt", "arm,primecell"; reg = <0x0 0xc010000 0x0 0x1000>; - clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clocks = <&clockgen 4 31>, <&clockgen 4 31>; clock-names = "apb_pclk", "wdog_clk"; }; cluster2_core0_watchdog: wdt@c100000 { compatible = "arm,sp805-wdt", "arm,primecell"; reg = <0x0 0xc100000 0x0 0x1000>; - clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clocks = <&clockgen 4 31>, <&clockgen 4 31>; clock-names = "apb_pclk", "wdog_clk"; }; cluster2_core1_watchdog: wdt@c110000 { compatible = "arm,sp805-wdt", "arm,primecell"; reg = <0x0 0xc110000 0x0 0x1000>; - clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clocks = <&clockgen 4 31>, <&clockgen 4 31>; clock-names = "apb_pclk", "wdog_clk"; }; cluster3_core0_watchdog: wdt@c200000 { compatible = "arm,sp805-wdt", "arm,primecell"; reg = <0x0 0xc200000 0x0 0x1000>; - clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clocks = <&clockgen 4 31>, <&clockgen 4 31>; clock-names = "apb_pclk", "wdog_clk"; }; cluster3_core1_watchdog: wdt@c210000 { compatible = "arm,sp805-wdt", "arm,primecell"; reg = <0x0 0xc210000 0x0 0x1000>; - clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clocks = <&clockgen 4 31>, <&clockgen 4 31>; clock-names = "apb_pclk", "wdog_clk"; }; cluster4_core0_watchdog: wdt@c300000 { compatible = "arm,sp805-wdt", "arm,primecell"; reg = <0x0 0xc300000 0x0 0x1000>; - clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clocks = <&clockgen 4 31>, <&clockgen 4 31>; clock-names = "apb_pclk", "wdog_clk"; }; cluster4_core1_watchdog: wdt@c310000 { compatible = "arm,sp805-wdt", "arm,primecell"; reg = <0x0 0xc310000 0x0 0x1000>; - clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clocks = <&clockgen 4 31>, <&clockgen 4 31>; clock-names = "apb_pclk", "wdog_clk"; }; -- 2.7.4