From patchwork Tue Apr 19 11:35:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 12818183 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 41524C433EF for ; Tue, 19 Apr 2022 12:45:14 +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=TZSraM6LiZpXWyOYCE8n50tVem02rQGeKARGa6UJxHI=; b=NvgoyuSfIODYLI Ymyu6rjFwg4L/RTgWv3z878rfYGoHMoham9PVEHialQ1nnzOUEKp8uZMEELrTQ4/g0lmbPaUGHB2w Sna3vX302IpupEQbM3wWpe8jNAOuIWt+LEKAUqYOs0MEYZO08To94hxE/rfHSsPOz9jnv41VFTG+W pfET5eS5qfAdsZFuYlvsEFZocYGraYIvXFH6R5u5VKVaYWS8SVix7RnvbzwcubuJJMECh9iyYjbOt 0gBEwLrMrElz/Zuj3A5lNAJD1M8/m2AKuHlkvI38heV0olP5VUBAiSHL3Sc9InsAGOJjz+Uhu27SX Ovjvhs07mdoHbQUUaGnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngnCe-003a56-6p; Tue, 19 Apr 2022 12:43:33 +0000 Received: from mail-am6eur05on20613.outbound.protection.outlook.com ([2a01:111:f400:7e1b::613] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngm91-003ASJ-7x for linux-arm-kernel@lists.infradead.org; Tue, 19 Apr 2022 11:35:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q8zJgS1vEeX8Kl5NzrNxlTw/QK+7oF4smemTHXpdX0ZKEfmn6y8owewHUVlB/NRdPP9sTsylw5vlstZxjEe7IxWJdKPRyo+WsI67u3FyHPzl8uyUb0+w5kh6gVUS2RKd4S3azH/zCjuqBYsugyM+cjuTgHRJt3zSUIlwFeMNqC1hY86hXvx8DdhEd0WYVc8rd2hV1G9Er5ntpQnqc7HV0TYP8jqs7vpWYFipf5TSjE5vfCdc0k+uZGG4wwmQl6649OlxrdeOk5sAwgEQM4neKA9U0pfhRZWlh+mNI3frq9Y/ZBRC5RKMmOlmWe+Az9H77uPNkyRxT73pUSZdYms6Dg== 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=fC/nV0MG0NTbLa1AiQ9fkKfoD8CVRJeyZh32v6xKE+E=; b=feJ6O+xwn2xIYm/ZW/gmR2MWaOYtbhjddkh8VmGM/MuZzgPfNVyrWLtRz+j2peFGEJ3TZ1E0wNYqxOrtys9CpbVtB+AswArS/XCkR9BXSfCYFJDqF9jO6zLTRq/Rhh42n5wbmqsUS+gXa2ZfnfyqTYKXVDzpa8dxiyg5oFwMhSWS0MSqP12WHIYisK1iDuuMi77o6pZxKKXXTwURs6G4zjfl/h6+nalUxCuORpnMAOuWXRgM2nLKrvjsbay7dGoZvZhn0Zm/jezXs6inTT+z2jc9y3MiBTBcJdJklxjmQa+JQVnqeBows9HiWlKYg5XJSDTIerbfJvQzvbZK+3V24g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fC/nV0MG0NTbLa1AiQ9fkKfoD8CVRJeyZh32v6xKE+E=; b=FPhCzlQZ/ertwa5zVvEgFcPlodrEhpw4/EOnZX85y3zotr6uhfJoCw6KOmkJYzkRu7gInzluyJ0vc6dxeGDuDgQkmU0WFiQDCxVfH0jUTrI2BTGPKOIap+hXuOt3D0iiMSh4Eoggw9y/aVyYPXpTaV5rOMwOof46Oh6mKyJOjU4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:6a::30) by VI1PR04MB3054.eurprd04.prod.outlook.com (2603:10a6:802:3::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.13; Tue, 19 Apr 2022 11:35:34 +0000 Received: from VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::a9d1:199:574b:502f]) by VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::a9d1:199:574b:502f%6]) with mapi id 15.20.5164.025; Tue, 19 Apr 2022 11:35:34 +0000 From: Abel Vesa To: Rob Herring , Krzysztof Kozlowski , Ulf Hansson , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, Linux Kernel Mailing List , linux-mmc@vger.kernel.org, , linux-arm-kernel@lists.infradead.org, Jacky Bai Subject: [PATCH v8 04/13] arm64: dts: freescale: Add ddr subsys dtsi for imx8dxl Date: Tue, 19 Apr 2022 14:35:07 +0300 Message-Id: <20220419113516.1827863-5-abel.vesa@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220419113516.1827863-1-abel.vesa@nxp.com> References: <20220419113516.1827863-1-abel.vesa@nxp.com> X-ClientProxiedBy: VE1PR03CA0026.eurprd03.prod.outlook.com (2603:10a6:803:118::15) To VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:6a::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 21d203f5-65ef-4696-a2ff-08da21f8b777 X-MS-TrafficTypeDiagnostic: VI1PR04MB3054:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 62QTHOZZGZqSGdxcULFGPWf0tltDZH7fGLi8Ra2gCg2HF4AMkyk3K1Ep3jqbMIN8tggrOLBZyeZTRfOOP//DSTviXlunQ6R41+NIjw61O3zrkPXdpx2JUdhkxeJgNln1yVT+9C4/+Sx2N7I2JlAXBS3BSrYd+PEl+HrfdYtj5ffBGwi6hMeJIZA3o95BINK1qVvRc0punEUVJqTU+3E7j2wUQbgExEn+ykK5HiUacd7kB/7u9U+tONTU6HZ5qNePo+hbCsdAvxnSHFI/Mc8Y4a+EVra2JyNlgKCqCIETTybVjqQG9g6Etc9Bb1679yQR8BBF2IoEjIvk2c6/kPhoVGN27acgdcfvRbJzIFdenJJnrnQDVIauxNgijuaVwz4a95AeiMb9jzAlnsdx/m/HJk0FsthvB7puaPiv3MDDGrJXnBF+/lttVRTGixsEGQp3AuC9OXZ7OpJ6cE09KTj5twS/HCj9ZLJyvL4j/h030Etp0uTW3QsJ/jMXrco106HxMddROSg5Q+phzMPR/sCbH3HNF8d3XfW3iVUvkQO9+zYfq6COlOR3R/f+zOQKugZIubZv+p1ddIpUg+XUkJzkTZSiuYBGyYr0MDmo/ka170oMAryESpzOn45F9JusGAGqJFH2nStCZaMpK0Glkwtx4jY0j8/8/KIM5whWlIO9BbIrV0t08cvPBR/dQgfY4/FAdP+4q7jB0eYaljAAJ/3yZir15sR5mvlA+2CGFVe6bWw= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB4688.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(36756003)(38350700002)(38100700002)(54906003)(186003)(7416002)(26005)(8676002)(316002)(110136005)(6512007)(5660300002)(83380400001)(6506007)(4326008)(66946007)(66476007)(66556008)(508600001)(6486002)(8936002)(2616005)(44832011)(6666004)(1076003)(86362001)(52116002)(2906002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iMcN/Z63aIIfDROhahkJ9SJGVD17nPLZsMLeoi/pkQMNpV0/ep4N2udU53+i4RVO2aO1Ed46adpP3nZ5dpEwLKFELHuaugMfeOmwU/Lh/gsFhvUJxI2dCperuckUItxCzrRpVFhdMZHbBZsvN8qrwjjGxCYlPwYnIm8tKU6sBCRVeKwSrIi2CI2vPmulRviG9rmZQYvCdF+fAsqFtJJdb6Xkt30yczRHIz7ZRX4QWHLxPhlAQVD5cVVJQ5X/BZ6Iu2k5FeVRdXs14TKGgRzC3P4L2Miv988ki2xnU0vnGTsQ12XnoJfmxbW9R+eWyLbzQNG5XSt/xBYXY2R6uM1sbSbhVijbCewrIrnaGTmqDDuFjIl+dTNlgPWEtv/NCDJuby9duSnVswVKgtG65IW7qIJT1XZGGYZseN9vkN2SR+fD5Mz2AZjuqJjPhevntaBtzJyVzzs0m/gxJgn2vS0Eacx8c6lZkyIHbQm/BrfFb7O0oWLc0t6r8R++3VcYGMlS5x3f/xU0bXCUmWRuiLuNZdSzs13tzM5ay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dU9X0MZIE/N+zxH5dNKoaCvnNDZ0Efyz3ra4znKuNqQjsPbZloMCC+eGf13nSdkK194x9alavXw42eFX1+FZ+FKyv54+EjU2TJi8ipM70vuYfXtEFPQ4Y/ClQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21d203f5-65ef-4696-a2ff-08da21f8b777 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4688.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2022 11:35:34.1273 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gQApOV9UXnwH+HS8mc1DA7xW21uPXWQRkYF5gzPEvZOCLCJjgBWl9hyHRX5PfmGMTp9b+3mbZRDdZbNPZnsdxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3054 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220419_043543_324219_D5043B45 X-CRM114-Status: GOOD ( 13.04 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jacky Bai Add the ddr subsys dtsi for i.MX8DXL. Additional db pmu is added compared to i.MX8QXP. Signed-off-by: Jacky Bai Signed-off-by: Abel Vesa --- .../boot/dts/freescale/imx8dxl-ss-ddr.dtsi | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi new file mode 100644 index 000000000000..8a91eb33b4ef --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2021 NXP + */ + +&ddr_subsys { + db_ipg_clk: clock-db-ipg@0 { + compatible = "fixed-clock"; + reg = <0 0>; + #clock-cells = <0>; + clock-frequency = <456000000>; + clock-output-names = "db_ipg_clk"; + }; + + db_pmu0: db-pmu@5ca40000 { + compatible = "fsl,imx8dxl-db-pmu"; + reg = <0x5ca40000 0x10000>; + interrupt-parent = <&gic>; + interrupts = ; + clocks = <&db_pmu0_lpcg IMX_LPCG_CLK_0>, + <&db_pmu0_lpcg IMX_LPCG_CLK_1>; + clock-names = "ipg", "cnt"; + power-domains = <&pd IMX_SC_R_PERF>; + }; + + db_pmu0_lpcg: clock-controller@5cae0000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5cae0000 0x10000>; + #clock-cells = <1>; + clocks = <&db_ipg_clk>, <&db_ipg_clk>; + clock-indices = , + ; + clock-output-names = "perf_lpcg_cnt_clk", + "perf_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_PERF>; + }; +};