From patchwork Sun Jul 9 20:30:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13306130 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 85885EB64DC for ; Sun, 9 Jul 2023 20:31:06 +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=9GW0Xh6mlNs++3NJDShEBFZsxBm6lOtKe8aLj6DGeGA=; b=lgdcFN0ZBoZvg4 lsGkLeQvFN5yX8MXSiXjwJhpmxlqAxIFrkZ2yAsgYvYO1ZRlXhW78XeY8rUwStQ5ep5xSbFQw/O48 MH93fEt9qTxxDXgAj122yx9XhNF/zMNUIuuRlcNGNhHBePEpvFgfF185usAf+VN2KAKUaS+FDzSWl h+4LkHuJZAMXWYtv+nMcpPx95YdMuPLj1KkstVdUacQhcW6ofVwUp7f5TXF6RjnG7jPo5tM7wJCYX CkgbCtqoH1S+eP1PXnLBT30VwK/w3d6KYxvBIqKU3jnsbsce/r5aPE37MhQUAXW/605/XURqUglkO /QrjxeYzhDN6VdsZiHGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qIb39-009hYJ-18; Sun, 09 Jul 2023 20:30:31 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qIb36-009hX4-1F for linux-arm-kernel@lists.infradead.org; Sun, 09 Jul 2023 20:30:30 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b6a6f224a1so60871981fa.1 for ; Sun, 09 Jul 2023 13:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688934620; x=1691526620; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UtFY5gTAaY9q5bjZEYwOpDzLkWnCyMxHf/Gn+VJEzFI=; b=xS1HANqzCPIXDXDduNF7SsCuujTygdYMYsMG+iO3XD/lfuwXnyCO75pMqwUjNSFS3N DWF1+65sLsp6QyvtaUqWpiY2BqbomqemXi3wO3/L0iO1f7GErIoPSLrA3pgD6oxg4C6a 39pmMHUb+41uRSFIhJIgj8xSGpkBdE2fYug9FSH4OZE6x/P6SJOeigXzIQAJZbMorNzl lJmVU9W4DevtKUnAIoLZGNMHwz10h80DEVDdsX8LEpPEd9A8KFQTdB421Pi3lLaLRw6y f4VB/AIeUZKXVEEr/BFlMJLkBYEdvIyvwGTxaaLHdqvwp1mAX6ybrDq7zbKJgpVuIMo3 tdXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688934620; x=1691526620; 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=UtFY5gTAaY9q5bjZEYwOpDzLkWnCyMxHf/Gn+VJEzFI=; b=IRv4Ek5Ygujy2z2D/Y/0PkutLDF83SZQpkN6gSkGn+asFijZzFggyjzfa3tTRtW0LS GUNXtlplAKCqosxB4bJyN7Crw0hVFs8LLLQyio0XvqpMKpVeYiT+mjriWOZOTO6KhAgn 2qSfc6sIIgTUBippWG6OO2WssHoplKNOxnYnZC2j6ywbqbCinetZj0xARqDeqBIdVdpW WwkdpxGjlYOGiDrdQic5D7TYonmpMR9LlooxezFFiNEU4iN1hYPYWSP5/eN1tiqFcEuY R1a3ZRYFxjMuDYqhvihShpbwWNe8nl4Q71kdVjpBcinBkdBcsrYUTY23hoVpBmHXS6ek 2+hA== X-Gm-Message-State: ABy/qLY3f6hLgskdtgOj8bU/BonTPGqhKl0P0CBJS+N8+yWM21g4cIh5 wVlCR9xsdojfOQFm0tl7bxwTlw== X-Google-Smtp-Source: APBJJlFg3wm3Bv3OLi2E+bqd6Iuf/vw0/jhW4LRLvDbwVehnrssv1sFum2uMEnI7Ji7r9FIhLgppCg== X-Received: by 2002:a2e:86d3:0:b0:2b6:efce:f787 with SMTP id n19-20020a2e86d3000000b002b6efcef787mr5804139ljj.51.1688934619981; Sun, 09 Jul 2023 13:30:19 -0700 (PDT) Received: from lothlorien.lan (dzdqv0yyyyyyyyyyybm5y-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::ab2]) by smtp.gmail.com with ESMTPSA id c11-20020a2e9d8b000000b002b6d86b08fesm1721679ljj.18.2023.07.09.13.30.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jul 2023 13:30:19 -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 v2] ARM: dts: nxp/imx: limit sk-imx53 supported frequencies Date: Sun, 9 Jul 2023 23:30:19 +0300 Message-Id: <20230709203019.291823-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-20230709_133028_450842_E9E6F689 X-CRM114-Status: GOOD ( 12.33 ) 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.MX536A CPU, is not stable when running at 1.2 GHz (default iMX53 maximum). The SoC is only rated up to 800 MHz. Disable 1.2 GHz and 1 GHz frequencies. Fixes: 0b8576d8440a ("ARM: dts: imx: Add support for SK-iMX53 board") Signed-off-by: Dmitry Baryshkov Reviewed-by: Fabio Estevam --- Changes since v1: - After additional consideration, also disable the 1 GHz frequency. The datasheets are clear the the SoC is not required to support this frequency (Fabio). --- arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts | 10 ++++++++++ 1 file changed, 10 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..3d9f14f32efd 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,16 @@ &can1 { status = "okay"; }; +&cpu0 { + /* CPU rated to 800 MHz, not the default 1.2GHz. */ + operating-points = < + /* kHz uV */ + 166666 850000 + 400000 900000 + 800000 1050000 + >; +}; + &ecspi1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi1>;