From patchwork Fri Apr 14 02:41:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xingyu Wu X-Patchwork-Id: 83197 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp89097vqo; Thu, 13 Apr 2023 19:55:33 -0700 (PDT) X-Google-Smtp-Source: AKy350bIAJDUi26DPzHMcdEV25ZN9Hx/n6gEpOTEx9x512XNmfV4GlELgdWLlCW9p/OBlZcPi527 X-Received: by 2002:a17:90a:9503:b0:247:140b:c5d6 with SMTP id t3-20020a17090a950300b00247140bc5d6mr4063417pjo.45.1681440933409; Thu, 13 Apr 2023 19:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681440933; cv=none; d=google.com; s=arc-20160816; b=rFVb+nzX8jJv9HD6/GP64rqZ4SNLPPiSY/P7d33VlGBMNeSQdGWjTwHBsNdO9yOYQq j+Fs8BXQe7WDTDL4YpBNBzFK5jf5RMGwEyFsPIjAgI+h/dp1Z2DLPP8eVjfulFYyy8nk 0Rx1dJVAOUnLxoQyYUXHhoHFzG0yRRdf4fQAk3IqeOWegGuuT/MhiJ6VCknsj0zgVlCX OxNG5dymIDXmnQULbUipXCotbkLxPNT2av/+M/VC4xnHxwmEE3+ehaFMQKC1xnzJ7Ctn ZlVQ0w2y3nOKNOS02Z/32O7ArG0bFdQ6hot9/l6sQDExvFTHTN30u6GQgH7NXRiznuLj mVjw== 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=1ih1P2x1RT0b3rUrmh5a9MhKrc0WQshLQJN++3Rkc7U=; b=uLuGp265634dMFftkwG2q1QH4gnNcLjymQQhzoNOQDG1h8ewrnDdSXkpK8UeMvn9pS i5dTo/BVbOa3NfX6CBXqfREG8LCENof/H0+wng2nWiM5ySNwCTZ6FbaI2Kx+0CTJQSge 2NvJ/Mh45C16pYu1zgtMo4VYrVE26D6IxXoiWF1Wb4d0xPWuE+9t8AhBAbzKldR7Tm8j sQ253EML09L8U0I/yhAjwT/yKY05cEgciK6F1lLnSn/6iuZDMoNKHqizOzv1I/WZXI4p VJ943WSl9GcqKK9wK89jyEhEd+nb8C9yJqZFYH0t5nfnwtzPHWF2VGKzLUVF9gyAAvQk dLEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bk13-20020a056a02028d00b0050be9448846si3255383pgb.846.2023.04.13.19.55.20; Thu, 13 Apr 2023 19:55:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229994AbjDNCnU convert rfc822-to-8bit (ORCPT + 99 others); Thu, 13 Apr 2023 22:43:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229893AbjDNCnH (ORCPT ); Thu, 13 Apr 2023 22:43:07 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 645635581; Thu, 13 Apr 2023 19:43:03 -0700 (PDT) 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 9A0BF24E1D1; Fri, 14 Apr 2023 10:43:01 +0800 (CST) Received: from EXMBX061.cuchost.com (172.16.6.61) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 14 Apr 2023 10:43:01 +0800 Received: from localhost.localdomain (183.27.97.249) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 14 Apr 2023 10:43:00 +0800 From: Xingyu Wu To: , , "Michael Turquette" , Stephen Boyd , Krzysztof Kozlowski , Philipp Zabel , Conor Dooley , "Emil Renner Berthing" CC: Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , Xingyu Wu , William Qiu , , Subject: [PATCH v3 6/7] riscv: dts: starfive: jh7110: Add syscon nodes Date: Fri, 14 Apr 2023 10:41:56 +0800 Message-ID: <20230414024157.53203-7-xingyu.wu@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230414024157.53203-1-xingyu.wu@starfivetech.com> References: <20230414024157.53203-1-xingyu.wu@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [183.27.97.249] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763118608548614443?= X-GMAIL-MSGID: =?utf-8?q?1763118608548614443?= From: William Qiu Add stg_syscon/sys_syscon/aon_syscon nodes for JH7110 Soc. Signed-off-by: William Qiu Reviewed-by: Conor Dooley Reviewed-by: Emil Renner Berthing --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 4c5fdb905da8..f271c3184d3a 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -353,6 +353,11 @@ i2c2: i2c@10050000 { status = "disabled"; }; + stg_syscon: syscon@10240000 { + compatible = "starfive,jh7110-stg-syscon", "syscon"; + reg = <0x0 0x10240000 0x0 0x1000>; + }; + uart3: serial@12000000 { compatible = "snps,dw-apb-uart"; reg = <0x0 0x12000000 0x0 0x10000>; @@ -457,6 +462,11 @@ syscrg: clock-controller@13020000 { #reset-cells = <1>; }; + sys_syscon: syscon@13030000 { + compatible = "starfive,jh7110-sys-syscon", "syscon", "simple-mfd"; + reg = <0x0 0x13030000 0x0 0x1000>; + }; + sysgpio: pinctrl@13040000 { compatible = "starfive,jh7110-sys-pinctrl"; reg = <0x0 0x13040000 0x0 0x10000>; @@ -486,6 +496,11 @@ aoncrg: clock-controller@17000000 { #reset-cells = <1>; }; + aon_syscon: syscon@17010000 { + compatible = "starfive,jh7110-aon-syscon", "syscon", "simple-mfd"; + reg = <0x0 0x17010000 0x0 0x1000>; + }; + aongpio: pinctrl@17020000 { compatible = "starfive,jh7110-aon-pinctrl"; reg = <0x0 0x17020000 0x0 0x10000>;