From patchwork Wed Apr 13 10:33:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 561124 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38997C433EF for ; Wed, 13 Apr 2022 10:35:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234918AbiDMKhR (ORCPT ); Wed, 13 Apr 2022 06:37:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232004AbiDMKhQ (ORCPT ); Wed, 13 Apr 2022 06:37:16 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60087.outbound.protection.outlook.com [40.107.6.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 508FE120A3; Wed, 13 Apr 2022 03:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kenrutECBCCdtwdtu/L4BVeIINDfOv5YA3yQHpTZBg3IZzHUjnfgOmsKSZLozdpeI9ggW8l0h+D/bwZINpGh6M/nTsBJCbArBlXugHcQalUbzDGad5yslK0xFT4Izd2e/2o9UGY9ILtqy1Z58qDS6L8tgbLIkzoNYeCEOTACE8xTeVswYjjYRmV2C5v5Hc7b2+0PRmetEZq+j49AN80Am0lz/sfi+b39HSD2V8uC7SvMoaL/gnQ60Ay+BdXpxs6pqFnofg7+qDWrCUa6Nr0mSpF/IP+wTdj82cPNkdQUloybeR4CQGES95N4QirNzKJX155wCvANU7kQeXW5XYxjgA== 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=29MwMLyVa6BQohSVPla6TZEn2KKYstzoJyjXeV/Xr1U=; b=RsjQVNqKK3XHF2Vw5VzLXBcOym8uHjKBUr/AitAL0uat+j35MQeEazdijIF4RxtmpkX/I4/NPe7WwLSK2up1cwXDGOpUWEiKJqj0/8PfgTE5vICi95jr6MgDVXqYB82AsFlghwcBVf+MkKJC/T1SxXrc55/v1R2q5XCdzaSXzDyMCrvDS+Txhxjl+pQOtBBkxGdBCeX1kRZc1UHeRmBGavh6eAqLPKX0ybLzfORPKemZ0p36nIhatRSfCm0rwVZotSHf2j/Bx33Xhlj2NTIxzbVYAAqzvY9EEzOgQzGWVTTBy/S0/pubuvYXdmty5E4eTroMKImKJBFtieFOucT9zA== 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=29MwMLyVa6BQohSVPla6TZEn2KKYstzoJyjXeV/Xr1U=; b=m9vvccmHap1THhgE06v18REtHddDPBslrVneNqoMFg0FWEjnSrMLGNaFxtryHB468B1aaabfBH4poreOEzuhlY/SAMEnEV3BXaectNW9+1knTisi7xc5hK7ieGdEcBe68/GwiFhdzJIgTNST+NmhR6cvYEv/K3huMztmL5Yv4eU= 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 AS8PR04MB8691.eurprd04.prod.outlook.com (2603:10a6:20b:42a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Wed, 13 Apr 2022 10:34:42 +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.5144.029; Wed, 13 Apr 2022 10:34:42 +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 v6 04/13] arm64: dts: freescale: Add ddr subsys dtsi for imx8dxl Date: Wed, 13 Apr 2022 13:33:47 +0300 Message-Id: <20220413103356.3433637-5-abel.vesa@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220413103356.3433637-1-abel.vesa@nxp.com> References: <20220413103356.3433637-1-abel.vesa@nxp.com> X-ClientProxiedBy: AM6PR04CA0047.eurprd04.prod.outlook.com (2603:10a6:20b:f0::24) 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: e30dc370-c8da-40ea-e1f2-08da1d393867 X-MS-TrafficTypeDiagnostic: AS8PR04MB8691: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: U3fWWCmJI+r3OklT43ptRx7yLkYNWP8EIo5jL69L4sqS2o0OjfUEGj6NYPi1k+lOuf0vo2wNmJfzwM8Zt60NPeUZfTphQK+iz+fcdoWr16rV90+ZVQkaJhbME5gf6QX4FtfMIAXuUnXOKTYRUI4A8PyP8dOtMz2XKUjR35+DSgr0959skHMKXCpiM4XAD0AyvZO4izUEb9HtvJLt5QthrEzTttDrmXVHJuyFdPA6n/bPys4HSxpTYKyCiT5f1/XUyuaP1Vux3vZDRfcvJJ9SejX87ER3oWWCa8WPfyt3AFU1OAx+DzU+gXpsCTm0/4J9ZiABGZohv2BzECyYUpqgksr73X7LE7nEzX9rXAH844IJ9gSs82BBEF/FQnq2wGRI3knv3AfNjygEbkC0BaZa0tY+C/mfZcpwOg9081U6DsmTKggrHpUxnR4KMgm5H7OWieReQtIGjWzIBvn5ssFQacIVJv+a9P4rc5KVHlIVm+ZOOYhjCfrEWVYFLLxwN4uko1abeApk+ORAjP7VZbPcgax26J1shCVwmcXE+DsuYkqr2nX5tSJQ2j4XsHviWKo5+DE9GxwPugEwpwjwvfPlzq0ugvGfwo/JLQyZU8hKnjosM9jGChkVfiKI45ZSkPerpHJgKAewvLS0D8X3dsA3byoqHYxcWVeBpP/PldfpE7j2jW97l7NHis3ROr9ZCky7ayOywtjmq4R7eLLekng2AdU5ZQ8oKFooNt+/jKo5uUA= 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)(6486002)(38350700002)(38100700002)(4326008)(66476007)(66946007)(66556008)(316002)(54906003)(110136005)(508600001)(1076003)(8676002)(26005)(186003)(2616005)(52116002)(6512007)(6506007)(86362001)(2906002)(44832011)(7416002)(5660300002)(36756003)(8936002)(83380400001)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: KQuF4sdjhjfHUk07B6GlkWx7qD4UAdqYulNT5/34GC9rpgg2nMzGpJNHxoQRbG3jU6FQO31CvThX67W/0Fk7Soccs0VqVYeZu1wIgeZD5eJogmaZT0z2io3lohmz9Jlt1D9BjLY9FgTDxTipDINubG0Ig+JdbAXdJ8s8c9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5saY76WBF/lrcfKaBr4qKA4eaY53UdPqUuL+inxu1tm2e/oWAzHFZX9+rR/uJz5DhVwaPjfD8sai0Cjl+kMzq3hVhxrH64A41AMJQ2un/mt3IILKX9dDUMaduOwVjumXLczRftRI4x3olE+U0QVjWlVuLDWEESCcljVMz9r3Yt4upJDQvNTGefkZdN0Q0bp1vyNxTIrsqfk9t1cIYglwi+4sN8HroXYAFXqltXUCPO8THwQqxZTK+MGULGnWw8Pa8skpc+vQqcB74sxDz2JattkozvGVJGhWicAcxlLi0/V/jMoYGxZx4HZz4UyUaRU2ZiVscbSDQDjLuXADveuwoLzTi3PD0pQZeHRDBjJObLzvcAgrEtP8zmh6kesqXUe/HQ2mln65QOKQJFSFPGHfzl0SJrK2K3qphW8XE1o3BUz38xByCCFPzYDRotR9PN4W74jGmsQG5BrdppXjFrelUNY7XvKvOJ407NZ1rzxdxxqGqgBGV8c/2l3mLFE8Uw7yJA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e30dc370-c8da-40ea-e1f2-08da1d393867 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4688.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2022 10:34:42.4269 (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: AmGENMXbtm6zXANJhLf2gcs6Yygv8jHFcbWp7HP3hyXQqonjg0hAWaGXtisZ7A7sjyNUyeg1BrA5wDORjiREDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8691 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.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 | 36 +++++++++++++++++++ 1 file changed, 36 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..75b482966d94 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2021 NXP + */ + +&ddr_subsys { + db_ipg_clk: clock-db-ipg { + compatible = "fixed-clock"; + #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>; + }; +};