Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp2046037pxb; Mon, 13 Sep 2021 10:44:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFOPj/zyutG6D/FHYK/mQLr4aHI0KFcD13syTsVJITwL8WSq+WDaCUSqfIBfmUmKt49fJA X-Received: by 2002:a17:906:5ac5:: with SMTP id x5mr14219310ejs.271.1631555066100; Mon, 13 Sep 2021 10:44:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631555066; cv=none; d=google.com; s=arc-20160816; b=hgm7odWTXTWqjqRN0BoFSNdKf31cjC0xpGGr/Jydcu7u/ug3ZYOD8W9simLzFBpABA HIGSF926Mr8/ZSGzevh9xV7GEIEFqlgR2rL4sKjDXX28t13qgw+S+nvI8R0LExHiRgpI /BAu4ppDao+nWPjGycCZkEyyWWKfIjeivR6VVQrQd2qfltGNI2182piE7cYXnjIKFByK c1CzSAUgzFCXCMt0BivjpfzNUfEDwjNwi7a6ulSdiYEUkiOatql+ItWEoqQFtzcLRd8m tJEIQi5ZIf09oUrQtCtjoDv+dDhUP/dTtioVgjhcTi5ukWFKWJ2kiMmM4KR1sSMPJ0Ag ygVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=+zTltiYQgi0CynqkPbBTSSrYQdXjo9FHxm17nTR3vf0=; b=jR9xch8UqBX9lwEYk20kzCVnYLB+FZj+0CJBxXmCwXZRGvR9PmKr1jtEIJ5eTVylw4 3zQPTd3qUO5loxvXxKoQESwndCODOZ57eN/8SqgB9MG9C3NNC0mfrPer9AWdmdyf81wy dPy7gpUTkav+rksDf6fntzWd/X53qkyRJz5GYjcpH0x2eguaZj7uLxRY5qhuSdaMs9kd tVNcrsE+Dw3+oPyf3tMOVTDGARUfYL+M/+O8/kWHT+rZ61op4H3R69SNGpaoU+fevJOM we59KnlCCXpZG0ydw5pCrpDnZDWzwC9YXudYEqGlBQ70+43t82fIltShCHAqv8559gb1 wn6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k9si9728636edv.565.2021.09.13.10.44.02; Mon, 13 Sep 2021 10:44:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346389AbhIMRku (ORCPT + 99 others); Mon, 13 Sep 2021 13:40:50 -0400 Received: from inva021.nxp.com ([92.121.34.21]:59160 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243866AbhIMRjx (ORCPT ); Mon, 13 Sep 2021 13:39:53 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 882BC2005D5; Mon, 13 Sep 2021 19:38:36 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 7060A2005AC; Mon, 13 Sep 2021 19:38:36 +0200 (CEST) Received: from fsr-ub1664-175.ea.freescale.net (fsr-ub1664-175.ea.freescale.net [10.171.82.40]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id A25C620363; Mon, 13 Sep 2021 19:38:35 +0200 (CEST) From: Abel Vesa To: Rob Herring , Dong Aisheng , Shawn Guo , Sascha Hauer , Fabio Estevam , "catalin.marinas@arm.com" , Will Deacon , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Georgi Djakov , Adrian Hunter , Ulf Hansson , Ahmad Fatoum Cc: Pengutronix Kernel Team , linux-serial@vger.kernel.org, NXP Linux Team , Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Abel Vesa Subject: [RFC 16/19] arm64: dts: imx8mq: Add interconnect properties to icc consumer nodes Date: Mon, 13 Sep 2021 20:38:11 +0300 Message-Id: <1631554694-9599-17-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1631554694-9599-1-git-send-email-abel.vesa@nxp.com> References: <1631554694-9599-1-git-send-email-abel.vesa@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We add all the properties necessary to control the interconnect based on the required rates all the way from consumers to the dram. The fsl,icc-rate specifies the minimum required rate the consumer needs in order to operate. For now, only the fec, usdhc1 and usdhc2 are added as consumers. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 5a73ebda6bb3..0489f7416993 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -1215,6 +1215,9 @@ usdhc1: mmc@30b40000 { "fsl,imx7d-usdhc"; reg = <0x30b40000 0x10000>; interrupts = ; + interconnects = <&icc IMX8MQ_ICM_USDHC1 &icc IMX8MQ_ICS_DRAM>; + interconnect-names = "path"; + fsl,icc-rate = <266666>; clocks = <&clk IMX8MQ_CLK_IPG_ROOT>, <&clk IMX8MQ_CLK_NAND_USDHC_BUS>, <&clk IMX8MQ_CLK_USDHC1_ROOT>; @@ -1230,6 +1233,9 @@ usdhc2: mmc@30b50000 { "fsl,imx7d-usdhc"; reg = <0x30b50000 0x10000>; interrupts = ; + interconnects = <&icc IMX8MQ_ICM_USDHC2 &icc IMX8MQ_ICS_DRAM>; + interconnect-names = "path"; + fsl,icc-rate = <266666>; clocks = <&clk IMX8MQ_CLK_IPG_ROOT>, <&clk IMX8MQ_CLK_NAND_USDHC_BUS>, <&clk IMX8MQ_CLK_USDHC2_ROOT>; @@ -1272,6 +1278,9 @@ fec1: ethernet@30be0000 { , , ; + interconnects = <&icc IMX8MQ_ICM_ENET &icc IMX8MQ_ICS_DRAM>; + interconnect-names = "path"; + fsl,icc-rate = <800000>; clocks = <&clk IMX8MQ_CLK_ENET1_ROOT>, <&clk IMX8MQ_CLK_ENET1_ROOT>, <&clk IMX8MQ_CLK_ENET_TIMER>, -- 2.31.1