From patchwork Wed Feb 14 06:33:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13556001 X-Patchwork-Delegate: mail@conchuod.ie Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B3FBC4829A for ; Wed, 14 Feb 2024 06:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eIwv04omjJgE0qgMhBp7KmpFw2WPAZc07joX7C/lMHE=; b=fkHFGwY2aFzAdX wnemvNAzdtT7ieGi91u/l6ypuLK9gH3kWDzi/zLWv7CFmspQtHkHocd9MNp0Mrso31R+NsZzrid5L tp8F7tPDcVjlv9IZfBtifw79Yl1V1VW72/6katm5o5aOMAV2MK5GDiq+nE5CKHuy4kv2DVEIZ1lCd e2tpnHt120x5mxRFXwYor4esYkDj4315INiohLtv1NOfgEUJoiO8ZB/sM0oGjgB/PWlt/woSqwsit NsjgUoQFPfs35pPXBsSzixyRc9rryHsw5cprqK88GBuHnloqvxK3zh29CEFXfFGbjsU6s5meS9Foh O6QpQeJKG5fzrjxyFq6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra8pq-0000000Bxpt-3SRl; Wed, 14 Feb 2024 06:33:34 +0000 Received: from mail-mw2nam04olkn20801.outbound.protection.outlook.com ([2a01:111:f403:2c0a::801] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra8pn-0000000Bxo5-3WZN for linux-riscv@lists.infradead.org; Wed, 14 Feb 2024 06:33:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MlHgw70XjHGZ2OuYKxRt4wF0GFAElVZQRNw94UXNnHIpoQgP0wypwuAec/1McJE5Otd4JNsd/liCR5vNmW4n1Z4Cpb5BWGFZ4s3eJIBdBvm6g5mAIKlc3M/riz5KuqahG87ahqtfWjEJfTOO+fZ7x1CtZeC2Y6gRqhFQv4WcmFjwcYc9XD6UeDfabNG3xf9XlhcpAhosubpUzujG5wCu+4WHrINn4qxKANUpvDQUz5HctjmE+No36H2S9rmHMPgQ6cdSw2e6FDCrJBhBMOlovpk96Yy28CULmRB9O7pjoJco2+1MOPgkziwBsuKqwQQeJDBZPkZPV2MM0dtxKOvoNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=94k3JfKWEls+7907kp1nt5YO2OSY2Jh6iUZUYZw86ug=; b=VPYjtBH38PyP275UIewS4t3PhsHSNDptn6eJxXqqrG3SbdnNLCJXnPQ+hRzTOes4qDsWdY3Ix8oGRsoGJHZCVZceWRQvazTQkDaG8jMD59taPPAqUxqQs0TORD0AoIxxgDbFPFfqgV864HcG09TVKB3hVsqQ4gTVImrk1SC8iFjN71rBBMtBDVBj6HLi/qPWEc3v6eecIz1udb5JjRbMrxjFvQH+wjkApWIVKl6ZJ3TZvWR2vdWCdYITUn/b+oiDDVPa4bRrVOimzf+i2RmZ0Mgr70xkKvXvftQHkrgOqUqGs6MTfcG3ibAEDc1xHnHReIowQtoSbcJG744ievypmA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=94k3JfKWEls+7907kp1nt5YO2OSY2Jh6iUZUYZw86ug=; b=LKU/C/MT7rCY3+jOCkBHYZJBOTe9qAoKEyZFcX3N9BnOPpnYRHfIqiB1DJF82srLD1nUd/3qt5PbPJsOEI3IyXC59lvw7sWyKH5xSkVG1px6GXfi4yBuUDwZKh6kGSQHCGJ/OPjUo0Fj2C9ckBmCjGNP8ryBfa1pYA7b9/b/zTue/gZdU1KgCoSJjKfHRYFZgXzARwbnahBnpTc97uKNunWO+7RqtOYj0qh74tKl2eX6f3IfZwQMJ0nDRCINhxGAB0v/QAqbPP30Agwdt6lKV7Z2fFy5qk6cmkorw9kruWv1ayR/Jr84HkrPQ8Uho8xxWrZc6rdvy672ch4fTABHmQ== Received: from PH7PR20MB4962.namprd20.prod.outlook.com (2603:10b6:510:1fa::6) by DM4PR20MB5063.namprd20.prod.outlook.com (2603:10b6:8:8c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.39; Wed, 14 Feb 2024 06:33:22 +0000 Received: from PH7PR20MB4962.namprd20.prod.outlook.com ([fe80::4719:8c68:6f:34ff]) by PH7PR20MB4962.namprd20.prod.outlook.com ([fe80::4719:8c68:6f:34ff%6]) with mapi id 15.20.7270.036; Wed, 14 Feb 2024 06:33:22 +0000 From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou , Inochi Amaoto Cc: Jisheng Zhang , Liu Gui , Jingbao Qiu , dlan@gentoo.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v3 2/2] riscv: dts: sophgo: cv18xx: add top misc system controller Date: Wed, 14 Feb 2024 14:33:15 +0800 Message-ID: X-Mailer: git-send-email 2.43.1 In-Reply-To: References: X-TMN: [UxZAobAUWuHp2W/lXBdaEJTm0JaeaJyKwwv37isfItbkEbuQ7DrhVNgf1rLvZ0Z/] X-ClientProxiedBy: TYCP286CA0285.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c9::20) To PH7PR20MB4962.namprd20.prod.outlook.com (2603:10b6:510:1fa::6) X-Microsoft-Original-Message-ID: <20240214063316.435254-2-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR20MB4962:EE_|DM4PR20MB5063:EE_ X-MS-Office365-Filtering-Correlation-Id: c2235895-6631-4e45-ec9b-08dc2d26d73a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S1EtiNx+boA6qNGE8NPtLRRHgQWOgyIRsMydalGCLEaIBrKb9fZPN4StXnjxFuUJnJwdXu3tvMce0PXQj+nDg46xV8AyWcv7lfkVaM/wrT3Q02Mxkfta1JscxKZ5K5Ozo5LhfbGx+MVamltv2307+c9oshSCU1hzzdcQAB8rfwZaK3MYuExKduWKb+P5FHKy6ry9gof8FaDuOjOm86evmUk3S3CZ+4b87RmsfO7qoJlCvxbmWZOOZAaw6O2+OUFUepgg9OfpXqdOAF5tD1aJQ/6aMp4WBdgp+qUF83RUKi9/2c4910NyYVyn7lUHAgr4hhwzk9rnSF51lpR9neXUmLpd2cTZMcq44GxDBxSNU6QQLMJr5xZnGYFfgFUeJQcfGVakgd4/3xefprko6yiMadZaCUlxJfComPRZCaxwShAt7ZJIDBSss+Y3ueGQ/dN+j5xGQ1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zt6iWoq6szJA0lw98stnDoTNOP13NtB7qX62OL5qKR+EbC8ccTvZ2DBYkURHZMsRC1pmaJO6BA71/WFtExJBbBHOthCyyNRXvlSk3k3XU/LBQgTGWgEzkd4AOkPyBORFnpG6GRRmBQ/7Cbaen0Fs/XTG78SSgr6Dsd8hw3YQUT4rIFqGKKXJTnfyLp899jjbI3k174VjDmywXZ8tXubRrH4wKy7dJQ0euRPR2Jdn2IMuDW9mtXUaPgdqdm3x8FzKkRlVBTwAhilYQXelFLXFzxx3HX4Rhrkco4Tgq2UySZgkJbVNKXUl7nSK99Rc6ElheVfSUV5mODpc1PcR0CFAkk8aKh/tO/76FdT+LlgiIaRxD3XxnSgkpBQS6xBKY4IfKaNwIOpviJ1Tap/dIqSwSksisQUhIOIb2h0ADswUybFZjYZexx/nf4NDJU3w8vpmvIyGnluWhdORvIhuJQK8E= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2235895-6631-4e45-ec9b-08dc2d26d73a X-MS-Exchange-CrossTenant-AuthSource: PH7PR20MB4962.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2024 06:33:22.5190 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR20MB5063 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_223331_890602_C49616C8 X-CRM114-Status: UNSURE ( 6.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add top misc system controller dt node for CV18XX/SG200x. Signed-off-by: Inochi Amaoto --- arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.43.1 diff --git a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi index 2d6f4a4b1e58..908d858a63ab 100644 --- a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi @@ -53,6 +53,12 @@ soc { dma-noncoherent; ranges; + topctrl: syscon@3000000 { + compatible = "sophgo,cv1800-top-syscon", + "syscon", "simple-mfd"; + reg = <0x03000000 0x1000>; + }; + gpio0: gpio@3020000 { compatible = "snps,dw-apb-gpio"; reg = <0x3020000 0x1000>;