From patchwork Thu Sep 21 09:57:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13394584 X-Patchwork-Delegate: geert@linux-m68k.org 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0421E7D0AA for ; Thu, 21 Sep 2023 20:56:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231395AbjIUU4d (ORCPT ); Thu, 21 Sep 2023 16:56:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232262AbjIUUew (ORCPT ); Thu, 21 Sep 2023 16:34:52 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D9AF8462C for ; Thu, 21 Sep 2023 10:37:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC456C3278A; Thu, 21 Sep 2023 09:57:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695290269; bh=5KNdnOObsbqqNv0Ck7putqp8mKyk6q4cq2D9IfjObjE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pEknRldC5k/AUNOd1X06anSHRhq9eYQoMlNQ2QDacbbnqR8cod0Niu7beVKSh0Yyb AHO9Mmf/HxFfuvxQFlIr3O7aum0uC+pH5ysQEcjhN6yAgaN8DEltN8Xk6Z+t3edvr9 1LOPp3FKdrEq/nwzOPjIOdgMYkay8Pp9hx6wUzcG4fncTPIPR0zIOAe7FM+lIuMkmb 6CvZlfOX0LaHY6YgJOu2CP0D9Wb6C6OFWoz7x79pIKRfQ9yV2plOOF22sBalzDJl87 9uwdYTvAS17q2IuFMSVKNvA0DaJL8WLbROPZP3y7cXIc5BMYhUfFiKLiqumic5O2Y3 nVrZPZed2mqeQ== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Daire McNamara , Geert Uytterhoeven , Magnus Damm , Emil Renner Berthing , Jisheng Zhang , Guo Ren , Fu Wei , devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-renesas-soc@vger.kernel.org Subject: [RFC v1 4/6] riscv: dts: renesas: convert isa detection to new properties Date: Thu, 21 Sep 2023 10:57:21 +0100 Message-ID: <20230921095723.26456-5-conor@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230921095723.26456-1-conor@kernel.org> References: <20230921095723.26456-1-conor@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Conor Dooley Convert the RZ/Five devicetrees to use the new properties "riscv,isa-base" & "riscv,isa-extensions". For compatibility with other projects, "riscv,isa" remains. Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi index 6ec1c6f9a403..10399246dbac 100644 --- a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +++ b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi @@ -24,6 +24,9 @@ cpu0: cpu@0 { reg = <0x0>; status = "okay"; riscv,isa = "rv64imafdc"; + riscv,base-isa = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", + "zifencei", "zihpm"; mmu-type = "riscv,sv39"; i-cache-size = <0x8000>; i-cache-line-size = <0x40>;