Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27269747rwd; Tue, 4 Jul 2023 00:09:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6TB2AP48yFWJoRDCQC6At23q2Yy1NCP25/ef6TZx1QWzlqv1zJ4U9B/2CSKYnT6QrPyX7 X-Received: by 2002:a05:6a00:3983:b0:668:731b:517e with SMTP id fi3-20020a056a00398300b00668731b517emr16608385pfb.24.1688454556778; Tue, 04 Jul 2023 00:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688454556; cv=none; d=google.com; s=arc-20160816; b=Gi24wGSt3kpWADANNbrlpuKmHt1CjtPWNtGMQTA8nedkTta+eYvwpgc+PBcsFQp2nm 2mYYVG8wzrWOk15CgVwEzdgRmXo/c5mjlxcrovEdyC+EQ/22NGHTo83MgqzhpB4XkjQY yRP74itROsPW2C54wqlu3iUkWxbiBC0d1OruDK4g7agUA7GhNeS5AMncQGXrsweIAfPz 2X9AqrBWee/wN7iEZs2HiO1xD/GwbFUjk6FIPPC3VrDYrslZ4EKIyz8gMuksAKHaqbCf CyBcH8NBA8zNRv0a+fwcqEqSZFMNxPUeTpHxyGrK+94z5IAkUb66MJ5KLIusonu7krY3 licw== 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=nACq9I+R7EPlXg7UkvCPunWX0Hk+DsfVwawNYX2q81E=; fh=bO0lyCpGdMRsyk4A5AR7qGoLpbBaIJeTbIlSNG9VSf0=; b=cPl8hom3Bbw00tajE7p2gXt9REj6HgrqA2ZfOK0KUq4j+Ff0Qf9FQICcVp5zCnEtM8 pZSl72iD7mA8sCln9KxnnPS/bXIdWSM02zdBZjE1+O2HiX2r6k50v4DfYWpou5L40ncB lzxCkxz9hXfKsB2ZO8HKRgZHV9NrHNRZU5bLAy/YgGuIwX+OQyNCUtiyLTU8R1vDxt6O E2Zlxbl5ITYd23HDuXAUYlZR+FxHufYBV6dKfpEgvzUlE4ci3vuzX6wSPHkPKyUA6bco HxLVUYBW3JNArl0Ap5/Yxe8KkUYoSFJMRBp65PpRTIM8ojN/IqdTp5Fiep50sF1Ikw6O VHdw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k190-20020a6384c7000000b0052cbf501db2si20851595pgd.68.2023.07.04.00.09.03; Tue, 04 Jul 2023 00:09:16 -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 S231478AbjGDGuE convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 Jul 2023 02:50:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231313AbjGDGta (ORCPT ); Tue, 4 Jul 2023 02:49:30 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52D3AE62; Mon, 3 Jul 2023 23:49:22 -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 D859D8175; Tue, 4 Jul 2023 14:49:20 +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; Tue, 4 Jul 2023 14:49:20 +0800 Received: from localhost.localdomain (113.72.144.31) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 4 Jul 2023 14:49:19 +0800 From: Xingyu Wu To: , , "Michael Turquette" , Stephen Boyd , "Rob Herring" , Krzysztof Kozlowski , Philipp Zabel , Conor Dooley , Emil Renner Berthing CC: Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , Xingyu Wu , "William Qiu" , , Subject: [RESEND PATCH v6 6/7] riscv: dts: starfive: jh7110: Add syscon nodes Date: Tue, 4 Jul 2023 14:46:09 +0800 Message-ID: <20230704064610.292603-7-xingyu.wu@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230704064610.292603-1-xingyu.wu@starfivetech.com> References: <20230704064610.292603-1-xingyu.wu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.144.31] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 From: William Qiu Add stg_syscon/sys_syscon/aon_syscon/PLL nodes for JH7110 SoC. Reviewed-by: Conor Dooley Co-developed-by: Xingyu Wu Signed-off-by: Xingyu Wu Signed-off-by: William Qiu --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 4c5fdb905da8..11dd4c9d64b0 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,17 @@ syscrg: clock-controller@13020000 { #reset-cells = <1>; }; + sys_syscon: syscon@13030000 { + compatible = "starfive,jh7110-sys-syscon", "syscon", "simple-mfd"; + reg = <0x0 0x13030000 0x0 0x1000>; + + pllclk: clock-controller { + compatible = "starfive,jh7110-pll"; + clocks = <&osc>; + #clock-cells = <1>; + }; + }; + sysgpio: pinctrl@13040000 { compatible = "starfive,jh7110-sys-pinctrl"; reg = <0x0 0x13040000 0x0 0x10000>; @@ -486,6 +502,12 @@ aoncrg: clock-controller@17000000 { #reset-cells = <1>; }; + aon_syscon: syscon@17010000 { + compatible = "starfive,jh7110-aon-syscon", "syscon"; + reg = <0x0 0x17010000 0x0 0x1000>; + #power-domain-cells = <1>; + }; + aongpio: pinctrl@17020000 { compatible = "starfive,jh7110-aon-pinctrl"; reg = <0x0 0x17020000 0x0 0x10000>; -- 2.25.1