From patchwork Sat Jul 8 17:37:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13305694 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 02419EB64DA for ; Sat, 8 Jul 2023 17:37:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=MNywlGZT8il49ApaxJ6yKzGdvri2xPetEG9/uAleAWE=; b=sHwBRQ081Ls5+N bV68l/3mhobTvdv4ZXR/ldINJ0EvRSssWosxXwLSafjg2KBq9XLNE7sJ8iaiCPVVyPMCWf9FnlB57 WYLyRvRnn1NGYe0h0VAj7341E4u0oN8nfxjZQAfVf+LRp+b0TrCjiniiFul05U17qN677q8OXhtcb JlB6mx5hbPqPbAPJhFKGz3etbNESkF9zsxq4Ji2c7b1yYq9YzuvcpMVRlwWAlc4lObSNhEDbLNomk 6lUHFaYtVm18jrps3VUs8REgDF7Ui3apbKdQ37n7e0kMwAElJ/NieRHGnfM2skMpSscAZwUYrsUHc 2uTpBEhyCuavfyn/l0TQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qIBs8-007cuG-2R; Sat, 08 Jul 2023 17:37:28 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qIBs5-007ctX-1b for linux-arm-kernel@lists.infradead.org; Sat, 08 Jul 2023 17:37:26 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4f122ff663eso4787810e87.2 for ; Sat, 08 Jul 2023 10:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688837842; x=1691429842; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wIrx8Hh4+qsy5gD7/8sxxizp8ZgMjlQzNcy2cLogGsw=; b=tlo0jnyjw1HFN+Q7mdU36TusuH+aZvScVaxyl60NdmYt7X9+piYMlVfm7ZsX0ERNKT srl+TZUXOojeJcg82cZQHra2kco3+4c+Mye7czL78lWxKVRkU+dAxKmdEkTIHYOSqGEw xyGyMFDYasD2915Thk481AYlkvLgZF4ybj4iWTPC/Y7Jyr0pbcn5sDipDDE+1jso8UdR nqUhgEZMaAOgO9iv4X4xXxiToxHr1m/pSY79YfcW7X5vp27XuyCW1wx6uO2NEdUrxxsb KCsKYTLzj1OZfPz+cWZqll+ygpOenof+DFreUthR5HsMI2D45RKzhQC2OqOzyZw4pOOU XONg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688837842; x=1691429842; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wIrx8Hh4+qsy5gD7/8sxxizp8ZgMjlQzNcy2cLogGsw=; b=eme+tllO6uhYWfw/eLhDldk4PrGZkZPaHPDQyKCpqZC7RUsv2jp572Kn3/B4Bd5ghM 17Ox/56lIWiNgqy9PgRZVBirq9JH4w6Z6WXVFtU667Uk+Smj4fgXdxLo4nN97tjX9TQQ fRMSum+T3bVTSZ7J9kitAIGN5d2hR5z3i1z68qX/gHidNub0FCtd7G4hR4uFfNV3C1nH tpKxwMcANGRozpz5pCrrqU1Pt91+lo64G8hjyrDzjOjN3y4pY+lunUu+992mGQ+ERVcy FyVpJC1MFQ42ylR3xRfrcsyfOBnYjj5OpQraqwsTLS7CkmHpVe/I9KFTS/HHTEYLVidc jA+g== X-Gm-Message-State: ABy/qLYZo1s3UizejBhXGp9LynCQBUNuo67TTn7J7Gr7ZaZ/3j0JXCGu 6w/9lQlKZ4cwXRpibXPDjFte9Q== X-Google-Smtp-Source: APBJJlHEiHVjnLwDN4pfhQ+lKSf7HN+2dehTkk8GPn/j5ADoBQIzFiHnHOQIALPJG+IHY0hlC7aNDQ== X-Received: by 2002:a05:6512:2344:b0:4fb:7675:1c16 with SMTP id p4-20020a056512234400b004fb76751c16mr6522159lfu.49.1688837841940; Sat, 08 Jul 2023 10:37:21 -0700 (PDT) Received: from lothlorien.lan (dzdqv0yyyyyyyyyyybm5y-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::ab2]) by smtp.gmail.com with ESMTPSA id g25-20020a19ee19000000b004f3afa1767dsm1072917lfb.197.2023.07.08.10.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jul 2023 10:37:21 -0700 (PDT) From: Dmitry Baryshkov To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: nxp/imx: limit sk-imx53 supported frequencies Date: Sat, 8 Jul 2023 20:37:20 +0300 Message-Id: <20230708173720.3548414-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230708_103725_537214_A4545B1F X-CRM114-Status: GOOD ( 11.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The SK-IMX53 board bearing i.MX536 CPU is not stable when running at 1.2 GHz. Disable that frequency. Note, officially i.MX536 is rated up to 800 MHz, but running it at 1 GHz proved to be stable. Fixes: 0b8576d8440a ("ARM: dts: imx: Add support for SK-iMX53 board") Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts b/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts index 6ea103a49697..ccb993ddc445 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts +++ b/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts @@ -77,6 +77,17 @@ &can1 { status = "okay"; }; +&cpu0 { + /* CPU rated to 800 MHz, not the default 1.2GHz. Keep 1.0 GHz as it seem stable too. */ + operating-points = < + /* kHz uV */ + 166666 850000 + 400000 900000 + 800000 1050000 + 1000000 1200000 + >; +}; + &ecspi1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi1>;