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: 12811887 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 48F90C433F5 for ; Wed, 13 Apr 2022 10:37:15 +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=oMnQ0Z9RjFzkAtuwKW+SZmH2R5R+wsEBuWstOb79h+8=; b=tATNoi70M5JH1p w6YLIJi56x6QOAn9J6cM2FBndoGf2o3JW3FuUMTERKctOb9PO0iLX9sAOtbxPasedrXZmIaoJNmeX MLNvgUAUNrwuAmOprV2s6jz5ImBRHQrv2eaExXd0RTVdXqWQ8MFq7paZicZiub5+Z63aSiuBu0EB3 Yp6ei8+F/ul/KEOSyRMsUajXvMXj3scLotN6TAt4VHN3MXIubNWV93Xu3t9v/X8xdioJPA/QA1Itg /uYk6qYs0k8lJEZDv0hTg5RHvxiw+37I7XeyR7rbUC3hnM04RNB+SJNMSyqO9B0iXNUiKgEA8KKX2 ul9Ehccu0K+akWnFjwWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neaLr-000agK-Is; Wed, 13 Apr 2022 10:35:56 +0000 Received: from mail-vi1eur05on20617.outbound.protection.outlook.com ([2a01:111:f400:7d00::617] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neaKo-000a3z-93 for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2022 10:34:51 +0000 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+JdbAXdJ8s8c9Fwbntw9Ubz8DVjY6918cH/Wso0vUN3pNdvMrQSjDQLg/V11XRSRHqOITDMC/OP6LqjFXSE2W5ozRj50pqV6p/RFryq02/In9k6cfD259bAmRNwpcLeooRK6hY9jtd5JtWnKg4JQgfjGtRy2uD8cvq5Ov0JIHpmuGGMXsaWQ0RxzmtQaTVAUrKW1pKBXeYUJtXRLXLrNISMSJU6tD6kxlckMb6GKmnjm1fQTD4IOqUPlVvjElrupGesEVmwF9CU+HjDgGdE3oSkXqED2nOrmUZt7jMxOxjEdKmv5IoIBmGzn8puajFUG0fSuS+zUMrfFTcIZiv6z8TpqYZaciP/YntEYBl6+9L1tCvHzGYPxrH0ECqg9VkPdvl35LgoFzK3DphdytYaQ+Rn91dF/jJF/i+PCTms1Jq5PTSU40RK6+9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FPzYDRotR9PN4W74jGmsQG5BrdppXjFrelUNY7XvKvOJ407NZ1rzxdxxqGqgBGV8c/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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_033450_341020_FAD5AA59 X-CRM114-Status: GOOD ( 12.99 ) 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 | 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>; + }; +};