Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3852818pxb; Tue, 19 Apr 2022 11:06:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK5HY274VKawutgDafoeoStl6pdamSNACqf6YZOR8anum7BVC+vGr293xM1bh7eyA10BLP X-Received: by 2002:a63:510d:0:b0:39d:3f7d:2b0d with SMTP id f13-20020a63510d000000b0039d3f7d2b0dmr15538252pgb.448.1650391564064; Tue, 19 Apr 2022 11:06:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650391564; cv=pass; d=google.com; s=arc-20160816; b=olb2kOefNxAuUL3MwuzmpKwUcigYfVXyFsdR0vekb12IHs1fC82hInjp0D9mN8MWw6 T9xqdOtTLsGXagi6QJu5wtUlLybg8pAmP2ud9x7Gy+5Grkzshj+5GaJje3QoS1NqSA+B Er/aasSeG1wq0QJBMpgZX9gafesHeD0NsDPatJhqBnNnUFZUkrA3hrKb/AJrw6N48tIg jnMi2HFrqtko82Re5TyUl4KqZQlO5vcwK1UVi16Dlq+uz3MBHAfOo4m1+V0GqnttBp56 Uh9FSPB1OkbOKnyb7J42Y4SoMNFaB9djEZhaibarqgejqsFE/I5TBvoMoEG89e2U0bAN oprw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fC/nV0MG0NTbLa1AiQ9fkKfoD8CVRJeyZh32v6xKE+E=; b=Wqfb1VpmP2oLohhbp1zdPKfwil2xaWVqTJqirnuAYsJY73aZd+CkG2rDEN4YQQ+y+X zRzT8sivom7UmK2JR01ZJAKrPTVG5Oh5W04ELxuXMSYHDXvzr3Fe8gHWxbG5gei9j14d CexI5wDs2RBKtBQx6ePI/QS5pcn9Ha5WETmbHMbH0GqIox5f3JVdhq5BDPuhQe83Vcoy 3OYj4cZVQDEFq2byWqFZS+7GqPvAuzQaQiSEih4U1OoOqgM8KkWzc50fyQyHptpnvWys KMvlJJXVt5/cbKmvGBSQjF8oVWVqrSOp0r99YLgy7ou1FsZ9zjJOt06167cosEwTZBCM jmZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ma210DsS; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e29-20020a63745d000000b00398989698d4si12496688pgn.647.2022.04.19.11.05.44; Tue, 19 Apr 2022 11:06:04 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ma210DsS; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351040AbiDSLY1 (ORCPT + 99 others); Tue, 19 Apr 2022 07:24:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351141AbiDSLYH (ORCPT ); Tue, 19 Apr 2022 07:24:07 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60060.outbound.protection.outlook.com [40.107.6.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF079140CB; Tue, 19 Apr 2022 04:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TSMigpN+t/Yh5aBnyvh9OlR3KQNZsD5D1jLiFkwAUQ2SjTyDZebNXKhu8P8Edy1LkddiS9Hti4BUbnFQXEW0X9mh4ljp2UZD9RFP132rMjsaew4yxuqbNde+THUkYJCqWdb3TggwPwfaMh+t294UQEkUnZ6TmsOI/FqfFDEv4sOuamRROE1J1KtLjbEdr+vEJtVw1ArhJSanfSXrdqanwq0ZA+XT0PiQMwntsGPRSWh9TSgDhLeWqUb7BQOSowpMwbpkvjofZgUG4u9de9pcpJgoszGfe+JEam5PsbTBZ6HknHWClCsgIOGLefOTWhyKZ+nFZvRbmYsC8vYkf1AAKA== 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=dh7eXQe6SH/ewlfc9pSxhg1Cod/Xs9J8tQJmZfmTqJhCM6nFmRz/XbTwE9dIwsK4sKXNQqVqEq63t3BJrmb6Omv7bfxQYELC2VpMNZ4VG4AzSBwY52puBhznOtpg6U5KEqtVY2QqsCT/ScURJxfjJ+ffyk7nP9A5UwPPlmnKkDB3T9kIgls58t9foGAcqFJ7O1xBm8XKSlSoASkPHicuGf/1ZDK9+l0bk7qkMspY6Kf9FHEOyFiigjlVmN1ibwXgi31JjZDccrkUwexEcuoirA0+wwCFOlZPeILtoV4rw+t1yN7rH1bUOxwFu0buNjt+bfsM6qDLJOKuRJqIz6OghA== 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=ma210DsSQcoZilYMZlugoRkCpC6UUOyX1yfT5L9ZzoypWn9WkJ2gNCghDxfKBc2Zya92Nnkv+sSidde7IdfOY1w1ckI9Lh7JzLrqg0gbc/4nkoBeaq/CNJvBH1BGgla7uajT1zBhw+vKSCnWCVmdRT4n/twghdJvBZkeWJNqyRM= 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 AM9PR04MB7538.eurprd04.prod.outlook.com (2603:10a6:20b:2d8::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Tue, 19 Apr 2022 11:21:21 +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:21:21 +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 v7 04/13] arm64: dts: freescale: Add ddr subsys dtsi for imx8dxl Date: Tue, 19 Apr 2022 14:20:47 +0300 Message-Id: <20220419112056.1808009-5-abel.vesa@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220419112056.1808009-1-abel.vesa@nxp.com> References: <20220419112056.1808009-1-abel.vesa@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: VI1PR0102CA0008.eurprd01.prod.exchangelabs.com (2603:10a6:802::21) 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: 7e1a25b6-e111-4fcf-b371-08da21f6baf9 X-MS-TrafficTypeDiagnostic: AM9PR04MB7538: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: NWaXTxVHdFh+tzUkTE0xrCgRNVUZxB+AJhngVs5nhC0WL8gpEHz9+HT/Zj8ogUu0DH70s43fhZjZ6VmaB7bCllV4WNklOkbrZhCPT/X0XrtPfAyOKLUWQAUWWUlgSvRA2fjxsCa2jPD5ph4VC4LfdP7jVLuULUBH7tJgvgJpyvl0d20UA4Tew3oIdQIoxKs1qFcOIoMF2viv0FhMWYRh4ATQqqQFD+S/AaXVv8IKdnFZl3Tw0JS1lkadLVsH7andUIIUHmDECLIusa/CRAdtWAR+dcNdJcH7EqT9mNIL4HnV5q8SZakd3HC04Ixl1rn5cJEhDJ1gxT+N/hLk0qkbWWCpFd/Yf1GlefFjxV8wFNRXtG53lUr0sWx/xAdJ/FHeus3RmSY4n3HWhlXdo9ivnM77OA1axgdinhqgRhzqdqvRay4z7EIqANoxbz9Oq7hp6667GbMa46QgMfiWPh1/KUhlpZLHVdkoCbeprJOn7U0bNVwse4WvmKxaz4EkKhISk5UFoPH0SGA0atM2Ea6y+fhqUe81Q1r+eK3bXek7xJPHu/Yqmok0MuUgJQ0eI/WGSI3/fNpFgtlB0EIX3xRvctPKA8ny4AA3hMqycLSCOwkXrWQo8k8ynTmoxMReLyvK5t79Mzpx8X3LM360L+FdGIYKRt9ZNYnPGBCT7OPX+LtoW7uAAp2mfU0cgVnflTXrH4I/PvO6vV4NGt1gr6ssFV6gh7fvOLYei9/vkzfQc78= 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)(316002)(36756003)(66556008)(4326008)(8676002)(66476007)(66946007)(6486002)(1076003)(186003)(110136005)(8936002)(7416002)(86362001)(38100700002)(54906003)(5660300002)(44832011)(83380400001)(38350700002)(2616005)(26005)(6506007)(6666004)(52116002)(6512007)(2906002)(508600001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?9AeaGh0Z6rHxNTQgn5mgkfEZrcatIzzHdtad+oWTZS9tB6ZRgC8C7hoZqVJ7?= =?us-ascii?Q?67KV/yLYJAYGsmVEpOtNsa9xDbp2E4wZS99vRyEU+D/Mrf8KypppErsWWPzp?= =?us-ascii?Q?pKo8q9u4dieqoCzulugvhdCPPFBK3dLeAnA+Cy+wteELvOhy4j3F/oRGYmin?= =?us-ascii?Q?E2heD9xX5a35Xt1iFba7s6xPNdOumiv9up4RZQ48onDGaCgESLp9Va1CxpIw?= =?us-ascii?Q?cnfyrsXdJS+301g39EAG0v55V08yXJAPtd++rwdJV0WbThPs+Ra96fCTStW4?= =?us-ascii?Q?OLvJJV5wArwKJ0yZNyae1c4TuyA8am2ZZWsONQ7/XVEnJpMAOL4VOBidSYjd?= =?us-ascii?Q?0WV/74aHiwvVfrOfA3DDt5eV8vAEdj6/S6HhscsJzHqEeVKfxXSGbugQWktl?= =?us-ascii?Q?Kb3k8GnUXd8oUgn4z8eyrzyGRfuF7dcFh/LVLu56QrKIBbdXJ18j+NogOsXO?= =?us-ascii?Q?02s0jQapcu8dq3MS6ecyppZcRTi3x/jyuh/mHL5sPk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bYN14xpHD3eI85pGKmUdQ9TLywUWqq6LZ8nA2axHUfAtwSP/?= =?us-ascii?Q?RCb4wPbcD8hFVkXMp9V86jKxDSiv96w70eKLhuvR3zgkLOKlW4hNg2hWQ+HD?= =?us-ascii?Q?SjO/RvWQMMmghCMEDQ3CttpWZr2tbmG1vOogURlacMLG2Ae+SlIOrczfOcg9?= =?us-ascii?Q?zH5lfiA0cJayo4hTW3XtsFo8NGvhmCJpFU1NwwVRGumYQTDRKDeIxguF6EDM?= =?us-ascii?Q?y9D+8uxM5FmXqMpCsaHmej9DtF3x59HSpAqZhyV76ncaCP7Z15SpIYUkvu5m?= =?us-ascii?Q?uz9fC57x420ROphznhwmTT1ck8LudXgeT1C5vSphQC0UqAXgNoq73xjRbTGr?= =?us-ascii?Q?A3eG0CctHg=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e1a25b6-e111-4fcf-b371-08da21f6baf9 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:21:21.0975 (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: xM8XIST1D/i+Wqx6IwPdYzytau+/DHtH7PtlPV5XPj/YmneiwExDCwdR+KhqI/Ye1xx1Mgh9W+5QTsT8zFVnHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7538 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,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: 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>; + }; +}; -- 2.34.1