Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp284536rdg; Thu, 12 Oct 2023 05:50:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIGx617H1F5sM/MWzmqasj8OWchR3B7alC3oIVq0+NjHMynf3iRjm003FbOmSddREwkWWB X-Received: by 2002:a05:6a21:9997:b0:16b:8b16:bfad with SMTP id ve23-20020a056a21999700b0016b8b16bfadmr18180737pzb.32.1697115048288; Thu, 12 Oct 2023 05:50:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697115048; cv=pass; d=google.com; s=arc-20160816; b=GTKA8K8DBrlcxHAWChXg7ycpNBueJk3+31tDrXmb2K2iDphZ+T5dlz7dRC0tHWNJRw Vyxf/fetwOFJxq+n6kqpUFutHh0AVyzvW7U5Y4yKNq2ugn2sbapEV/78Y2RGCavPNImP aHfjZ0SQt+jlJjbDrWxTKf8+1xRwKYeYrDKObbMmZJ6IbM8kaVINaOU/J8/2q2zR46kD L5avDNV6U18WVVwmn5/q45AEBEqhpX2hrG406u0UvAS3mEe5poj7XuBc+gLbkSWdz+IB DdES+d7xnW4hLjMBSKbkXVPZzC0Ki4T6VOovk4Th71waI4wNfr/MKeaqzByQtBHtNnlZ d3Yw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:subject:user-agent:date :message-id:dkim-signature; bh=fE1zJz2mmYdTr+VBJGXhDUQAqCLd/NL4x6PeEREpfiA=; fh=X2pswO+6E6eThPxJ1wMFRacw1KcA7vQihWGqewSSZWg=; b=ArOfhYyIlCmIqm6djBXpDOCOW+XDG/nRV120rd24aRDRurScW+CCkKhT7/z7yU5P3r BLgAfklsCRX8bVx2c1G2iDjXbPrvBq3zsMbvQQsrPQID9CC/ifTXQIu7lbiWEqh089QC LPQyw4KGYnYkuWNLjpPASRoU6F/ei7XFjLKJuLy1hVInn9+aKm1+UOCvTYRbFI6h5bCn m7hgYFLMGt0mcSH/Zs6UCcapUuy+j+4S6IIgk5bcGN/W+3dOdE0zlKvIKqMgZZa0nIu5 emK+iwKIleM4diFHPXbJ0yqIbyEiIDO382gzF770aVCJ98fuDjP5k1d6yaa7kNo2+/1p zBhg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=ixv+ABKA; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id k70-20020a633d49000000b00584af407e80si2180733pga.293.2023.10.12.05.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 05:50:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=ixv+ABKA; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A6329818BCBF; Thu, 12 Oct 2023 05:50:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347198AbjJLMui (ORCPT + 99 others); Thu, 12 Oct 2023 08:50:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343943AbjJLMug (ORCPT ); Thu, 12 Oct 2023 08:50:36 -0400 Received: from IND01-BMX-obe.outbound.protection.outlook.com (mail-bmxind01olkn2101.outbound.protection.outlook.com [40.92.103.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EC6EBA; Thu, 12 Oct 2023 05:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FBhFvVb/k+XdGkzX6FXtgwXBFMB1oNmEMxIrnQpSpDjh0Ql+4mLoVEKjdoyHxDssMHQT37UP5IxZX2YWRtiClHAsjK6LevbKIbFENU8nvR/EinMFz0/hq3CJmxHQp6fxsaEjphqfrHiGrUI52wkKaGon+fwnqCmv4eOEqUbe9YOhMcUao3Tgl2Wr7jEYmxoFYP+Nfa+F1ZovGWG7mGOQvuhsaT6jJKxHH4h0bTf8cIXQl3kjfuivzzbdAMq/5v2/QrN9pxVZYh4KOGstXxQkYKZOYW2I2T5xABqpxrtAzcnLHKmmAoH87WdOXRdNo/0ou0YPh9LsYWdSkWoXyKVMsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fE1zJz2mmYdTr+VBJGXhDUQAqCLd/NL4x6PeEREpfiA=; b=HdhfxLeymz1lMw6j11KSlDWgB4GkWkv7PQQEQUoaAMv9kzSVOAbuNl+0YOsjEk64UDC9LHGq2gAriKYUUyWKuI4YfbptLo/WmxvJjZDkIKDeNdKNSXkqiFqkNzPrxJMv+A54EnLtesziQaOLk2REMjS7QydQUI/X0yEJVZlVDvHWR2sj2aJuX2lpCT907BaOUbmRJ8ET/w21DVlG8H87sEQeKofbbUagc3wih2d+yxSksgL4pZaN1ocz0rG4fYGkl1IDKyrvLc9geP0IFk0qWWBag0FJiCdZiXPUxW8/rf3TlYXso7EEj9hXD4zKbiUrg2JRIl66ZCj1bqnokTjueA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fE1zJz2mmYdTr+VBJGXhDUQAqCLd/NL4x6PeEREpfiA=; b=ixv+ABKAbe5TNrvKOGaaoYMMPygC8fGKGHGVHxOYLJj4kAgl8qU7taFeTncIG+DQAJXIaQs7mb76tVxE+WHHTAfje710QGgvor/UnvCGswfoQg54Dueqstxt2Juxg5lClmV5aTqiXo/EajUxaaopDgaVx/jVTT9vGXmnACBK5q4kUXkGbOIUQ3USmGnUCagF8Ayv4uY1/hGb73zkpzTuOvrAcrIMDn6Ya+dwZW4iYsodEyPEEC9KHrtAu8r31VEmQedXeOw3S/hjmh1ykgWwClGo7XdNk9XZ2v6wjXm/oeyZQKO9W+x+MlJ/ek/dMwdI6qFWjLT0E3eltNNHB0gFNw== Received: from MA0P287MB0332.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:ab::5) by PN0P287MB0411.INDP287.PROD.OUTLOOK.COM (2603:1096:c01:122::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.45; Thu, 12 Oct 2023 12:50:24 +0000 Received: from MA0P287MB0332.INDP287.PROD.OUTLOOK.COM ([fe80::efe9:8d54:281b:23f7]) by MA0P287MB0332.INDP287.PROD.OUTLOOK.COM ([fe80::efe9:8d54:281b:23f7%3]) with mapi id 15.20.6863.043; Thu, 12 Oct 2023 12:50:24 +0000 Message-ID: Date: Thu, 12 Oct 2023 20:50:18 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/7] riscv: dts: sophgo: Separate common devices from cv1800b soc To: Inochi Amaoto , Chao Wei , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org References: <20231009112642.477337-1-inochiama@outlook.com> From: Chen Wang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [USmAh0k1e4tNgW/PzfNgykK3sYiyoR/C] X-ClientProxiedBy: SG2PR03CA0125.apcprd03.prod.outlook.com (2603:1096:4:91::29) To MA0P287MB0332.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:ab::5) X-Microsoft-Original-Message-ID: <4430bb15-9856-4c1a-82bb-91e048771b5a@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MA0P287MB0332:EE_|PN0P287MB0411:EE_ X-MS-Office365-Filtering-Correlation-Id: a7a10457-5c05-4a7d-f172-08dbcb21cca3 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bC12LEMBDVtl0jc1eY0d5o0dJiDK/3hIns/qtQ0/uMbZnnso1/uc8zye2NKf0MnfE58H63t1MLaGiZGqsc2cCVj9Ezo0mM46ZzL0m4xme7ENufzqXsfeaIm2qhmXY/rKqHRP94h/9rfXdPICTw94YRCSQoql2CAbbomLdCZc4QO61bwEkeQSa2vOSz+4SlzIp5rKGe/JBj55bWXoRO522pkVkHZMbRPpqbEdQbaIw4DU/0JLpqaVJexOEMLNS2aDFj3LnfuIBW8SC3q/rrG6WcIvK2CvJLEePmhs98NiRKjG37i85eEee+mmCLhbSNqt4+WGMiMQGESQbI4YpAmf3lt2e6ow4Y1iY5BtbCGmuYfxeNSDtbmCYkCwIDH8kRANm83AUd4darp9Q1buFygnFJkSQoqFg+hK2TuRVlzQItg192H46s2UYN7rdRr2CU36reCIW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?utf-8?Q?Q00BU5IMNV1rUekrTDgwx5XlHbLBNtA6FNN5dVNkh6gU=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7a10457-5c05-4a7d-f172-08dbcb21cca3 X-MS-Exchange-CrossTenant-AuthSource: MA0P287MB0332.INDP287.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2023 12:50:24.1119 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PN0P287MB0411 X-Spam-Status: No, score=1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FORGED_MUA_MOZILLA,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 12 Oct 2023 05:50:45 -0700 (PDT) On 2023/10/9 19:26, Inochi Amaoto wrote: > Move the cpu and the common peripherals of CV181x and CV180x to new file. > > Signed-off-by: Inochi Amaoto > --- > arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 95 +------------------ > .../dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} | 19 +--- > 2 files changed, 2 insertions(+), 112 deletions(-) > copy arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} (80%) LGTM Acked-by: Chen Wang > diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > index df40e87ee063..0904154f9829 100644 > --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > @@ -3,106 +3,13 @@ > * Copyright (C) 2023 Jisheng Zhang > */ > > -#include > +#include "cv180x.dtsi" > > / { > compatible = "sophgo,cv1800b"; > - #address-cells = <1>; > - #size-cells = <1>; > - > - cpus: cpus { > - #address-cells = <1>; > - #size-cells = <0>; > - timebase-frequency = <25000000>; > - > - cpu0: cpu@0 { > - compatible = "thead,c906", "riscv"; > - device_type = "cpu"; > - reg = <0>; > - d-cache-block-size = <64>; > - d-cache-sets = <512>; > - d-cache-size = <65536>; > - i-cache-block-size = <64>; > - i-cache-sets = <128>; > - i-cache-size = <32768>; > - mmu-type = "riscv,sv39"; > - riscv,isa = "rv64imafdc"; > - riscv,isa-base = "rv64i"; > - riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", > - "zifencei", "zihpm"; > - > - cpu0_intc: interrupt-controller { > - compatible = "riscv,cpu-intc"; > - interrupt-controller; > - #address-cells = <0>; > - #interrupt-cells = <1>; > - }; > - }; > - }; > - > - osc: oscillator { > - compatible = "fixed-clock"; > - clock-output-names = "osc_25m"; > - #clock-cells = <0>; > - }; > > soc { > - compatible = "simple-bus"; > interrupt-parent = <&plic>; > - #address-cells = <1>; > - #size-cells = <1>; > - dma-noncoherent; > - ranges; > - > - uart0: serial@4140000 { > - compatible = "snps,dw-apb-uart"; > - reg = <0x04140000 0x100>; > - interrupts = <44 IRQ_TYPE_LEVEL_HIGH>; > - clocks = <&osc>; > - reg-shift = <2>; > - reg-io-width = <4>; > - status = "disabled"; > - }; > - > - uart1: serial@4150000 { > - compatible = "snps,dw-apb-uart"; > - reg = <0x04150000 0x100>; > - interrupts = <45 IRQ_TYPE_LEVEL_HIGH>; > - clocks = <&osc>; > - reg-shift = <2>; > - reg-io-width = <4>; > - status = "disabled"; > - }; > - > - uart2: serial@4160000 { > - compatible = "snps,dw-apb-uart"; > - reg = <0x04160000 0x100>; > - interrupts = <46 IRQ_TYPE_LEVEL_HIGH>; > - clocks = <&osc>; > - reg-shift = <2>; > - reg-io-width = <4>; > - status = "disabled"; > - }; > - > - uart3: serial@4170000 { > - compatible = "snps,dw-apb-uart"; > - reg = <0x04170000 0x100>; > - interrupts = <47 IRQ_TYPE_LEVEL_HIGH>; > - clocks = <&osc>; > - reg-shift = <2>; > - reg-io-width = <4>; > - status = "disabled"; > - }; > - > - uart4: serial@41c0000 { > - compatible = "snps,dw-apb-uart"; > - reg = <0x041c0000 0x100>; > - interrupts = <48 IRQ_TYPE_LEVEL_HIGH>; > - clocks = <&osc>; > - reg-shift = <2>; > - reg-io-width = <4>; > - status = "disabled"; > - }; > > plic: interrupt-controller@70000000 { > compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; > diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi > similarity index 80% > copy from arch/riscv/boot/dts/sophgo/cv1800b.dtsi > copy to arch/riscv/boot/dts/sophgo/cv180x.dtsi > index df40e87ee063..ffaf51724c98 100644 > --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi > @@ -1,12 +1,12 @@ > // SPDX-License-Identifier: (GPL-2.0 OR MIT) > /* > * Copyright (C) 2023 Jisheng Zhang > + * Copyright (C) 2023 Inochi Amaoto > */ > > #include > > / { > - compatible = "sophgo,cv1800b"; > #address-cells = <1>; > #size-cells = <1>; > > @@ -48,7 +48,6 @@ osc: oscillator { > > soc { > compatible = "simple-bus"; > - interrupt-parent = <&plic>; > #address-cells = <1>; > #size-cells = <1>; > dma-noncoherent; > @@ -103,21 +102,5 @@ uart4: serial@41c0000 { > reg-io-width = <4>; > status = "disabled"; > }; > - > - plic: interrupt-controller@70000000 { > - compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; > - reg = <0x70000000 0x4000000>; > - interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>; > - interrupt-controller; > - #address-cells = <0>; > - #interrupt-cells = <2>; > - riscv,ndev = <101>; > - }; > - > - clint: timer@74000000 { > - compatible = "sophgo,cv1800b-clint", "thead,c900-clint"; > - reg = <0x74000000 0x10000>; > - interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; > - }; > }; > }; > -- > 2.42.0 >