Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2727568rdh; Sun, 26 Nov 2023 17:36:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFB0cUhwf3F50hCxreNFlE7Fxhda12kpkI/8VviycoSJ2riJeMv2hiy0BEFox8gL7h20dlZ X-Received: by 2002:a05:6808:2181:b0:3ad:f866:39bd with SMTP id be1-20020a056808218100b003adf86639bdmr13730867oib.27.1701049014734; Sun, 26 Nov 2023 17:36:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701049014; cv=none; d=google.com; s=arc-20160816; b=Yi3rKXZRJ2FwsmrmFZl3C2Hakz5XSLASB1RCv6FWb+kWk88nS1lMx45UoHZzPACMPu iT+VONYwoNbtmQMNwbvkOWsqted2HqKAEOkhAo54DjeUvQlDiNwEYC0kqbnL3ONDQ356 cWx8fNP3VpqbjoBNO7x57x255U1MMM4WrZxPMH6ido4KwqKOLtEydUr13XJ9A+Oe4lv2 L1OAXhYvI3kD/VHMeDcQ508Q/8uVTyYZgQPMeprRUhz2s18JYznlYeJR3dtmKWvL/58k VsvHY9xiZrq+5KsuTWXOsQqdx2tnV5h4b2hWYkyn4RIib66awhK2q68PaYyLBwwnBgU6 UcbQ== 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=FE2vh8mj5CqUgz7L55RP8rohUbbsFVmYtlm22xhaCTc=; fh=NwY0g3O8p+TEjJRhPyjQLQ8C7jChqXBBckF6d4Husj0=; b=fvZjZy/F6SrfIEZSRl+WSUOTHSOl48CMgkhTXrAx4v7JCTul8PBMluMAckceDJzE8J NLA+SIza725T/kTIe90mUHOABwGKVuxeQsmsx1X9/db2kdtVeAGEXYoF+CwxxwX3iqDg /S+P7Ng1AOmqNsmaZCxCxeCjdmsyhzEHhoW2xlknoiJvaBwubqfrkA3fCYr2t5sIRM5W zrjm6qFOj2nwDiPPicedhYHE9iTr8rSzCK5gQ56gDDeZviNq70Qy7vcx2MQX2U7v5JgS FyAXKm2arg9clUdSvOpaCe6fyP2djD+mbHH2D1v+QYGJScyzU6E5eAzd98gKJ4TPmR4w hjcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id c9-20020a654209000000b005b57aa8517bsi8459096pgq.91.2023.11.26.17.36.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 17:36:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 5FEDD808721C; Sun, 26 Nov 2023 17:36:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231305AbjK0BgT convert rfc822-to-8bit (ORCPT + 99 others); Sun, 26 Nov 2023 20:36:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbjK0BgS (ORCPT ); Sun, 26 Nov 2023 20:36:18 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05C4811A for ; Sun, 26 Nov 2023 17:36:18 -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 fd01.gateway.ufhost.com (Postfix) with ESMTP id 06E9624DBF3; Mon, 27 Nov 2023 09:36:11 +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; Mon, 27 Nov 2023 09:36:10 +0800 Received: from jsia-virtual-machine.localdomain (202.188.176.82) by EXMBX066.cuchost.com (172.16.6.66) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 27 Nov 2023 09:36:06 +0800 From: Sia Jee Heng To: , , , , , , CC: , , , Subject: [PATCH 0/7] Initial device tree support for StarFive JH8100 SoC Date: Mon, 27 Nov 2023 09:35:55 +0800 Message-ID: <20231127013602.253835-1-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.188.176.82] 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 groat.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 (groat.vger.email [0.0.0.0]); Sun, 26 Nov 2023 17:36:50 -0800 (PST) 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. Sia Jee Heng (7): 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: xilinx: Add StarFive compatible string serial: xilinx_uartps: Add new compatible string for StarFive 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 | 3 + .../bindings/timer/sifive,clint.yaml | 1 + arch/riscv/boot/dts/starfive/Makefile | 1 + arch/riscv/boot/dts/starfive/jh8100-evb.dts | 42 ++ arch/riscv/boot/dts/starfive/jh8100.dtsi | 365 ++++++++++++++++++ drivers/tty/serial/xilinx_uartps.c | 3 +- 9 files changed, 421 insertions(+), 2 deletions(-) create mode 100644 arch/riscv/boot/dts/starfive/jh8100-evb.dts create mode 100644 arch/riscv/boot/dts/starfive/jh8100.dtsi base-commit: d2da77f431ac49b5763b88751a75f70daa46296c -- 2.34.1