Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1661650rdb; Wed, 31 Jan 2024 05:40:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEeKPMZSFPIWfmxL0cXk/IrfITa9rPdwouxmGpH4jY4SEglJTw9SBUTILLGqHYqvpIJGCTj X-Received: by 2002:a62:b517:0:b0:6dd:d1fa:ff17 with SMTP id y23-20020a62b517000000b006ddd1faff17mr1630723pfe.32.1706708411256; Wed, 31 Jan 2024 05:40:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706708411; cv=pass; d=google.com; s=arc-20160816; b=Mr5iynJxONzjRBjQKP2mRd8x2Q2B4WwN1pbISzI+/N/U9neZeNsjmf2jF9wRkpGZ9t 0cbxipEg2PaRzsYz8D1mkbdcWzH87ZCcx6LVmycZSbJwakrVLZUTlaX8BzLZjx17aTo7 0rzRWRy23aD4hqnUMnFR0uhrMQgj/iKcQ6YLYD0U3zKyzckAtc4PgYBh1TMUT/MGiFXk U7EVKOl1UckNIwqwHNeAuN9z8iYOVhyLERM6hfIbPU2zavV6TCzpOex076+XYWt/GZ6A jI6MkGKvcs+42sLF/Hx3f7W1k1A0BKkm0gLl0fCCTA2tn7jVCvD212pG7QUMO3nZiicY YqQA== 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=2j8pl9sNRJk/tqFwL9Gn5K/rodCpgDgnd+P5DfaUeZQ=; b=HoKDRzURHUs+yMw/z6o5nSOgEBOi6ArTJPmpQcAGmSgEWnXV0Xctpe95hFLxaxiYuU K3fUL/Xg/alrDtUHh6DhzB1WBh7+mLtgf7acN/eMzKUXu3LBGbtodSDIQlA7BYdwgObj j0RGHJ+FmCdZWNNuWjW2uL8EylyRl1FUWDuSz1/1Lcsyna+YURrw9qcSUFd0ME150lB5 04A4r9VK0yWQmdMwdRSSsbVXXPx10Cjq79xvThnqNuGAqwpM7FIj8NZTxv6fdOzsr5sI r/HuwmXyE9Kqy/USGQHlixL0uar2CQUciVt3033Aj+2WygkcLvuhX+acQ2zcej4aQHX1 arRQ==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46514-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCU3Mx5u4RS5NfNNeruSss1CgXo9rj1YOZhWU5IPba3ilWO71twM5oLHz2h2OKK6Al+Ct0Ye/7tnmg2I8U7UolaYy9o0B3/9T/IcS1f08g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b72-20020a63344b000000b005d24e5ae4ebsi9450000pga.72.2024.01.31.05.40.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 05:40:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46514-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46514-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B33D5285640 for ; Wed, 31 Jan 2024 13:40:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB2EF8289C; Wed, 31 Jan 2024 13:39:04 +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 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 --- .../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>; }; -- 2.43.0