From patchwork Wed Feb 14 01:35:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13555884 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 2E7DDC48260 for ; Wed, 14 Feb 2024 01:36:21 +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=LMd30q8Az+C5QaRhGfBuhz1ENpiihD6UAILxbBVxd0U=; b=y+2uL+lTaAXW5S OuUfbgg4lffqMUhmhvGsW6ySnQDpA6kaWDakJw0LRkcwvGpgj9MgqTvCN+2mob08FJs0jWmVzbP85 JP3xp/NW8x2RSEw881kjtllyIVKliDQJauPKec5vanVOL8yr0Nk1ka97j0EcxEpaGZpbVo7v1uq90 bfLmfCJPy4EjACS+bDe1M9rXPXchFgE67x1ff5PbbqD0dcXOuvhkhyvKIPe/MJA3AhZqQhuLjGUXw u6QcV/mINcvC1fYGl1ouhcvkZK6PMyd5KRCk7xiJrl370H0xPDkzHOlgBc38An+cHdHlxsmsHFSBw qIqC5epIH+r+JtjEWTOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra4C9-0000000BSwr-1Vbq; Wed, 14 Feb 2024 01:36:17 +0000 Received: from mail-dm6nam11olkn20801.outbound.protection.outlook.com ([2a01:111:f403:2c15::801] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra4C6-0000000BSvi-3XmQ for linux-riscv@lists.infradead.org; Wed, 14 Feb 2024 01:36:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EgSAkMFQm9iI6K4e6+4h50y+UVs2qd4jBq2/4s10+nRWFTt3SwhQMZXgaooNHwF0VAJQu628aQI1s09TmZlMyLDyZtDQ3aLbXilgdlpYL7VmhC//+TdhKVC17bnDwpAFNeYLyGwXiPl2Z8VWyG7Fxgt0WZKqQkE2GhFEUGjrgUMkWFKrRTjoL4wv5+/Eyh6054Zbq2whI4sUGFKRDFqaBRt9EGKFs8tFukDi1c881GNsnRDtyO3DZAvzGhp7/A6Eqg+31+NtpTrVtDMO5oVFktSn2e70/Dw0YbR6nSbzVA7AgwHqAjoZTPWpaY5WtAxC66XOIo8DkxE87VeZd9yV/g== 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=EJVEhdsUwzp1Zy893CCZx6d3lVeYt4CWdmPe2c3eCUQ=; b=T6r1rcuh2jpZp6qNwH+/E5Ir7GnTu/jkojf7WEicdLZVm+HxdBW/kF6A3m17JfkRgHceUSeZX3NwTWhXvPgr6qTGiTcvNThI+b0o4YXAIUkLwGt490NKmA3fWT/TdfOqQJkAWVT3rYUZB2JfU4n9ZpqkrgoaW+6a6pemz3si0z5Wv93q/fieUBp6UaD/jYmncU3z9JmXG9acEkdXAPrSBi2o7OyuElgWv14SSjwEwDmyrQEgAirbFnCAacJmxHJVJqw8hpDP1vL5aWpjpn1yUerSQaxi3TUXyPru5JZI6g8gUhXhx/uNtlt7kQkwc8GmDoAuF2XkrDdyLoKh5wtrJg== 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=EJVEhdsUwzp1Zy893CCZx6d3lVeYt4CWdmPe2c3eCUQ=; b=mAd4ZGzlf9bcWolDJHdYAGJw6LriOfr2Mxtday30CWQPsWrKtlrpal10LoNAPcGT/BhKN+bRwIMaK/zJzLJeMKqD2FMyok8aZc0Yc8DMV+Oqzbvud2LX3VglpKweJQ5MIQ+UjnGL4luTOfiBKoDXb3A/OyXvlrN6eyc71m88coFbqUAl0j88QtsYBbDOb9uU8ZkVGlD9uwK1pmds7OqFX1hI9/4ilbTCE2dzlJ9jfTfZzaBffJ6Fe99esqkjheR5nGjgn/7TFplNFs1I5ckP3aPXG4utlq29jZ7LmkAFGvaKr8bYiW1OqBmdBtef5Fj8R7tDPQsflWwKGREE3Y/rHA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH7PR20MB4663.namprd20.prod.outlook.com (2603:10b6:510:1d3::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 01:35:57 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b%2]) with mapi id 15.20.7270.036; Wed, 14 Feb 2024 01:35:57 +0000 From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chao Wei , 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 1/2] dt-bindings: clock: sophgo: Add top misc controller of CV18XX/SG200X series SoC Date: Wed, 14 Feb 2024 09:35:54 +0800 Message-ID: X-Mailer: git-send-email 2.43.1 In-Reply-To: References: X-TMN: [D2U0n48OAF+p2Ka9UZtgQQs3/iNVN8gm4E1gdwM0h5GCxqY1pG10Evj9BTc9yCqt] X-ClientProxiedBy: SG2PR03CA0125.apcprd03.prod.outlook.com (2603:1096:4:91::29) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240214013601.135526-1-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH7PR20MB4663:EE_ X-MS-Office365-Filtering-Correlation-Id: 12abead4-b56c-4067-02c5-08dc2cfd4a7c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IK5X+addsKz/aXRCBia6Ve7mFt0rcIVeowhGTM7frK4cDSBvUjMpRpYeusjsYHRFiGVTwbjRQRDneb+tJ/VF+PNvkRYZkl8+35CWPOqQM4so/KQ3gW5lAg+4Hs0kjiNkdJeT++LCHF+wOuIIjEG9+rVRyKOyYvCWfMU1UXw91DdXOhgZIdAkAZI6Iyx/89VWrBHjqZV3oS94wv7hOkU/g9h+VlCfhXhG/X9aWSdQfBfIYn6OHK+6Kauji//SM9DVUw9VHlBLneA/lLsmAv5Z7jk/5fp+WkcdE167st61iLEfHoORhQIF6YhNYKf6bhKAwOjCVyi6mA19gklvdN5EoKqGxkjJZowFMCnMrWGPuRT+4b1LkvMmayDO4IX59U1u/XPfjy1jXRGJ1zMOK4sHq4IBLF8RBoDQUqyGP50RD4XxjaTjNuYvL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6E9KE0LCGF3SJ16IMfXsaeVRZusQi1wmkQ74kAE8OK7gz4a1xzkY4k5GaXSeUBD07jIx/FMxE3NgLsZiHPGlrYyv9nDr5ZF6hQJSiTf8zWz9LIweCWgK9/2CwQay+4Z3WpQwG+GDaBT5/qIvCuS8cj7/NHZ7v+wmvEY8vEm3TNiQ3/veOufp4dGC7ExF5kbTCwKBtfJgSvuY8Ww4W4L1Cp3/uTtqqcUtWRnKyp0JvnFgAnGwftJq5X6nG7uL+VDz1bUZt9Jozk3h13BVF35yjd2cFs6J1lswonwSXzas+z/ENGhHnOUih5TO6+Z7+wIaqKSUimMqWkQVHNAKIC8gVKzMI43sC8kzhsAGLp791eJ/41ipheJS5KmbCapH9sMTeByGESpJM3kPrl2/hXJ0hJXFkw/UY/l/f1YXp7WjmFDhO6gqcMktn23NjpdHEvVTBkPNPb7u/ny3ue+kcpU3mMCrUZzF0FeLm5yCd8DspsPnt7JEYspFiGWLqu/GoCQC5H+x483HoNWGkfXOXPkaadChxUGGchCrB9+njsTVs= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12abead4-b56c-4067-02c5-08dc2cfd4a7c X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2024 01:35:56.9475 (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: PH7PR20MB4663 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_173614_896405_0904B877 X-CRM114-Status: GOOD ( 11.06 ) 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 CV18XX/SG200X series SoCs have a special top misc system controller, which provides register access for several devices. In addition to register access, this system controller also contains some subdevices (such as dmamux). Add bindings for top misc controller of CV18XX/SG200X series SoC. Signed-off-by: Inochi Amaoto --- .../soc/sophgo/sophgo,cv1800-top-syscon.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml -- 2.43.1 diff --git a/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml new file mode 100644 index 000000000000..858f6a2e4c90 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/starfive/starfive,jh7110-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo CV1800/SG2000 SoC top system controller + +maintainers: + - Inochi Amaoto + +description: + The Sophgo CV1800/SG2000 SoC top misc system controller provides + register access to configure related modules. + +properties: + compatible: + oneOf: + - items: + - const: sophgo,cv1800-top-syscon + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@3000000 { + compatible = "sophgo,cv1800-top-syscon", + "syscon", "simple-mfd"; + reg = <0x03000000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; + +... From patchwork Wed Feb 14 01:35:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13555885 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 819B0C48BC1 for ; Wed, 14 Feb 2024 01:36:22 +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=As7MY+VAcKJQQtUcA29jlA6uEDTKCAl5clAEIqQeLUE=; b=HBjMri+9wvzbba a2qrguMr1Pe9gKIiRoNr4MYW6CE1HKra/5MDZiGTpuwqiQK5dcYUcjGz0lCXSGljYTtEAQc0XBU1Q AbKKib+3q8xzipWTYKitr9X1ML4mqlahjsWMr6LahVJjU5pKTS1sri+9D3hTSfrSGztfft6RTpEM3 MRWbL1lfSXrrGVwFQ1qMeKgoma01sP097/NDlQn1HeATmUjEHwyDEupGg/4Ihm3eNIrXE+YzXibYu HOugwPu3JmzFQsQyIyR1obgjd56IJNMeq6lbwzsvuiHUn1en3rFzMBZDU8YxWhBfdIl5rrPNLxqgh 1aBVMKTj9Huf1Z/7Oalw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra4CB-0000000BSy7-1otU; Wed, 14 Feb 2024 01:36:19 +0000 Received: from mail-dm6nam11olkn20801.outbound.protection.outlook.com ([2a01:111:f403:2c15::801] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra4C8-0000000BSvi-1zaV for linux-riscv@lists.infradead.org; Wed, 14 Feb 2024 01:36:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eT+4BreJ4OL1iwBppeDp8eEM1+jI0o455De0Z0zgFmE9bLf6i2T4khOllchsKs0RoB1/bi/zeg0+SInWQvLgKOIjB0KY8xBycHTB5RpX84jFWinrg1PvpYa47NFNsu/idVhJ3gHb1CM+GHu8DEymL2HKQzXMxS+ZwJD78pjfrWVkxYBtCtFf1lRrncyeiIDUBFPES7Na/OMSziPLanenXaP6lSp3PV6Mxe5x77xd4S44Y4lBJPlDFg1pyhZcW4kDxReDjKBhFJRVhRUiEqqeuKbachbi+2cn/bwx+Wr5sqKuvDwIJlGBfma+zZbosHNYfIUdiIaS7J6vFXbf6+FK5A== 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=hAILyGaP6oUcjwZUbrwWrX1/9+aVCc+T6mKhlGiIX/g=; b=aedH+FeBHpq2l/7AFf8AEd0D2HInaH2DUW0j7bI+u6cQi5ZKyBAtrcuGgXge8SrlTIM3RxgKUZvCg/zBLIzGd2I9GVKlzwpfS+8zUixpOlwJX0Oyea6MDOOyXeCa9kUsVU+JEyt7ScdYwA2/3Ek5pm1stipavCnwSBTv0xC0I2rMzCmvywAz/A+6l+Js4kd0ZEH+hW+guG/hnO4o96d5NZ53lS1EUoDJwNcy+sgLOJQFN3L3TcPBKmMWkSBN5NFmaPZsNmgxQkEGAunWqjUY2/yiXuzjWmWM7LN9Pd1DAOOtdlakhzPX1KM46Kw6LQfhwLjFr176QaXufchaif2MPA== 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=hAILyGaP6oUcjwZUbrwWrX1/9+aVCc+T6mKhlGiIX/g=; b=XxjXe84lXR3+koh/WqEja9BnQ33lnwZFDvwx5kuiARMssV/W4Fquo+JvJx8MELLcW+o4KKYHZ7ATxryLBEAYqnYpWqgM6Hp/KYl5mhJqt6k4dXtWujIFd/uNwRh2VpK7d7AqnsuQbGpH7vFRofhe22kGbXwQCCFxtzMxgU7bHFNcNE/c1GsPGsMAMwJ/TltMXyYSW4NKFaDV28aogO83JXW5GocUjEhQ8YYW6SmuhiiARhUrXVMvgMi8ijIzaLaFBS0KJT/+PsK0A9+Cn97sFaXkx3hitPrkSiO/as80l53o6d5qG1v1YRXKcNEborQ2tOYkwp5SzyK5fUgzncEf+Q== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH7PR20MB4663.namprd20.prod.outlook.com (2603:10b6:510:1d3::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 01:36:01 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b%2]) with mapi id 15.20.7270.036; Wed, 14 Feb 2024 01:36:01 +0000 From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chao Wei , 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 2/2] riscv: dts: sophgo: cv18xx: add top misc system controller Date: Wed, 14 Feb 2024 09:35:55 +0800 Message-ID: X-Mailer: git-send-email 2.43.1 In-Reply-To: References: X-TMN: [+5+ulkz148G+a/ym2uORhzAn3xzvlkUbjsP2i4GmtfoVwRA2UizreuHHidT+9OgH] X-ClientProxiedBy: TYCP286CA0228.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c7::7) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240214013601.135526-2-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH7PR20MB4663:EE_ X-MS-Office365-Filtering-Correlation-Id: a3cb2cf1-dab9-4642-8e93-08dc2cfd4d5a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s4s4i9osvK4YL3Arvct4EKMqbakEYJ9N4pTiUfAq01ho+rFM/C6nQ2zUAHn6WWUv4tnql1hrLAMKmShOVyLEYVcAx9Vm7qR49m9LUqYSUxWXHDtvLMkAd5qh3LJc9t1RL+c9TCCaXMyGPECqWbzf0E5dYhewipgr1ISR+lRRYAOnjX0mWTcQzDEA2UVZW/iNm12LlvcQoM88b6GRmzMF7gFFGrjarw5tvN930xoIDeyBL5UUOlIv8M3Dnkcu3yJcnPN+aRRs/j4rwbAwj7lodvDOxzTXXMz5f1Xt72+woZa+QA/MA80Pm20Vit52u0D+1ZUFs+PYXt+RWOojXc5C2baNrgMN0wE9kwaWNTkDKPzcFGlkp5yYpwKlDFX1z0rrsT2+mibLyMOlOakUEUvGLBf36dkyk7xcNBlZdn2xMZBY88yV+N8r32T5HtVm91MQQIuWP8AGMCX+MnPrlrhoQeUN4NN7LIh6cGyek/6MOqENsOn62oDnFYCcEHV0J+uHVOOVK83Mc/tEWeDas4h0WPnVkoTyxjo+JJxkAMqJr+hrGF/vEH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8BxXCYdbywGDmDP9eAb/Ff6rgDvmupEgk+GklRdU+L26kRn0CBE+X5FTNxBtxEbfucZFqfV9nJghNmrueNzrIsPVdQRrOQQSKRc9Utw9ACSyYdauGk1nG7x4WdJaSPoDAiTDc/mrpNCTCJYcZXwyau/14/HNewe1Z9YcQ1E5nA+9tEJBhHldDcp3pRLJyuCmcB+i7/v5ffXsJ6d9Sv4dKYfq9AlgQAAQI/1piKAjrughl/McuxYfygVU9VNV4vYKqjU0WAUBVHceTuXpkZtOwdpA4R6pRvIv79VUZILrlXzRkQt1dkYPKIq4sfZWpEldt3NdryUPDTyuOG9MznvLQ+LtcFg2yyzIiHFHvu0M= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a3cb2cf1-dab9-4642-8e93-08dc2cfd4d5a X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2024 01:36:01.7942 (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: PH7PR20MB4663 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_173616_538079_BE4E15C7 X-CRM114-Status: UNSURE ( 7.37 ) 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 | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.43.1 diff --git a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi index 2d6f4a4b1e58..dbf018e99c48 100644 --- a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi @@ -53,6 +53,14 @@ soc { dma-noncoherent; ranges; + topctrl: syscon@3000000 { + compatible = "sophgo,cv1800-top-syscon", + "syscon", "simple-mfd"; + reg = <0x03000000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; + gpio0: gpio@3020000 { compatible = "snps,dw-apb-gpio"; reg = <0x3020000 0x1000>;