Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1064825lqa; Sun, 28 Apr 2024 17:27:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUEnSBK/Y8wnyBeqo64uxYILvgWM05xnFt7N1XYpjiFZKEGptwqoxsTrHQruECYRoDjtdz3EXif3y48GChOfb0lCd1ky/shOaRiaTzRZA== X-Google-Smtp-Source: AGHT+IG9LAtGw4dtLOVbUu0fcbphoTZywtIgg9kqgLyDP9AANN1Qk1IjhGNe7/+X21nVWUb7/ews X-Received: by 2002:a05:6214:5c46:b0:6a0:ab58:7f52 with SMTP id lz6-20020a0562145c4600b006a0ab587f52mr11150361qvb.37.1714350471038; Sun, 28 Apr 2024 17:27:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714350471; cv=pass; d=google.com; s=arc-20160816; b=x4jBUOSTxxAuJlXcoJ/l10VHOxoGzf4ngIu0g0ujTn4+SY0GWlbVsKgkgJ5LEWMVTB vqQQU0PrKwDbPnqYXaefFuvfSkDXQIgDciqnuzsk6jATGktRiTbrbSqJi6a8guB7GbyB v8OC9d2f/dF71JgDMdZNVzRKykOwyeH8VRSK1aXcNu8ZIDL6qxGEpPcUAMsTw5L0qFex 8f55g7+xDZnc/TY7QOHN97FOgEdscmyEO8o+pFG2cpQ33QcR0bneAy3n0oKpJ4Li51Sk 3KMkT4dw4niA0ylhIaWv2w3m6X+J1Yb6ux4UmG0LMr4gc8ncGekKfFhT7dN6+9Ua4sNr q42A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=i9HfF7AqiBHyGUYwJEjqzS14bJYyvNn/x1GIvg+NNv0=; fh=UZbaFmL+aVlw8jMQxaUjgUY37FtxBxjhPcm+ksHapSE=; b=YHwNVqCxdMVyLy5DvLMd5uw2f3VqIIpSbgvfClPs+fpTE6/uteSJVceildvyWi4aIf 1kWrKMX0/KqtpZIIx/f3KG/5FzLa73ovkEaGW9vLO2Jld4rjfKL/7akwfrtbHeufVLOk t/vC2ahoHof4jWrnXEBvRT+/ajvlHHzBY4zlwKv1eGTulVCaPmQkd5j8gsrDIurQssHM AuoWBuv+OBXlNeMlELKj1/wPC5ESmWR2EZdcy5r6by6zT1ZIJEyG4/zeR+o/qGz0EIIH D5Rtz4gJ2IdyOVkJ7rFp6NbhRdJ0AAwbPiNCwTgznvoxj83XINvn5C9vxUq5tXSLuOob W2pg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="oT/Ar35a"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161638-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161638-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id eq2-20020ad45962000000b006a0bf9c882asi3948700qvb.387.2024.04.28.17.27.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 17:27:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161638-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="oT/Ar35a"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161638-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161638-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B6FCD1C209FC for ; Mon, 29 Apr 2024 00:27:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 760ADD518; Mon, 29 Apr 2024 00:26:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oT/Ar35a" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D0F7D515; Mon, 29 Apr 2024 00:26:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714350418; cv=none; b=cVIxPRuHwZRTwIoi2oZe0GjJV6iNE/PPBlwauBk7VYMLMJZ/xJu9IYTYfrF2ZkZjWkj9A5WGk9/974P9TTNX9tHC/ZrBks4i2tSrVsEPz78wRB3XW/c1qGxA4MZpxjdzV/egh4mEo6EhZL+reJ8HB3cxnep/kMOj6a1+/RJORzk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714350418; c=relaxed/simple; bh=nmPdrX+XsSeX70KVtZRtkwwkkaIBq4Gq9LfwCK24YRw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oSTfJSzn1wd5cNo8Rd2H8ZaRplwuFcShF7OC3idXgdmH0fTCV3MevHzQEobxTR7b+JEzSgDVzV5tVlteyP6MZtF5Vi4d8ksOV+f8uf7tMbNiwYEJCzcA3wnQfx9OxbpjYGC4mQi5BVmbs6W5tRr0EYp33DfXJHHwDqb4+kLE2u4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oT/Ar35a; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDCC1C4AF18; Mon, 29 Apr 2024 00:26:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714350418; bh=nmPdrX+XsSeX70KVtZRtkwwkkaIBq4Gq9LfwCK24YRw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oT/Ar35aIU9cm3DjlkVKJdGkPm3jBBhYz3I9S8J/2yDZvKQNDAl4SnkFvdF1/1bMT 9CCMH8itbLIY8HlW0cWN14nq5Sh77uJliLgzTFFalORgYa1URbCXMSpCQJs6Su92X0 wukRp9CPI3MrK/juh1N6tBePsQNiGBgzuHD+I12KqFKmOl64nxMznxUI8SC9JYRLzV cXJct7T+wUmTH4i9J+gZGGHbVszgg3+ftndiGf9U5xXOkyWe0VU+v0VqX6Cks4bnIc LezJJXjGQ1XtRqe7Dvn+dyI1/aOODAybWtaUb85cd6bAvMYgq/aRymaMczgQw2M78Q IMD706AOTXSFg== From: Jisheng Zhang To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Emil Renner Berthing Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Emil Renner Berthing Subject: [PATCH v4 4/8] riscv: dts: starfive: visionfive 2: use cpus label for timebase freq Date: Mon, 29 Apr 2024 08:13:13 +0800 Message-ID: <20240429001317.432-5-jszhang@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240429001317.432-1-jszhang@kernel.org> References: <20240429001317.432-1-jszhang@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit As pointed out by Krzysztof "Board should not bring new CPU nodes. Override by label instead." Suggested-by: Krzysztof Kozlowski Signed-off-by: Jisheng Zhang Reviewed-by: Emil Renner Berthing --- .../boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi index 50955cc45658..910c07bd4af9 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi @@ -26,10 +26,6 @@ chosen { stdout-path = "serial0:115200n8"; }; - cpus { - timebase-frequency = <4000000>; - }; - memory@40000000 { device_type = "memory"; reg = <0x0 0x40000000 0x1 0x0>; @@ -69,6 +65,10 @@ codec { }; }; +&cpus { + timebase-frequency = <4000000>; +}; + &dvp_clk { clock-frequency = <74250000>; }; -- 2.43.0