From patchwork Wed Jan 31 13:25:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 194752 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1893369dyb; Wed, 31 Jan 2024 05:41:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUp3HBveSvWalle3K1AIpjb8uhMR1PCI7l4z467+Dey+u3NwgQSFUQXSPfKfi0b1+xY0sb X-Received: by 2002:a05:6214:d6a:b0:686:abad:6f13 with SMTP id 10-20020a0562140d6a00b00686abad6f13mr1681931qvs.7.1706708461430; Wed, 31 Jan 2024 05:41:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706708461; cv=pass; d=google.com; s=arc-20160816; b=gJo3LKmpYqytkCJqte7hZKhuHrGAdMk/tw1Ae7ay39S66fYE3dfb/losBPmFgXd0Uz w2oQmc9OV1DEmU/Oqp2FY/QORX7xzj9X/5NbfYt6V4jKSEPp3IO3LfnZf4V3DijIgd1C 3Bt6TQsc195f6bkFN+7RnItCmiyj3RLcxXYUYoVumm/Wtx45LS9jvHOeVXgARDbLGNvO QTkE7sAv9AF1ha1V8ZVL0zlpUAsyZQFzgwp+RWLJ0AJ/KhiCuauvgNguqKqwtHj8uxm4 +wKmtt9a1ED4iFkEux4iKvx3aNYAmSUlgDhUO5yjfEUj8p4kP7KQZ/021Vwo741NwlFM 4FyA== 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=Hbe8hugUG8ksIATZm+8DllOjxENXhk6Cmw6qbAV7Oog=; fh=rcNp4i2OLEc1uc3rwtFECefm44GnRI7SBxcPpsGan2c=; b=KqAcQvZHbrEWEnohIX2Utth4Kj1I0iDKLwmYEtaOuwlC0dLm1X85Re6SbGtP9TDHKF KHUl5X+YamWJaQXXxFLEVsV4gF8/Ykz276lgVzuy/JQNtyofQPtZWQC+ZoXum+7dywFW xSrAYR96Ur0X2iQVWApPiJiHB7Vdtku+K1y0h2yb1FXVb5CIjRJjuyRr+71PCxJ/cUXp dqE75ja2RuJk9p3STi9Ya19ksFHBs7eVTmrKyU51q+Wa/uoQH+D8yubuaGWreOlB0mcI C+iKOdbEPoUipF2XMBFTWSyI8dfO+8WwPiGDXDlxFdRvrTZtlGyUQIJxqNJp5sFGeN5s Jhow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lv9KVagM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46514-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46514-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCXSgrpc7B9B83nfWU9Ttc153OtOk6Jhjb0ddckacDGKsxiBQBu76bJoMbPj74crGVIqdXiSVWJS0teb7sgnpiZPUbz27A== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q8-20020ad45ca8000000b0068c6d765cdesi1109841qvh.167.2024.01.31.05.41.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 05:41:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46514-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lv9KVagM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46514-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46514-ouuuleilei=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 DB8671C25C68 for ; Wed, 31 Jan 2024 13:40:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 81FFB83CAD; Wed, 31 Jan 2024 13:39:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lv9KVagM" 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 CCE608288C; Wed, 31 Jan 2024 13:39:03 +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=1706708343; cv=none; b=mk9dqbpaNykZK/3N9sOmO9lSD1BwCYnnwsz7Hoxj345Y7lbWBHwOoknAObaepC4XSnkqn08ZAH1Irs3E+UHmg1Tr1M/8ny1jMRHNdhiVaNpJZIhQqLzSWdrn9yQy3nyxSvyiHl0cNwjvJMl0XSX0fRib7p0zi+GU+27VljvolGY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706708343; c=relaxed/simple; bh=13OUnsu4tCIrpbyuApz07RJcqNYojrwlsLe/2mWWH+M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ermbYuNqlvxAXakoY7qW6BcID1Z8Te+zPXubd3DxoPdcJhLZd7taG0ncQ+5Zj48l5/7AmZMhBk0gvI9o4o53VYTsD3/D1oPgWGByR2BkAHb57rNnWGzEWH0Nnom0oZxvJfVipc1jiHwx3OGEqBbX/N43geOaHlIdYMukrbK0Fnc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lv9KVagM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11B7EC433C7; Wed, 31 Jan 2024 13:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706708343; bh=13OUnsu4tCIrpbyuApz07RJcqNYojrwlsLe/2mWWH+M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lv9KVagMAcmv/uJXGdauMwhW96ZNGAh9TDxF64Vg7X9/ZWcr4nxYQGANP6qXs5kZF Yet1qsOQsc63Uvy6SryyZo1/2g27vrDMJE8Ue1/ZzMDkQ+idnojyEw159DNE3E+qxD ItUDiI7Oh2CFoZVlML2a3mdzsrgCezX2xdp7seFpn+Jy59wcxiaBf1UniBcjS/h0Bf Clr0OILfc2oECtpo2SzjLNyQl25VssVOTJTw8ALT9YrhGndsiUY2ombbb6JFIhgIuA O1Q1U5qlOrsWcnn843Us5cBFPu0mHgF8648eJctJifKo5Oky7onAlHXjVHufufAJd6 w787kKPFD71GA== 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 Subject: [PATCH v3 4/6] riscv: dts: starfive: visionfive 2: use cpus label for timebase freq Date: Wed, 31 Jan 2024 21:25:58 +0800 Message-ID: <20240131132600.4067-5-jszhang@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240131132600.4067-1-jszhang@kernel.org> References: <20240131132600.4067-1-jszhang@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789613531389105220 X-GMAIL-MSGID: 1789613531389105220 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 --- .../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 11db93966dd6..974851a764e1 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>; };