From patchwork Wed Nov 29 06:00:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 171075 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp143333vqn; Tue, 28 Nov 2023 22:01:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgXAbICh/GOBfE+sCp70cIMNsssQlzMMohKI8K2CB5HzwwT4AABYca+oXSP8MX5MSFcnEL X-Received: by 2002:a05:6871:a506:b0:1fa:a802:5f0d with SMTP id wc6-20020a056871a50600b001faa8025f0dmr222930oab.35.1701237704817; Tue, 28 Nov 2023 22:01:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701237704; cv=none; d=google.com; s=arc-20160816; b=EIT21bMJV5ADoE61qwYZ+c/MjVsoiJKt+9ZiU5zkRmRB3gCsdqyYu1WNUjEL0YF1pc Eutpex516hyyyd6T+i/Snucrr6DzTIF9HM3fmNOBq31GQzx+BQEWIbDOeNfbyiasH1en eSm06PwfqcQl6jDMFKsip0EEwTvC5zfrGFrZk9mdLKuh821J7XeX/snKlut+YGaAtb7I m3uMAasFa9E19SF+5ZOcSvQBXuXWYi90rv4xOy6NGyEpN1ZiENMEzTHE1LupXuaRLcxW duXjMA1YjxJNuYSJcIhoZ/6OkiE1PUoryxNRFxkAvKlxC9zjybudpNTlXNpPJgKKd9Zq F25g== 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=c+1rmpAyk2+Yohg6jdUG3theXTflMRVDZWGqAS8j4iQ=; fh=MyYr2e7fHTU0M+N+DCuEi+Z7iOohUYF9duigLNinjzI=; b=Ko9559rgWyjY9kO+dNicX/kLhcwSIcB9PbViPhqx7c/Fut5HTO3pLBjA2oTBkfDZHg jNMaOUBUS28Lccdhe2XDoeLGz5R7m7swE9UXcLvT+BTwbitJ9eyqqyUzJXZv0sMunJL4 HPySJztUMs/SbHm+1fwvcssyXsawx7AfQv2G+IqzsbDz9LqVSajjY1/QDeSVnCbNBQzH KrU8uePPRe6hNm+kwy4XLMBBIefPb3hazauF5JgAjbbjpp9F7jljZ19qh30wIYLehj6l wqeZ4lIMi6dcxR6urYTo2VBUB9exXdaH0VameMXiJwF4Kk9cW02q8jqq8NiwNus0ZV6c TrZA== 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 fd31-20020a056a002e9f00b006be0f482c0fsi14228114pfb.63.2023.11.28.22.01.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 22:01:44 -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 D1D1C81C397A; Tue, 28 Nov 2023 22:01:40 -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 S1376977AbjK2GBR convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Nov 2023 01:01:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbjK2GBQ (ORCPT ); Wed, 29 Nov 2023 01:01:16 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E3D919AB; Tue, 28 Nov 2023 22:01:21 -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 6517580A7; Wed, 29 Nov 2023 14:01:13 +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:01:13 +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:01:01 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , Subject: [PATCH v2 1/6] dt-bindings: riscv: Add StarFive Dubhe compatibles Date: Wed, 29 Nov 2023 14:00:38 +0800 Message-ID: <20231129060043.368874-2-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> References: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 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 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]); Tue, 28 Nov 2023 22:01:41 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783877027790631377 X-GMAIL-MSGID: 1783877027790631377 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..493972b29a22 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -48,6 +48,8 @@ properties: - thead,c906 - thead,c910 - thead,c920 + - starfive,dubhe-80 + - starfive,dubhe-90 - const: riscv - items: - enum: From patchwork Wed Nov 29 06:00:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 171077 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp143466vqn; Tue, 28 Nov 2023 22:02:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBJY23eDKdOIZ3E7wEkJj9bcpjn3tqIXdokcf7GdnIVPvfiPDFlBp3ksOqwxOpmuwP8zCC X-Received: by 2002:a05:6a21:78a2:b0:18c:3729:7867 with SMTP id bf34-20020a056a2178a200b0018c37297867mr15511307pzc.21.1701237720856; Tue, 28 Nov 2023 22:02:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701237720; cv=none; d=google.com; s=arc-20160816; b=WNr4usTpa3IsCqDOTRMg9FNwt0Jtqyxp3rZnl/VY6QMoxaJppFM+nSAKFxmpEHZjfZ JLRmp6XGdGqMie6hy0FCA3SJPCp9egVmy3kmrv9xTLyVABus/upHVmzA4dhqCncJhUH8 HYALXJ/by0a0aXIuunLo5AVnaVMxwmkVnCqDO4eHsbaSgoqm3B7Fp9+IbfQzKilXhYoi R6K8fIhc+0db4RA9QhLZYYJXDfKXIHcTuz645CpSe3of3NUwQi6rxhFbOu5pQN6iNs41 AFwEL0acHlDSUtw3JdMaFLLBGP41lb3hT/Ts9vSb5s4oNQkl8oCb/I+Z7ZhLs5AMIpWt Uz8A== 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=/HgqSiB1+F1NYq+9daOSZMiL2gppCmU1NQ54k/FoSlo=; fh=MyYr2e7fHTU0M+N+DCuEi+Z7iOohUYF9duigLNinjzI=; b=OT54qWjh7U4QM9KqbqAiu6BVOObEgXDyQHPfcN0xAaBr5tZj+IvHL6mr+0kWbEGMer CIiQwinPQZ79L+5Mpo/qZmMHxgrXW/3rYrj2ONLDNMG7VSwl7ThbIejVxFz5G+79Kvr4 2JdzRxkyYXYw2GmzY5ShdRR7CMhbj6wc/5oFXM3qu9wqCY5++jd8zZFUHaWB+eZfEdnB Be3vGNSNgoWy+rWYXE3ibJlE14wxhvTS49fdQe5gv24wM8Lfe5FVqod56pbEKmKeZFVR bREZYgx4EssUmZ578GwyuOGPmIkbubZq78H57sqvRA0eiHF68bDEeGgZN4CQghTcCuJr 4zTQ== 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 o13-20020a17090ac70d00b00285bcb75b77si652349pjt.75.2023.11.28.22.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 22:02:00 -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 4BEE380A9B32; Tue, 28 Nov 2023 22:01:57 -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 S231366AbjK2GBb convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Nov 2023 01:01:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234906AbjK2GB2 (ORCPT ); Wed, 29 Nov 2023 01:01:28 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 739991BC1; Tue, 28 Nov 2023 22:01:34 -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 3EC3680A8; Wed, 29 Nov 2023 14:01:27 +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:01:27 +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:01:15 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , Subject: [PATCH v2 2/6] dt-bindings: riscv: Add StarFive JH8100 SoC Date: Wed, 29 Nov 2023 14:00:39 +0800 Message-ID: <20231129060043.368874-3-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> References: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 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 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]); Tue, 28 Nov 2023 22:01:57 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783877044207417659 X-GMAIL-MSGID: 1783877044207417659 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml index cc4d92f0a1bf..7e2da9eef3db 100644 --- a/Documentation/devicetree/bindings/riscv/starfive.yaml +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml @@ -29,7 +29,10 @@ properties: - starfive,visionfive-2-v1.2a - starfive,visionfive-2-v1.3b - const: starfive,jh7110 - + - items: + - enum: + - starfive,jh8100-evb + - const: starfive,jh8100 additionalProperties: true ... From patchwork Wed Nov 29 06:00:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 171076 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp143445vqn; Tue, 28 Nov 2023 22:01:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGV8VmJclSmTnJj7R5lPnBF+8r9QxzRHKfGZkV0BWPEINrRQoDOqpnNm5H4kGHFaYBExri1 X-Received: by 2002:a05:6a00:44c8:b0:6cb:901a:9303 with SMTP id cv8-20020a056a0044c800b006cb901a9303mr16137700pfb.13.1701237718431; Tue, 28 Nov 2023 22:01:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701237718; cv=none; d=google.com; s=arc-20160816; b=LPaDfjvkdR+GZx9rLJt1Rfb7YZmnp6OgAWzMdjEph1fbQ/7+2ySXCKAMdaPSv7gqPJ G4Kr4GpuSFaFWDifhfRUdc9n8ZZ0GGzB3Gfhr2viiYg34ri9O0thMQ3ybFEtJSa/qKRZ Joc5aeY95XbcZ6cxvoWfQmzWFJJkuDM78CF2kHKGNhlpN/qVMEmGxgLMoGZJT95UNk1G o/WKPtGMjDtnjB5NzRxLRI9ywqkWquiJsypagU/Q4vilGirezGOYGTrnmtEFm9Sd8x0z NTV+IuCDrB+zv6X+W8dKEPh2X3KupbhZesd2tuTcOWY70C8gvS7cMWT5Rar/+oluoSqJ E+2g== 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=dmoRrOvn9ZAWFx7e5HrjQfL4OjzYjWArVDnR8L85zFg=; fh=MyYr2e7fHTU0M+N+DCuEi+Z7iOohUYF9duigLNinjzI=; b=yc8tzCc6Y+WdsdHpibfoxacXte6s0gq6doEr/vgO2ChMyg5paln9n8V1ae3i74kXXm ydIdjU9zDEPz7A+zzdn0vMTWMuYhhb6nogWbiQYTm8hQWBePBoqAF62hU/5alX+3yT4Z LNqJh0HuBCEiv/jiObcAvVw7YTNIWkWLvBWWg9DF9Kuv4OWTTl3xK0aU26KebnBZGhwT JO5wvWZ5t0rL6vMnghpgOqxQaE2W7DHcNjxBHHHuceS44sNeyvC6I5KL2MNVZUzfQeRL nWog1Tw6gTIkAXuzvEB4CXlbKejyDn4vvdYethu/7+Qf0qdlwfemfHAlZ9BaGyU4WVCQ JGwQ== 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:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id j18-20020aa78dd2000000b006cc02de9f2esi9307480pfr.377.2023.11.28.22.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 22:01:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 1D36880BE2CD; Tue, 28 Nov 2023 22:01:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230282AbjK2GBs convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Nov 2023 01:01:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231166AbjK2GBq (ORCPT ); Wed, 29 Nov 2023 01:01:46 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5702B19BE; Tue, 28 Nov 2023 22:01:49 -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 fd01.gateway.ufhost.com (Postfix) with ESMTP id 4639F80B2; Wed, 29 Nov 2023 14:01:41 +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; Wed, 29 Nov 2023 14:01:41 +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:01:29 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , Subject: [PATCH v2 3/6] dt-bindings: timer: Add StarFive JH8100 clint Date: Wed, 29 Nov 2023 14:00:40 +0800 Message-ID: <20231129060043.368874-4-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> References: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 22:01:57 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783877041911429699 X-GMAIL-MSGID: 1783877041911429699 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 Wed Nov 29 06:00:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 171078 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp143507vqn; Tue, 28 Nov 2023 22:02:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkUIjzSIf/b+qPw+qFsIdd8hxiwuFa/9IVSlq7vbzEi0g7Oa+MmeC670sGB3TMseQhOCot X-Received: by 2002:a05:6808:1205:b0:3b6:da98:437b with SMTP id a5-20020a056808120500b003b6da98437bmr18960573oil.45.1701237726144; Tue, 28 Nov 2023 22:02:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701237726; cv=none; d=google.com; s=arc-20160816; b=0Lq3JFQmJoViRsnSEWN5krUFdNaL9pqjyS5ZvUkX/VGRZXv3eeyudp0B3L8oobCfla kZ8bQTYQNPq/kQPgjv1ud9U33Qcql9ZfHOTNVJaANDDl4F/VC1MMpWlaLn/VrkT+7t7d Qzy8pOiNfxEZ95gt9Kj6+Cx19G3IQ/bTa9LuLInm74OOi40948I7fnKcRnpPGrIwNgqJ 9Ng0XDykuAoB9tbqmuY60xBi5+ieuP1aNcGD0nUFYChnyb+JyOkBV+KgrF3oioYYyYxX KBOYqZjLY0Z24BxBqlU4hPwnKYXStF5GQnXqb6I18OR3LgS/D1CEYp9OQ04ZkdP1ssi0 PJQQ== 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=l7q2ZhQvCzExHjoHIgHwuv6V7FKOmr7r4cHqYJAAGGM=; fh=MyYr2e7fHTU0M+N+DCuEi+Z7iOohUYF9duigLNinjzI=; b=gu0Oy+OfA7FgGfsJiPPuyW69nXQ4ygtrvxwnCe4KtBHQgZzZ0hiuhcQ1vdfGM4qtaG NqB8/OZLLpQBoQiZQQq4IOu+eK/SazxuUa4Y7aBt1obEnQkavejPyBtPiEcfOmVA/hD9 OxOHlDg8UFQg2yFA6dXB0nd3NBEOfWsfJR7+qrIZ3x329ojxxR/EUYl28Zryk+KspZKr bPQd8266Yh4Y5NoiECauKALhOLVgM+mBnBKn117u8kbsfq6o0MO11KNFSEDqdiJxXAgL 7uaXO4lV0Pk4sNfs/WUwj2aCvyi2FKILZqwmULbttkFFiQ994ugPNIvuO7/NPJ3k0qfQ O5EA== 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:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id s7-20020a056a00194700b006cbb6f87036si1170489pfk.97.2023.11.28.22.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 22:02:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 4D3E980A64D0; Tue, 28 Nov 2023 22:02:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376983AbjK2GBw convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Nov 2023 01:01:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376973AbjK2GBv (ORCPT ); Wed, 29 Nov 2023 01:01:51 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E62EE19B6; Tue, 28 Nov 2023 22:01:56 -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 B990B80BE; Wed, 29 Nov 2023 14:01:54 +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:01:54 +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:01:43 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , Subject: [PATCH v2 4/6] dt-bindings: interrupt-controller: Add StarFive JH8100 plic Date: Wed, 29 Nov 2023 14:00:41 +0800 Message-ID: <20231129060043.368874-5-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> References: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 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 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=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Tue, 28 Nov 2023 22:02:01 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783877049666632933 X-GMAIL-MSGID: 1783877049666632933 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 Wed Nov 29 06:00:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 171079 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp143607vqn; Tue, 28 Nov 2023 22:02:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IHo4BZX+Klc8D9XX6OO9ePyr17igIypQFH9h7h9SVccfZwjG0/6lWQkkvnNRPc5MgvTpN+D X-Received: by 2002:a17:902:b948:b0:1cf:fdad:3b39 with SMTP id h8-20020a170902b94800b001cffdad3b39mr3621866pls.61.1701237737872; Tue, 28 Nov 2023 22:02:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701237737; cv=none; d=google.com; s=arc-20160816; b=YDlfEq1Qr/7UcPR5v5qwXK0/4gXZuQNqninnODyn2W5QU0/lGeckg9rl49Ts+J5+uS q/vG85wOvlKZY/pgOvW2tf5fvSvdPv7FxEfaAxZxANqkBYX3jHzNHXNbdwCT7L+X5Xb6 NZbYMEDBr3RAFeELHq9WljN00YMZdUmVXuwJdFwMpAhQyaugrKchn7OV8kw0cwRuTd9c TXk+VyM8AX81URhjWGFlvEj6h/DwZ2U1KALGXVwez3KsYzm9CIu4aEPJWnduHAL3aZWz vpaA9BOFbhTrQGaOlWVFjFqEGUJkSzZrP0i7Ot9n1PlTJsmPDwYKeDUWVqmidc96ySMm Bigw== 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=5QTe5Ep0s/pjS8uhnl1ZijRMUVJOk6TcjlnF0h+P/J4=; fh=MyYr2e7fHTU0M+N+DCuEi+Z7iOohUYF9duigLNinjzI=; b=UP9+fcN87fxHuUnJolnv0L9h/iNJKXIYnYWGuxqqOzp6wqK5+XbiuEdG7VrnsW+A1S yPnZiqR8/noVhRaEZ6rDfdwPUChvu17r9aAwOCpYz2NzL57kJNstXhXE1n5PktRe7u/1 JJU620E2w2mTnz4vDBm1NjF+Q+/G2Ghz62ynlSh3z22+87yBEOaVVmn1TIszNAjZeoiQ G0guQfCTE9mCLjQeOdhkBaR5I2Oge4nAJRt5W/pGZAV9cmVNo2hviYCSXPnjEy528boJ N1BzWw697rZH+7GI9oTRfWnP6uyfAL2sfjS+Fu+2bLraMORqaxHqxXdiyg0tKx7eTaAl S+NQ== 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 Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p3-20020a1709026b8300b001cfd4c10e47si5259621plk.8.2023.11.28.22.02.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 22:02:17 -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 CB4DB80A9B1E; Tue, 28 Nov 2023 22:02:14 -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 S231366AbjK2GCF convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Nov 2023 01:02:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234660AbjK2GCE (ORCPT ); Wed, 29 Nov 2023 01:02:04 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBB5019AE; Tue, 28 Nov 2023 22:02:09 -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 fd01.gateway.ufhost.com (Postfix) with ESMTP id F367024DBF3; Wed, 29 Nov 2023 14:02:07 +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; Wed, 29 Nov 2023 14:02:08 +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:01:56 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , Subject: [PATCH v2 5/6] dt-bindings: serial: cdns: Add new compatible string for StarFive JH8100 UART Date: Wed, 29 Nov 2023 14:00:42 +0800 Message-ID: <20231129060043.368874-6-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> References: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 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 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]); Tue, 28 Nov 2023 22:02:15 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783877062199116597 X-GMAIL-MSGID: 1783877062199116597 Add new compatible string for UART in the StarFive JH8100 SoC. Signed-off-by: Sia Jee Heng Reviewed-by: Ley Foon Tan --- Documentation/devicetree/bindings/serial/cdns,uart.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml index e35ad1109efc..0d05305778f2 100644 --- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml +++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml @@ -20,6 +20,10 @@ properties: items: - const: xlnx,zynqmp-uart - const: cdns,uart-r1p12 + - description: UART controller for StarFive JH8100 SoC + items: + - const: starfive,jh8100-uart + - const: cdns,uart-r1p8 reg: maxItems: 1 From patchwork Wed Nov 29 06:00:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JeeHeng Sia X-Patchwork-Id: 171082 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp143745vqn; Tue, 28 Nov 2023 22:02:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnoJXSbIHipvAhzosirdsDe9KCRVPYaTyhLJ1x9iFMOzcJrT8o9wsYqVjVEHezNSVaIrVs X-Received: by 2002:a05:6a00:2e9c:b0:6cb:6880:752 with SMTP id fd28-20020a056a002e9c00b006cb68800752mr20179101pfb.17.1701237754542; Tue, 28 Nov 2023 22:02:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701237754; cv=none; d=google.com; s=arc-20160816; b=S+WAhrushm/kgf9SnIpJOyQ66bj8T1o0n4HXOHUws2L8yWE4T380p6BsYualGKuKH7 XqgVm/VTVTZw1QpTNwcf7N4H+Jgh4wEKP7xJDibbrb4B4/IKlzTD+8cbx2T8jzZ0UGAG CMO45W2PtC3lilkeWxNpDkuG3h2UgtWOW+wsvt+XZSHl+7KfKbpth6cKT1fl7doqCrL9 iFefSbqK9tJCssJpo2klXQGaa3s/zmNt1ya7CNlA3+WjGlLEGi2eczWd8GDrihcU7N5q 8NGYqvHmvpr7DFJYKDSj9fw57Zcwgu/MEz2ocnyDcyhvihz9jkS7YidRbQbBQBFYeRGy UBlQ== 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=oZNpZTM06hVbNneLRZ+PcuUE5N4UeO6zbv2iXnXZxt8=; fh=MyYr2e7fHTU0M+N+DCuEi+Z7iOohUYF9duigLNinjzI=; b=eZF32KWLMKA4vYuB6b2s5fsxZpF34RCsy5kedABU7VPnHl01qAlFjbrhIWNA4F82Nn TE0xtQVH72oeGNrVSIRqoGlzkiWIZljcQh31S0tc8LUcy5haugFKPjEQzA7i3JrJT3c2 YviCPWhoe+fRakea91+yPuz2jhirUqQv5C4Rxx4z5mz9kysqM0WDJd76wBSrStxatQuK 1L7beD0apUjGV0oGjpNqcJyZ0YEb5zi18JhFm6EhlIScVlRhoIDe+C3VANbOO5wwE7R4 xZ+VHhesZ4r6duoQkdQuiXM+7t9Tkf1o1W+WqNl6qUe53i8mx9tOme4D6J0Ydxe1M56m GgNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h33-20020a632121000000b005c1b323da1bsi14311655pgh.695.2023.11.28.22.02.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 22:02:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 9332580BE2E4; Tue, 28 Nov 2023 22:02:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234888AbjK2GCV convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Nov 2023 01:02:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234912AbjK2GCR (ORCPT ); Wed, 29 Nov 2023 01:02:17 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D98DA1BC3; Tue, 28 Nov 2023 22:02:21 -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 ACE6124DD82; Wed, 29 Nov 2023 14:02:20 +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; Wed, 29 Nov 2023 14:02:20 +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:02:09 +0800 From: Sia Jee Heng To: , , , , , , , , , , , , , , , , CC: , , , , Subject: [PATCH v2 6/6] riscv: dts: starfive: Add initial StarFive JH8100 device tree Date: Wed, 29 Nov 2023 14:00:43 +0800 Message-ID: <20231129060043.368874-7-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> References: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 22:02:33 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783877080050154414 X-GMAIL-MSGID: 1783877080050154414 Add initial device tree for the StarFive JH8100 RISC-V SoC. Signed-off-by: Sia Jee Heng Reviewed-by: Ley Foon Tan Signed-off-by: Sia Jee Heng Reviewed-by: Ley Foon Tan --- arch/riscv/boot/dts/starfive/Makefile | 1 + arch/riscv/boot/dts/starfive/jh8100-evb.dts | 28 ++ arch/riscv/boot/dts/starfive/jh8100.dtsi | 378 ++++++++++++++++++++ 3 files changed, 407 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..fbb0dc619102 100644 --- a/arch/riscv/boot/dts/starfive/Makefile +++ b/arch/riscv/boot/dts/starfive/Makefile @@ -10,3 +10,4 @@ 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..39a11226731c --- /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 { + 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"; + }; + }; +};