From patchwork Tue Jun 8 11:26:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12306431 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7688C47082 for ; Tue, 8 Jun 2021 11:29:38 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8355E6128A for ; Tue, 8 Jun 2021 11:29:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8355E6128A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=OM6Po8Msgwl9yBTqvFUbwD14lntaZEO40KYo0gE9aY0=; b=FjwGUJMNaiKWZu kg3J1u2T3NXGdbnJmG8F+EadsJA2EAQFKG8o2N7Ck3GYoBQLoRMbO++T8/jywIcG/zcF1JlTdMU7O zbUy8g4fAt8H4iRSgpE03J7UMQ4LGuZSi931xSECecEx03aLaSkmvdj8Raz+0yvHa8HXh6ql/LvuV dzubSXWlcDfSdGjFXVxKGc1QqzCEWjlY2iETqAkUJ5UED42+bOaYbxlWVC3r11IevxOVqxVVFAOs/ /OJAQHorkkc7PSYCE5osqX9GnUL8hXPghn/KRxSaLy5cwG3wIGRaEAYHHiDYE7uwT9ZMv41gIWrjT g3V+Birkg3SSBK2Jm0jQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqZt9-0081eu-VG; Tue, 08 Jun 2021 11:27:20 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqZsy-0081a5-3w for linux-arm-kernel@lists.infradead.org; Tue, 08 Jun 2021 11:27:12 +0000 Received: by mail-ed1-x534.google.com with SMTP id d13so10549978edt.5 for ; Tue, 08 Jun 2021 04:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XzJh8k2+3CTA9TUNfYHIxwiKINZGjgGPWk31gQg1rds=; b=nH3qy9rM/J+wpkErwX10lYjmhw9907fpaMkdI56aqiJlWb0nP605BDa5e9+iF01vFw YWG881aAhNnrfORJ5/ZanR9G8R+ywOrwWno+N0qE3WNzF2Jr7HoUpa+gioDOXerMH7sg QM/Rd2doN06kjQzZ7OY/zf2n0uQXPTSjPEv/FAFQilh8r4b2sAPEdk64L679FAiypRgw grN/Il7ZfAIx43lHh6T/it3WHkCI3MUbd9Cn7IOmDHrxOFoDzH9XKgeMv5TxtNBwxbng 8kBYIVVPt3ympzuDOxdw/Re9wvVH2SANpbcLTAyj9wBDht5Xf2zEeAXHaPFAStl14hF5 pg0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XzJh8k2+3CTA9TUNfYHIxwiKINZGjgGPWk31gQg1rds=; b=To8iXDiX/z+EoZUf55Ge4egplF5NkIbxUU+SWW5z4af+K+vmExYH9O2pnus8isct/n 820nij+rxswT1FGNkxzAzDO465MRlsU92G0V9NwoiJyHXG1CbeOpyHVUYTa/bmtPSDkY V353NeOYO5+/IkJRQOOkU4ddLXJYj+EcJtbNznyOsNwPvpMvkc+ocUl7tOjdvMSPfPis aHWNPrKrNjW8Gz9VYz85ZtBL5B9MEguLdYHC1XsqOSEVPL2YQzRgxJBHYUB9iFBGmOAW /Nifz1X4Wj/zloOTG+vYGN18lUvHJewBCbcCyIq8JBytnRhJKNVHXEDlmQ3u2osqFVkR M73A== X-Gm-Message-State: AOAM5309nhs9UQJ/m4eEK827l/YlQY/g2RfeiRQTDiXjMV6FSoin20hp /BK1ZUqSSWDj+AZ8oPfVRBk= X-Google-Smtp-Source: ABdhPJzCIJWJ3xOXptipDnrgmThoiTdibZBPeBm6AFow4RtsUjo44kJ4ciJFxDEoKq/1BBg1uUic2A== X-Received: by 2002:a05:6402:1c83:: with SMTP id cy3mr24440653edb.108.1623151625070; Tue, 08 Jun 2021 04:27:05 -0700 (PDT) Received: from localhost.localdomain ([188.26.52.84]) by smtp.gmail.com with ESMTPSA id u21sm7468846ejm.89.2021.06.08.04.27.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 04:27:04 -0700 (PDT) From: Vladimir Oltean To: Shawn Guo , devicetree@vger.kernel.org Cc: Li Yang , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Vladimir Oltean Subject: [PATCH] arm64: dts: fix node name for the sysclk Date: Tue, 8 Jun 2021 14:26:58 +0300 Message-Id: <20210608112658.4087235-1-olteanv@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210608_042708_210434_AA22D05A X-CRM114-Status: GOOD ( 14.09 ) 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 From: Vladimir Oltean U-Boot attempts to fix up the "clock-frequency" property of the "/sysclk" node: https://elixir.bootlin.com/u-boot/v2021.04/source/arch/arm/cpu/armv8/fsl-layerscape/fdt.c#L512 but fails to do so: ## Booting kernel from Legacy Image at a1000000 ... Image Name: Created: 2021-06-08 10:31:38 UTC Image Type: AArch64 Linux Kernel Image (gzip compressed) Data Size: 15431370 Bytes = 14.7 MiB Load Address: 80080000 Entry Point: 80080000 Verifying Checksum ... OK ## Flattened Device Tree blob at a0000000 Booting using the fdt blob at 0xa0000000 Uncompressing Kernel Image Loading Device Tree to 00000000fbb19000, end 00000000fbb22717 ... OK Unable to update property /sysclk:clock-frequency, err=FDT_ERR_NOTFOUND Starting kernel ... All Layerscape SoCs except LS1028A use "sysclk" as the node name, and not "clock-sysclk". So change the node name of LS1028A accordingly. Fixes: 8897f3255c9c ("arm64: dts: Add support for NXP LS1028A SoC") Signed-off-by: Vladimir Oltean --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index d0dddf19578a..03e1ca7fea9a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -66,7 +66,7 @@ CPU_PW20: cpu-pw20 { }; }; - sysclk: clock-sysclk { + sysclk: sysclk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <100000000>;