Message ID | 20231129060043.368874-1-jeeheng.sia@starfivetech.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp143298vqn; Tue, 28 Nov 2023 22:01:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5zsS5Ee3Y8uK6dfE8s36TU2ch54MV2uBfwctAQNFGSa8uelBAslWqFj4QqUarreHIZFnb X-Received: by 2002:a9d:754f:0:b0:6d8:5323:2516 with SMTP id b15-20020a9d754f000000b006d853232516mr8337otl.19.1701237701190; Tue, 28 Nov 2023 22:01:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701237701; cv=none; d=google.com; s=arc-20160816; b=eP/TSkMs8QFZ9dBve44aR/KtQzUfVAmml7GgXYDapZyVzRlr0wIoQHzTBgurm4yy4W nCqLX9dwfmgnqOd/GRwFCvArJA2ruIAC28Y3VWxfj0AaBT5pBoTiuVA5IjtOdmvoqZ8x ONShTa8/g/xef2Y4sQ34ftMMrcAmxNUxv4RbolgmALk4+1tbrEpWhQMFACAN1wzRQ7Kq KmwE32t5snaWXzMM5XYA3uSmEItGaRwn27LiHIGA8vPPiJMUf5wicakv2qB+BoUrt1/c gAut0CbMK52PqWOT4dW64pMrWKZOtUCqVBH/NtiCgEMnAF1NofQCbNEaxpUDHD7++YdR 63vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=5DNexBzGz68si2OEVaqaHJ1aq8zY62/rTZ/QRUVBS7g=; fh=MyYr2e7fHTU0M+N+DCuEi+Z7iOohUYF9duigLNinjzI=; b=kKhAVMnMGtEWh0KRDkcI3HkwQRIIMFiigDkCB0Md+JkXCqFF1QcSkq+/Yhb3B9j7r1 uPzyJliLEYFk3z4fKdfv7dnTaXHOtRRmWWWxTHeagzZq+IlMBdLg+pENC7BAoQO2wpLd 95l6DOjuRqGj67fDZcmgUCgR7xfwtX5aiH8nZ0GmAz9+4PTpgDuXN8XFBz6gKmqJkySS fjLlh6zbVPqr/4lQ2VluGNQMwFYfrRx7N5+csUiwC6+Pf4pJnD/Sw55Leanvj0e63Zs4 08YpXIUgU17TsF5osaS2Fwg65WLGLRgnhxUrc/n9K2/Abub1ip7Uzvtz4//uxaawUVTO ra4w== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id m13-20020a634c4d000000b005b8f298110csi13560824pgl.6.2023.11.28.22.01.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 22:01:41 -0800 (PST) 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; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 496F4808E57A; Tue, 28 Nov 2023 22:01:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229791AbjK2GBH convert rfc822-to-8bit (ORCPT <rfc822;kernel.ruili@gmail.com> + 99 others); Wed, 29 Nov 2023 01:01:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbjK2GBF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Nov 2023 01:01:05 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3F2D19AD; Tue, 28 Nov 2023 22:01:08 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 96CD724E2B0; Wed, 29 Nov 2023 14:00:59 +0800 (CST) Received: from EXMBX066.cuchost.com (172.16.7.66) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 29 Nov 2023 14:00:59 +0800 Received: from jsia-virtual-machine.localdomain (60.54.3.230) by EXMBX066.cuchost.com (172.16.6.66) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 29 Nov 2023 14:00:48 +0800 From: Sia Jee Heng <jeeheng.sia@starfivetech.com> To: <kernel@esmil.dk>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <krzk@kernel.org>, <conor+dt@kernel.org>, <paul.walmsley@sifive.com>, <palmer@dabbelt.com>, <aou@eecs.berkeley.edu>, <daniel.lezcano@linaro.org>, <tglx@linutronix.de>, <conor@kernel.org>, <anup@brainfault.org>, <gregkh@linuxfoundation.org>, <jirislaby@kernel.org>, <michal.simek@amd.com>, <michael.zhu@starfivetech.com>, <drew@beagleboard.org> CC: <devicetree@vger.kernel.org>, <linux-riscv@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <jeeheng.sia@starfivetech.com>, <leyfoon.tan@starfivetech.com> Subject: [PATCH v2 0/6] Initial device tree support for StarFive JH8100 SoC Date: Wed, 29 Nov 2023 14:00:37 +0800 Message-ID: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [60.54.3.230] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: <linux-kernel.vger.kernel.org> 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]); Tue, 28 Nov 2023 22:01:38 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783877024133842413 X-GMAIL-MSGID: 1783877024133842413 |
Series |
Initial device tree support for StarFive JH8100 SoC
|
|
Message
JeeHeng Sia
Nov. 29, 2023, 6 a.m. UTC
StarFive JH8100 SoC consists of 4 RISC-V performance Cores (Dubhe-90) and 2 RISC-V energy efficient cores (Dubhe-80). It also features various interfaces such as DDR4, Gbit-Ether, CAN, USB 3.2, SD/MMC, etc., making it ideal for high-performance computing scenarios. This patch series introduces initial SoC DTSI support for the StarFive JH8100 SoC. The relevant dt-binding documentation has been updated accordingly. Below is the list of IP blocks added in the initial SoC DTSI, which can be used for booting via initramfs on FPGA: - StarFive Dubhe-80 CPU - StarFive Dubhe-90 CPU - PLIC - CLINT - UART The primary goal is to include foundational patches so that additional drivers can be built on top of this framework. Changes since v1: - Dropped patch 5. - Moved timebase-frequency from .dts to .dtsi. - Moved soc node from .dts to .dtsi. - Revised the title for the dt-binding document by removing Xilinx wording. - Added a full stop to the end of the commit messages. - Removed extra blank lines. - Used hyphen for a node name. - Added more recipients to the mailing list. Sia Jee Heng (6): dt-bindings: riscv: Add StarFive Dubhe compatibles dt-bindings: riscv: Add StarFive JH8100 SoC dt-bindings: timer: Add StarFive JH8100 clint dt-bindings: interrupt-controller: Add StarFive JH8100 plic dt-bindings: serial: cdns: Add new compatible string for StarFive JH8100 UART riscv: dts: starfive: Add initial StarFive JH8100 device tree .../sifive,plic-1.0.0.yaml | 1 + .../devicetree/bindings/riscv/cpus.yaml | 2 + .../devicetree/bindings/riscv/starfive.yaml | 5 +- .../devicetree/bindings/serial/cdns,uart.yaml | 4 + .../bindings/timer/sifive,clint.yaml | 1 + arch/riscv/boot/dts/starfive/Makefile | 1 + arch/riscv/boot/dts/starfive/jh8100-evb.dts | 28 ++ arch/riscv/boot/dts/starfive/jh8100.dtsi | 378 ++++++++++++++++++ 8 files changed, 419 insertions(+), 1 deletion(-) create mode 100644 arch/riscv/boot/dts/starfive/jh8100-evb.dts create mode 100644 arch/riscv/boot/dts/starfive/jh8100.dtsi base-commit: 18d46e76d7c2eedd8577fae67e3f1d4db25018b0
Comments
Thank you, Krzysztof, Conor, and LeyFoon, for your comments. I will prepare version 3 to address all the feedback. > -----Original Message----- > From: JeeHeng Sia <jeeheng.sia@starfivetech.com> > Sent: Wednesday, November 29, 2023 2:01 PM > To: kernel@esmil.dk; robh+dt@kernel.org; krzysztof.kozlowski+dt@linaro.org; krzk@kernel.org; conor+dt@kernel.org; > paul.walmsley@sifive.com; palmer@dabbelt.com; aou@eecs.berkeley.edu; daniel.lezcano@linaro.org; tglx@linutronix.de; > conor@kernel.org; anup@brainfault.org; gregkh@linuxfoundation.org; jirislaby@kernel.org; michal.simek@amd.com; Michael Zhu > <michael.zhu@starfivetech.com>; drew@beagleboard.org > Cc: devicetree@vger.kernel.org; linux-riscv@lists.infradead.org; linux-kernel@vger.kernel.org; JeeHeng Sia > <jeeheng.sia@starfivetech.com>; Leyfoon Tan <leyfoon.tan@starfivetech.com> > Subject: [PATCH v2 0/6] Initial device tree support for StarFive JH8100 SoC > > StarFive JH8100 SoC consists of 4 RISC-V performance Cores (Dubhe-90) and > 2 RISC-V energy efficient cores (Dubhe-80). It also features various > interfaces such as DDR4, Gbit-Ether, CAN, USB 3.2, SD/MMC, etc., making it > ideal for high-performance computing scenarios. > > This patch series introduces initial SoC DTSI support for the StarFive > JH8100 SoC. The relevant dt-binding documentation has been updated > accordingly. Below is the list of IP blocks added in the initial SoC DTSI, > which can be used for booting via initramfs on FPGA: > > - StarFive Dubhe-80 CPU > - StarFive Dubhe-90 CPU > - PLIC > - CLINT > - UART > > The primary goal is to include foundational patches so that additional > drivers can be built on top of this framework. > > Changes since v1: > - Dropped patch 5. > - Moved timebase-frequency from .dts to .dtsi. > - Moved soc node from .dts to .dtsi. > - Revised the title for the dt-binding document by removing Xilinx > wording. > - Added a full stop to the end of the commit messages. > - Removed extra blank lines. > - Used hyphen for a node name. > - Added more recipients to the mailing list. > > Sia Jee Heng (6): > dt-bindings: riscv: Add StarFive Dubhe compatibles > dt-bindings: riscv: Add StarFive JH8100 SoC > dt-bindings: timer: Add StarFive JH8100 clint > dt-bindings: interrupt-controller: Add StarFive JH8100 plic > dt-bindings: serial: cdns: Add new compatible string for StarFive > JH8100 UART > riscv: dts: starfive: Add initial StarFive JH8100 device tree > > .../sifive,plic-1.0.0.yaml | 1 + > .../devicetree/bindings/riscv/cpus.yaml | 2 + > .../devicetree/bindings/riscv/starfive.yaml | 5 +- > .../devicetree/bindings/serial/cdns,uart.yaml | 4 + > .../bindings/timer/sifive,clint.yaml | 1 + > arch/riscv/boot/dts/starfive/Makefile | 1 + > arch/riscv/boot/dts/starfive/jh8100-evb.dts | 28 ++ > arch/riscv/boot/dts/starfive/jh8100.dtsi | 378 ++++++++++++++++++ > 8 files changed, 419 insertions(+), 1 deletion(-) > create mode 100644 arch/riscv/boot/dts/starfive/jh8100-evb.dts > create mode 100644 arch/riscv/boot/dts/starfive/jh8100.dtsi > > > base-commit: 18d46e76d7c2eedd8577fae67e3f1d4db25018b0 > -- > 2.34.1