From patchwork Fri Dec 1 12:14:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 172463 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1072719vqy; Fri, 1 Dec 2023 04:15:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IESjdccBny2+7FHdrmFfn9dTtIDlWr3vZ+9iVJAonYo1jBwZQ+w6+WIZ9J8KG+Z/git7YoX X-Received: by 2002:a17:903:11d1:b0:1cf:66a3:16c with SMTP id q17-20020a17090311d100b001cf66a3016cmr27355738plh.21.1701432901208; Fri, 01 Dec 2023 04:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701432901; cv=none; d=google.com; s=arc-20160816; b=uSdgeQiXh8lLrulv8pnlMGmxV4onh4jbvMcPWjzHkQoF11QWLoY0cc0ZgODIgscOkj FrZ/r2FrIySB75kGwKgdMBdMCekP7jJ19bFfLo5FPtHnc2JdlK57eVCqB/iiH2v4a93m hJT+s40ik8ZUaYQU1F7m9zmRwRUBRVnMk5BXdzkYXKzOQ+AdzogUwjwIDkxmBirSSUhV S/wZ7qIWaXeeu8/xIgmzTyRwXzPsp7gxeIq34pkp75fLrnDUZMCrkdqergBtRheQYzFl AxgixR/azLKjKpqKhP+QUijUTLE7DXaiCROUOWgLggi8kWt3JTLRljX0SAqvgfW8aTUu 0zIg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ITu64yW6u691FjN3CkIRcbqs35MVNnt44FEN0f9qUpk=; fh=sN4+/BjIy2DV9ynVxPCz6esahHdQ/8sI7w0nO1fhIxw=; b=K5jfMZLLZ/nZ1hHtIxSrUCtZ9D1NiWP1fEgPNuHtYZgndWmw5v35sxN8YPuP+HqE6q Rr8M9sJBosPTVXUST+yhuX6tg+UVlNF0Kp61yhZ/XHNQMT6s/ichxYwbXsd75JaHBObw 0ue/XRjxEp2jO/m/crpDZMAZQ5jiQSFds6O5hDlNvMokFEPSg1J1Lc1/6hDHp2b8ceE2 8EL088NT9xoeY+VFnSvQvnWMuEbz0va2i87PzTClrCyYjfGY12twMbRnJkNiUdu6gQb9 H5ua5UZUhoVU5dQoDFFTMBvNa0Mr8279+lMXY/Z4k82dd81V/AQG1ilIJt9n7BoMJGU/ bENg== 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:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id n2-20020a170902e54200b001cfb357c8f0si3285083plf.246.2023.12.01.04.15.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:15:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id CF7A085F6E87; Fri, 1 Dec 2023 04:14:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378766AbjLAMOp convert rfc822-to-8bit (ORCPT + 99 others); Fri, 1 Dec 2023 07:14:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378724AbjLAMOo (ORCPT ); Fri, 1 Dec 2023 07:14:44 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5708A103; Fri, 1 Dec 2023 04:14:50 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 03C5724E2A0; Fri, 1 Dec 2023 20:14:42 +0800 (CST) Received: from EXMBX066.cuchost.com (172.16.7.66) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 1 Dec 2023 20:14:42 +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; Fri, 1 Dec 2023 20:14:29 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , , Conor Dooley Subject: [PATCH v3 1/6] dt-bindings: riscv: Add StarFive Dubhe compatibles Date: Fri, 1 Dec 2023 20:14:05 +0800 Message-ID: <20231201121410.95298-2-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> References: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [60.54.3.230] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag 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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:14:59 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784081705805054712 X-GMAIL-MSGID: 1784081705805054712 Add new compatible strings for Dubhe-80 and Dubhe-90. These are RISC-V cpu core from StarFive Technology and are used in StarFive JH8100 SoC. Signed-off-by: Sia Jee Heng Reviewed-by: Ley Foon Tan Acked-by: Conor Dooley --- Documentation/devicetree/bindings/riscv/cpus.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index f392e367d673..0dd2d2ce4fcd 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -45,6 +45,8 @@ properties: - sifive,u7 - sifive,u74 - sifive,u74-mc + - starfive,dubhe-80 + - starfive,dubhe-90 - thead,c906 - thead,c910 - thead,c920 From patchwork Fri Dec 1 12:14:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 172464 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1072786vqy; Fri, 1 Dec 2023 04:15:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMMwojg3PwxGgOyr3Zn8iwwGVY6HLpc6mu+pMKJADOGFk/jTDEvUAYxlNzzYHHInISPLAG X-Received: by 2002:a05:6358:c31f:b0:16e:27d6:b9cb with SMTP id fk31-20020a056358c31f00b0016e27d6b9cbmr21166857rwb.10.1701432906573; Fri, 01 Dec 2023 04:15:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701432906; cv=none; d=google.com; s=arc-20160816; b=kHeU3UiviI0W+NRvDmwcyYH9u7VkyTkb+iJc4VGuNJdF2OA5K97bM3n+ZTcS6p+LJ/ ZkEq3oXsxuFUSS/QY0PSt5WcmWJXkjGwTks7aUxXVWvDR5/qv2WKw8K7uDRjFCtGBsaJ s94o+R76+L28VZKo1mMSi1QB2193UpNGJ4ZKhE1I5Kpe6tbSDRw9x8e+8ANDsdnn5a0e 8ZmAFg0Bd+Ld2H3uM61P/XGKBfEdvKLBkOMhXxyzBI9ukaNZvcfPsyLYl4eiuwjE6Fq2 +5uSYXT28UxC2zPanFIiVIVji7NeF9ligd6fY6s0wlT6FroZN9JTo+SSzXgeUcCYNx+k +JEA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=iVpNFGmewzm37+T5gEicU4XhgzgpyKEUQqDbbHbDkbc=; fh=sN4+/BjIy2DV9ynVxPCz6esahHdQ/8sI7w0nO1fhIxw=; b=O0Z5CwrEOwzfRB9deYGWbS0zwlxW21q9T/IY5F0y5F46CZQeDr8seZIUdPWJ1EfuYA T7uDZ0SAn7bQ9PvdArW835XIk8vX4Z+h7pwIEQQQ2T3hnfebmfkC1/rGRGjE/9A0o6Bf bn7cZEq56NJcQabZzMfx7keEieT12h0MpwnxWQvBY5z5olZNyAEXrnb4Ao0SMQijPEW0 t5aIX/uotuPiPHgk31rFuV9WgJyyixGxwAVJVZ+umWlPn2yJ9w8qZODlKzviUhsL7Nbs Oz0VoBDEMMTgKDi96msxmUC/Anhm6NnxWG9b/Ap7TGSidAA273ZApOA8+wGaiDADYi6h 3kxQ== 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 e18-20020a639a52000000b00573f94e8b83si3123101pgo.265.2023.12.01.04.15.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:15:06 -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 ED1C080FCE3B; Fri, 1 Dec 2023 04:15:02 -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 S1378775AbjLAMOx convert rfc822-to-8bit (ORCPT + 99 others); Fri, 1 Dec 2023 07:14:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378770AbjLAMOv (ORCPT ); Fri, 1 Dec 2023 07:14:51 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B3501724; Fri, 1 Dec 2023 04:14:57 -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 8A9318178; Fri, 1 Dec 2023 20:14:55 +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; Fri, 1 Dec 2023 20:14:55 +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; Fri, 1 Dec 2023 20:14:43 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , , Conor Dooley Subject: [PATCH v3 2/6] dt-bindings: riscv: Add StarFive JH8100 SoC Date: Fri, 1 Dec 2023 20:14:06 +0800 Message-ID: <20231201121410.95298-3-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> References: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [60.54.3.230] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag 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: 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]); Fri, 01 Dec 2023 04:15:03 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784081711359664546 X-GMAIL-MSGID: 1784081711359664546 Add device tree bindings for the StarFive JH8100 RISC-V SoC. Signed-off-by: Sia Jee Heng Reviewed-by: Ley Foon Tan Acked-by: Conor Dooley --- Documentation/devicetree/bindings/riscv/starfive.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml index cc4d92f0a1bf..12d7844232b8 100644 --- a/Documentation/devicetree/bindings/riscv/starfive.yaml +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml @@ -30,6 +30,10 @@ properties: - starfive,visionfive-2-v1.3b - const: starfive,jh7110 + - items: + - enum: + - starfive,jh8100-evb + - const: starfive,jh8100 additionalProperties: true ... From patchwork Fri Dec 1 12:14:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 172466 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1073297vqy; Fri, 1 Dec 2023 04:15:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0Sv+xzkXCAe99Ozm7uIer99uqAx3ThNVSIxO2ms3LnvKwRnzbarLyAa1msywTZ+zgvGSD X-Received: by 2002:a05:6e02:1581:b0:35d:2419:8742 with SMTP id m1-20020a056e02158100b0035d24198742mr12482009ilu.14.1701432955095; Fri, 01 Dec 2023 04:15:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701432955; cv=none; d=google.com; s=arc-20160816; b=nbuDl7OiZZF4w7OBmw7wP4VqvP0S1NNLRAX8hk+8wJi07ilCqYhvbCc8v7+tOCczgo 0Rl/TNC9AH6Xbw4Nsxa619YAkfmblIZTdFcXIEg40Rjiwf+I9aKWYoPghShPEJINP+Bh R6Ms3kwJ+4fg+ikQHll1FHXO50UzeIHYmTTgnwMBYM6jy9fv3ZteQqEdiHafVLlh4MHG HFUKP8vdCiZI+hyOanh3EDJ+rev5U8KO3dNmjCfQO+hf9ouBq/M0YYJQF8jsRlXarUbz EWkTy3bcjJdShmS47aAisUKcM+tusZq3CWzc21ZDcjMp9lKqRKZyAQwCh28RP/nqls8T DSqg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=qSIIh+tet01QBzjEV9GcJmdn7JazcHEJQgk7/ph81Vk=; fh=sN4+/BjIy2DV9ynVxPCz6esahHdQ/8sI7w0nO1fhIxw=; b=BQpP4Pz5cBRYuVZQct+3ra/ODpSDktXLQ9uq/uvYGaIT2Gwz+XUPuHr7pD47ZziyN+ qBjYqL/+kjQu9h6AHGVPG6eTPEbvfbQTMJiu76dnoTRnDf4iYUfmYJC0fsIFOeqho7jY FoVTJIXZ3W3GbQuFx9JWFzMtif1chQT9EmsLYfTJH/ABBTMUqZrZtONcEzWYHi1lRLvE S8098fI1XdAuyyWbX3/4vrGyf4vSewXkwenQq/pSdcZQlw6prpaIDF/Nmban7AjjmY8G CW6VFZUFWEYQ4tlc2mUb/YPpk4hq2dYXQVyRuH1OktD1eWdDpUi1fk81RCGDUY3FUJi6 y80Q== 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:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id r11-20020a63ec4b000000b005c2783b71d7si3205471pgj.354.2023.12.01.04.15.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:15:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 4FEB9807EBAE; Fri, 1 Dec 2023 04:15:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378770AbjLAMPH convert rfc822-to-8bit (ORCPT + 99 others); Fri, 1 Dec 2023 07:15:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378763AbjLAMPF (ORCPT ); Fri, 1 Dec 2023 07:15:05 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CC701726; Fri, 1 Dec 2023 04:15:10 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 1AE2324E269; Fri, 1 Dec 2023 20:15:09 +0800 (CST) Received: from EXMBX066.cuchost.com (172.16.7.66) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 1 Dec 2023 20:15:09 +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; Fri, 1 Dec 2023 20:14:56 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , , Conor Dooley Subject: [PATCH v3 3/6] dt-bindings: timer: Add StarFive JH8100 clint Date: Fri, 1 Dec 2023 20:14:07 +0800 Message-ID: <20231201121410.95298-4-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> References: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [60.54.3.230] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:15:16 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784081762608220974 X-GMAIL-MSGID: 1784081762608220974 Add compatible string for the StarFive JH8100 clint. Signed-off-by: Sia Jee Heng Reviewed-by: Ley Foon Tan Acked-by: Conor Dooley --- Documentation/devicetree/bindings/timer/sifive,clint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml index e8be6c470364..01254261e156 100644 --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml @@ -33,6 +33,7 @@ properties: - sifive,fu540-c000-clint # SiFive FU540 - starfive,jh7100-clint # StarFive JH7100 - starfive,jh7110-clint # StarFive JH7110 + - starfive,jh8100-clint # StarFive JH8100 - const: sifive,clint0 # SiFive CLINT v0 IP block - items: - enum: From patchwork Fri Dec 1 12:14:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 172465 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1073106vqy; Fri, 1 Dec 2023 04:15:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/vATW9ZqcULbl/QZ5TLvl3bE6eLlMaEJtURXlzXI6KQr4Oo9yiHuiLBKY0EFpD59kYprw X-Received: by 2002:a05:6a20:144e:b0:153:78c1:c40f with SMTP id a14-20020a056a20144e00b0015378c1c40fmr26501491pzi.15.1701432937926; Fri, 01 Dec 2023 04:15:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701432937; cv=none; d=google.com; s=arc-20160816; b=LTjx3Vu83S9Dp9bmnq4Z3Qvz73QJVkLy0Qfa86BwOCLK/34nRTyuJ10GHy3j6VyRps zOAOWI2ZLiw3itw7kiWdPBSRRq+Wwa05iPOaibt8Pq003Zq6px/DmRWBIm0hgOBf5K8y DFbij/yHlALSVmlPv4Kaa5kB17hB/KRBjEa0tINlvT5VdQWkcVjUm7pE0WgadrkGKwOY /vhARLIxw1kC3nHX5P1T79x/NyVFACDH4a8Jz276deVHR4ST860S7MXagry4f8tvOH6W o5YPpLmHTeoAfxr5R1rssSPsvNS8OFCA5AVO2nmwi7Y5U8Uvz6GU/Rnf0PL7W1RKLY3o 8QPw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=AwrKB/w5i64r2EudIDZS6q7u+paYNxJZs6jXk6dd5vI=; fh=sN4+/BjIy2DV9ynVxPCz6esahHdQ/8sI7w0nO1fhIxw=; b=rrR6Wg8dkHXK//7ZCiiVWb3X9tCNUaxum+lxvNl1XkfPpwuIZKzuIgKt7nYMFVDO8u bvBFLWKM4z2YzRMXFexcBsrg7pBZN2hDPEkeyyyKDRGoTRfuebpA0D2t03sCMSWoqBqN LPGHG4JhFiFjzEB09uju3wUOk6J0yCBIjD0ZC3BVk0hrQjV0VybEjHNJasQSmJffceU2 Q3NMTXU9OinxiJDw8alhKez/mI/l7nQrRLt32gTufDvnQWV4PPyJ3qfja4zuHy5GlmVc ZawT+4VtT3bwszn9UvdliWd8OuyIUV07b2zL9B3hPpPK2Ar2Yr325youUWpvbJi/bFnt l1NA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id r11-20020a63ec4b000000b005c21d7ee51asi3313382pgj.301.2023.12.01.04.15.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:15:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id B7DCB834F4A3; Fri, 1 Dec 2023 04:15:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378681AbjLAMPX convert rfc822-to-8bit (ORCPT + 99 others); Fri, 1 Dec 2023 07:15:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378803AbjLAMPS (ORCPT ); Fri, 1 Dec 2023 07:15:18 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E7CE1721; Fri, 1 Dec 2023 04:15:24 -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 DEB9024E2A8; Fri, 1 Dec 2023 20:15:22 +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; Fri, 1 Dec 2023 20:15:22 +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; Fri, 1 Dec 2023 20:15:10 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , , Conor Dooley Subject: [PATCH v3 4/6] dt-bindings: interrupt-controller: Add StarFive JH8100 plic Date: Fri, 1 Dec 2023 20:14:08 +0800 Message-ID: <20231201121410.95298-5-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> References: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [60.54.3.230] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag 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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:15:34 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784081744037759912 X-GMAIL-MSGID: 1784081744037759912 Add compatible string for StarFive JH8100 plic. Signed-off-by: Sia Jee Heng Reviewed-by: Ley Foon Tan Acked-by: Conor Dooley --- .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml index 0c07e8dda445..8f5c6044cef7 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml @@ -61,6 +61,7 @@ properties: - sifive,fu540-c000-plic - starfive,jh7100-plic - starfive,jh7110-plic + - starfive,jh8100-plic - const: sifive,plic-1.0.0 - items: - enum: From patchwork Fri Dec 1 12:14:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 172467 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1073461vqy; Fri, 1 Dec 2023 04:16:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHswRH8AMZhZZpYcofpdIYee9LDvmsp46MN+gIazv3WPyFtQwNGKJ6HYAIt3N5OZnNFNXH4 X-Received: by 2002:a05:6a20:3d03:b0:185:a762:9179 with SMTP id y3-20020a056a203d0300b00185a7629179mr32877505pzi.1.1701432970808; Fri, 01 Dec 2023 04:16:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701432970; cv=none; d=google.com; s=arc-20160816; b=jGAyf/yOaK2SxhM2CEfrsvLVtZHc0blKioTviP8tiQ1OohwamS6oTbeGjw0aTXglqD 50X5wJkCudoaVxKjRt5md9L4tqGGYJsk/X1a0euOy8fPg+Z/oIzayObyYX8Xjelf/7/o cB2TRuks45e9hXGQQf6+bkQOZFef6h4j642paivMCIZVTyGWqMWzXWjW7XTotFKIupXX +B2KRCc7HlZ/3jdsIityfUEbUwxvROOu4Kvlns+5QfhRS2S43K1l5iGUXPklKcI0uf/r FjNuOEHA3K7OsMmJ1tbN0M85Th0OlIlBVEJ2bzVEDVTYJZslppPtW/4z9n4OO9GNwzPi mZFA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=g2zLgq36uy2pX22x5WQ6xPtS/Y3bmPLnQUftUDF2Rwc=; fh=MyYr2e7fHTU0M+N+DCuEi+Z7iOohUYF9duigLNinjzI=; b=aO//b6RuBQUEzfu/X6GSkrIRv/JCzymcoIliZKBXVlE1tradmzSxm5x2j8LZmsbhLe qBkUoXRm9MncXT7RCvAoyU4HCKAPy6XUL0cIXg8gFAo7+n2+7TpGF/NjUcpjpGhOuHCf j9pgaIMr0JYytdwrgiUBS7Rq/uQn6BqBHk9dsTX/UekF/I0xjgT6ku24w8dbms7ShDIL ntZxPoaZTDvr5u8dfoWLzK+iMYF8lV8ZUl8jTt6VgpOgtHQBwTEsQdGxFTgmxZQcZ5lX SJyME5S3KsaeTtDeTSDaci9wR08Ki6wFKel6lKDM6LB9Z26s4dj2Xsf3aYkUEzmHIN/q vmSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id a9-20020a656049000000b005c624eec079si3343152pgp.724.2023.12.01.04.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:16:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 E48DE8266422; Fri, 1 Dec 2023 04:15:53 -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 S1378778AbjLAMPg convert rfc822-to-8bit (ORCPT + 99 others); Fri, 1 Dec 2023 07:15:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378785AbjLAMPd (ORCPT ); Fri, 1 Dec 2023 07:15:33 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AE841707; Fri, 1 Dec 2023 04:15:39 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 23DAC24E269; Fri, 1 Dec 2023 20:15:38 +0800 (CST) Received: from EXMBX066.cuchost.com (172.16.7.66) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 1 Dec 2023 20:15:38 +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; Fri, 1 Dec 2023 20:15:24 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , Subject: [PATCH v3 5/6] dt-bindings: serial: cdns: Add new compatible string for StarFive JH8100 UART Date: Fri, 1 Dec 2023 20:14:09 +0800 Message-ID: <20231201121410.95298-6-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> References: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [60.54.3.230] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag 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]); Fri, 01 Dec 2023 04:15:54 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784081779023521197 X-GMAIL-MSGID: 1784081779023521197 Add new compatible string for UART in the StarFive JH8100 SoC. Signed-off-by: Sia Jee Heng Reviewed-by: Ley Foon Tan Acked-by: Conor Dooley --- Documentation/devicetree/bindings/serial/cdns,uart.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml index e35ad1109efc..07732ae60007 100644 --- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml +++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml @@ -12,6 +12,9 @@ maintainers: properties: compatible: oneOf: + - items: + - const: starfive,jh8100-uart + - const: cdns,uart-r1p8 - description: UART controller for Zynq-7xxx SoC items: - const: xlnx,xuartps From patchwork Fri Dec 1 12:14:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 172468 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1073471vqy; Fri, 1 Dec 2023 04:16:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCSENThLrBN8ARwG4fQkluLyY0Z+o1UWUS6QPs+zMyk/AZt1gb6yYhVEseupC8GdmJvBow X-Received: by 2002:a05:6a00:848:b0:6ce:67e:bb29 with SMTP id q8-20020a056a00084800b006ce067ebb29mr990387pfk.1.1701432972162; Fri, 01 Dec 2023 04:16:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701432972; cv=none; d=google.com; s=arc-20160816; b=K2CkzSVJrwNpFdTTrIeyVE9ezoq1EPHRJE1JSasrNm5Dbq4ILWkyMFPthFwW6S6uhh FpqnVmiXUmQfr0VWtkGsTEv0bJtqBOCfFyOu/kkMY8U0giBahjFf6gA6ixYFYJls/RI3 AZOQvbUiQJMBFg7F6p/2HLR+VOTlHMgvHgjhvrD1sEG5A7FJPhsqP/eu2Y699QCZPSid GQl7KQ2M1tGQqEJG8YBx+9ZLKBM2/TfbpKENQJbjVOObuvHWnCiPQbjhDMBP0oGJGv5L kQSt4u3/tC9F3IHBC+ICl6RLu2mUn69qFajjqeLBAqsaIqbc3CUDKyz+lU3CcaOMCvdX bhXw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Hh0t/yWXL0K3fe4gnPjZW2OjCGAEXfhfmQ5oTTGGqFw=; fh=MyYr2e7fHTU0M+N+DCuEi+Z7iOohUYF9duigLNinjzI=; b=e2sr4cr31vREnKhXd6yvE4O2Vdhe1taVe4ASbbYYia/glYiFvHwHdNgtdu+kPfn8aF wyHxJDL+bGFRXvEJg5+OYlYQypUOTRXMusqEWfJRAb024/7vUa7jN2hj2sQjVG5/hLOV 8eJ8ICUADWr14LNgTV3ssvA/HkhqvndM+PJVa5zjyd/dMiH5zNu8kaPwIneaUu3Rn81X 7KrfY85OJEjUCo8gnYELXb+0xWZONn4Cqr4UueAvd35z4/aKjZbgL2uCfRXZ0NphwX7p ZCKvqkG1uzogBag7wJ5rBD9zyYWV0OjR/BwJFgnXEZRmiTuI3ynauSdMxzSBnXyeJGw5 +drA== 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:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id w17-20020a056a0014d100b0069342eade87si3317588pfu.18.2023.12.01.04.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:16:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id A31998040C41; Fri, 1 Dec 2023 04:16:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378800AbjLAMPv convert rfc822-to-8bit (ORCPT + 99 others); Fri, 1 Dec 2023 07:15:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378776AbjLAMPt (ORCPT ); Fri, 1 Dec 2023 07:15:49 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4021E1717; Fri, 1 Dec 2023 04:15:53 -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 317B324E2A0; Fri, 1 Dec 2023 20:15:51 +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; Fri, 1 Dec 2023 20:15:51 +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; Fri, 1 Dec 2023 20:15:39 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , Subject: [PATCH v3 6/6] riscv: dts: starfive: Add initial StarFive JH8100 device tree Date: Fri, 1 Dec 2023 20:14:10 +0800 Message-ID: <20231201121410.95298-7-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> References: <20231201121410.95298-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [60.54.3.230] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:16:08 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784081780243999824 X-GMAIL-MSGID: 1784081780243999824 Add initial device tree for the StarFive JH8100 RISC-V SoC. Signed-off-by: Sia Jee Heng Reviewed-by: Ley Foon Tan Acked-by: Emil Renner Berthing --- arch/riscv/boot/dts/starfive/Makefile | 2 + arch/riscv/boot/dts/starfive/jh8100-evb.dts | 28 ++ arch/riscv/boot/dts/starfive/jh8100.dtsi | 378 ++++++++++++++++++++ 3 files changed, 408 insertions(+) create mode 100644 arch/riscv/boot/dts/starfive/jh8100-evb.dts create mode 100644 arch/riscv/boot/dts/starfive/jh8100.dtsi diff --git a/arch/riscv/boot/dts/starfive/Makefile b/arch/riscv/boot/dts/starfive/Makefile index 0141504c0f5c..ef5c7331c7ec 100644 --- a/arch/riscv/boot/dts/starfive/Makefile +++ b/arch/riscv/boot/dts/starfive/Makefile @@ -10,3 +10,5 @@ dtb-$(CONFIG_ARCH_STARFIVE) += jh7100-starfive-visionfive-v1.dtb dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-starfive-visionfive-2-v1.2a.dtb dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-starfive-visionfive-2-v1.3b.dtb + +dtb-$(CONFIG_ARCH_STARFIVE) += jh8100-evb.dtb diff --git a/arch/riscv/boot/dts/starfive/jh8100-evb.dts b/arch/riscv/boot/dts/starfive/jh8100-evb.dts new file mode 100644 index 000000000000..c16bc25d8988 --- /dev/null +++ b/arch/riscv/boot/dts/starfive/jh8100-evb.dts @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (c) 2021-2023 StarFive Technology Co., Ltd. + */ + +#include "jh8100.dtsi" + +/ { + model = "StarFive JH8100 EVB"; + compatible = "starfive,jh8100-evb", "starfive,jh8100"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0x0 0x40000000 0x2 0x00000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/arch/riscv/boot/dts/starfive/jh8100.dtsi b/arch/riscv/boot/dts/starfive/jh8100.dtsi new file mode 100644 index 000000000000..f26aff5c1ddf --- /dev/null +++ b/arch/riscv/boot/dts/starfive/jh8100.dtsi @@ -0,0 +1,378 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (c) 2021-2023 StarFive Technology Co., Ltd. + */ + +/dts-v1/; + +/ { + compatible = "starfive,jh8100"; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + timebase-frequency = <4000000>; + + cpu0: cpu@0 { + compatible = "starfive,dubhe-80", "riscv"; + capacity-dmips-mhz = <768>; + d-cache-block-size = <64>; + d-cache-sets = <512>; + d-cache-size = <32768>; + d-tlb-sets = <1>; + d-tlb-size = <48>; + device_type = "cpu"; + i-cache-block-size = <64>; + i-cache-sets = <512>; + i-cache-size = <32768>; + i-tlb-sets = <1>; + i-tlb-size = <48>; + mmu-type = "riscv,sv48"; + next-level-cache = <&l2c0>; + reg = <0x0>; + riscv,isa = "rv64imafdch"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "zicntr", + "zicsr", "zifencei", "zihintpause", "zihpm", + "zba", "zbb", "zbs", "sscofpmf"; + tlb-split; + + cpu0_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + interrupt-controller; + #interrupt-cells = <1>; + }; + }; + + cpu1: cpu@1 { + compatible = "starfive,dubhe-80", "riscv"; + capacity-dmips-mhz = <768>; + d-cache-block-size = <64>; + d-cache-sets = <512>; + d-cache-size = <32768>; + d-tlb-sets = <1>; + d-tlb-size = <48>; + device_type = "cpu"; + i-cache-block-size = <64>; + i-cache-sets = <512>; + i-cache-size = <32768>; + i-tlb-sets = <1>; + i-tlb-size = <48>; + mmu-type = "riscv,sv48"; + next-level-cache = <&l2c1>; + reg = <0x1>; + riscv,isa = "rv64imafdch"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "zicntr", + "zicsr", "zifencei", "zihintpause", "zihpm", + "zba", "zbb", "zbs", "sscofpmf"; + tlb-split; + + cpu1_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + interrupt-controller; + #interrupt-cells = <1>; + }; + }; + + cpu2: cpu@2 { + compatible = "starfive,dubhe-90", "riscv"; + capacity-dmips-mhz = <1024>; + d-cache-block-size = <64>; + d-cache-sets = <1024>; + d-cache-size = <65536>; + d-tlb-sets = <1>; + d-tlb-size = <48>; + device_type = "cpu"; + i-cache-block-size = <64>; + i-cache-sets = <1024>; + i-cache-size = <65536>; + i-tlb-sets = <1>; + i-tlb-size = <48>; + mmu-type = "riscv,sv48"; + next-level-cache = <&l2c2>; + reg = <0x2>; + riscv,isa = "rv64imafdch"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "zicntr", + "zicsr", "zifencei", "zihintpause", "zihpm", + "zba", "zbb", "zbs", "sscofpmf"; + tlb-split; + + cpu2_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + interrupt-controller; + #interrupt-cells = <1>; + }; + }; + + cpu3: cpu@3 { + compatible = "starfive,dubhe-90", "riscv"; + capacity-dmips-mhz = <1024>; + d-cache-block-size = <64>; + d-cache-sets = <1024>; + d-cache-size = <65536>; + d-tlb-sets = <1>; + d-tlb-size = <48>; + device_type = "cpu"; + i-cache-block-size = <64>; + i-cache-sets = <1024>; + i-cache-size = <65536>; + i-tlb-sets = <1>; + i-tlb-size = <48>; + mmu-type = "riscv,sv48"; + next-level-cache = <&l2c2>; + reg = <0x3>; + riscv,isa = "rv64imafdch"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "zicntr", + "zicsr", "zifencei", "zihintpause", "zihpm", + "zba", "zbb", "zbs", "sscofpmf"; + tlb-split; + + cpu3_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + interrupt-controller; + #interrupt-cells = <1>; + }; + }; + + cpu4: cpu@4 { + compatible = "starfive,dubhe-90", "riscv"; + capacity-dmips-mhz = <1024>; + d-cache-block-size = <64>; + d-cache-sets = <1024>; + d-cache-size = <65536>; + d-tlb-sets = <1>; + d-tlb-size = <48>; + device_type = "cpu"; + i-cache-block-size = <64>; + i-cache-sets = <1024>; + i-cache-size = <65536>; + i-tlb-sets = <1>; + i-tlb-size = <48>; + mmu-type = "riscv,sv48"; + next-level-cache = <&l2c2>; + reg = <0x4>; + riscv,isa = "rv64imafdch"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "zicntr", + "zicsr", "zifencei", "zihintpause", "zihpm", + "zba", "zbb", "zbs", "sscofpmf"; + tlb-split; + + cpu4_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + interrupt-controller; + #interrupt-cells = <1>; + }; + }; + + cpu5: cpu@5 { + compatible = "starfive,dubhe-90", "riscv"; + capacity-dmips-mhz = <1024>; + d-cache-block-size = <64>; + d-cache-sets = <1024>; + d-cache-size = <65536>; + d-tlb-sets = <1>; + d-tlb-size = <48>; + device_type = "cpu"; + i-cache-block-size = <64>; + i-cache-sets = <1024>; + i-cache-size = <65536>; + i-tlb-sets = <1>; + i-tlb-size = <48>; + mmu-type = "riscv,sv48"; + next-level-cache = <&l2c2>; + reg = <0x5>; + riscv,isa = "rv64imafdch"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "zicntr", + "zicsr", "zifencei", "zihintpause", "zihpm", + "zba", "zbb", "zbs", "sscofpmf"; + tlb-split; + + cpu5_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + interrupt-controller; + #interrupt-cells = <1>; + }; + }; + + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu1>; + }; + }; + + cluster2 { + core0 { + cpu = <&cpu2>; + }; + + core1 { + cpu = <&cpu3>; + }; + + core2 { + cpu = <&cpu4>; + }; + + core3 { + cpu = <&cpu5>; + }; + }; + }; + + l2c0: cache-controller-0 { + compatible = "cache"; + cache-block-size = <64>; + cache-level = <2>; + cache-sets = <512>; + cache-size = <0x40000>; + cache-unified; + next-level-cache = <&l3_cache>; + }; + + l2c1: cache-controller-1 { + compatible = "cache"; + cache-block-size = <64>; + cache-level = <2>; + cache-sets = <512>; + cache-size = <0x40000>; + cache-unified; + next-level-cache = <&l3_cache>; + }; + + l2c2: cache-controller-2{ + compatible = "cache"; + cache-block-size = <64>; + cache-level = <2>; + cache-sets = <4096>; + cache-size = <0x200000>; + cache-unified; + next-level-cache = <&l3_cache>; + }; + + l3_cache: cache-controller-3 { + compatible = "cache"; + cache-block-size = <64>; + cache-level = <3>; + cache-sets = <8192>; + cache-size = <0x400000>; + cache-unified; + }; + }; + + clk_uart: clk-uart { + compatible = "fixed-clock"; /* Initial clock handler for UART */ + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + + soc { + compatible = "simple-bus"; + interrupt-parent = <&plic>; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + clint: clint@2000000 { + compatible = "starfive,jh8100-clint", "sifive,clint0"; + reg = <0x0 0x2000000 0x0 0x10000>; + interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>, + <&cpu1_intc 3>, <&cpu1_intc 7>, + <&cpu2_intc 3>, <&cpu2_intc 7>, + <&cpu3_intc 3>, <&cpu3_intc 7>, + <&cpu4_intc 3>, <&cpu4_intc 7>, + <&cpu5_intc 3>, <&cpu5_intc 7>; + }; + + plic: interrupt-controller@c000000 { + #interrupt-cells = <1>; + #address-cells = <0>; + compatible = "starfive,jh8100-plic", "sifive,plic-1.0.0"; + reg = <0x0 0x0c000000 0x0 0x4000000>; + riscv,ndev = <200>; + interrupt-controller; + interrupts-extended = <&cpu0_intc 11>, <&cpu1_intc 11>, + <&cpu0_intc 9>, <&cpu1_intc 9>, + <&cpu2_intc 11>, <&cpu3_intc 11>, + <&cpu4_intc 11>, <&cpu5_intc 11>, + <&cpu2_intc 9>, <&cpu3_intc 9>, + <&cpu4_intc 9>, <&cpu5_intc 9>; + }; + + uart0: serial@12160000 { + compatible = "starfive,jh8100-uart", "cdns,uart-r1p8"; + reg = <0x0 0x12160000 0x0 0x10000>; + clock-names = "uart_clk", "pclk"; + clocks = <&clk_uart>, <&clk_uart>; + interrupts = <67>; + status = "disabled"; + }; + + uart1: serial@12170000 { + compatible = "starfive,jh8100-uart", "cdns,uart-r1p8"; + reg = <0x0 0x12170000 0x0 0x10000>; + clock-names = "uart_clk", "pclk"; + clocks = <&clk_uart>, <&clk_uart>; + interrupts = <68>; + status = "disabled"; + }; + + uart2: serial@12180000 { + compatible = "starfive,jh8100-uart", "cdns,uart-r1p8"; + reg = <0x0 0x12180000 0x0 0x10000>; + clock-names = "uart_clk", "pclk"; + clocks = <&clk_uart>, <&clk_uart>; + interrupts = <69>; + status = "disabled"; + }; + + uart3: serial@12190000 { + compatible = "starfive,jh8100-uart", "cdns,uart-r1p8"; + reg = <0x0 0x12190000 0x0 0x10000>; + clock-names = "uart_clk", "pclk"; + clocks = <&clk_uart>, <&clk_uart>; + interrupts = <70>; + status = "disabled"; + }; + + uart4: serial@121a0000 { + compatible = "starfive,jh8100-uart", "cdns,uart-r1p8"; + reg = <0x0 0x121a0000 0x0 0x10000>; + clock-names = "uart_clk", "pclk"; + clocks = <&clk_uart>, <&clk_uart>; + interrupts = <71>; + status = "disabled"; + }; + + uart5: serial@127d0000 { + compatible = "starfive,jh8100-uart", "cdns,uart-r1p8"; + reg = <0x0 0x127d0000 0x0 0x10000>; + clock-names = "uart_clk", "pclk"; + clocks = <&clk_uart>, <&clk_uart>; + interrupts = <72>; + status = "disabled"; + }; + + uart6: serial@127e0000 { + compatible = "starfive,jh8100-uart", "cdns,uart-r1p8"; + reg = <0x0 0x127e0000 0x0 0x10000>; + clock-names = "uart_clk", "pclk"; + clocks = <&clk_uart>, <&clk_uart>; + interrupts = <73>; + status = "disabled"; + }; + }; +};