Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp479002ybt; Mon, 6 Jul 2020 14:15:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2Kexv+FogkXp+OO1AQOMdDwk9PJ7n093vfHzUq8gJA1cdMyOTKJDnvIwWzpEKi38feBvy X-Received: by 2002:a50:9dc8:: with SMTP id l8mr57844643edk.248.1594070122653; Mon, 06 Jul 2020 14:15:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594070122; cv=none; d=google.com; s=arc-20160816; b=bMv3wrOeb7RGTttSkM1tDQK2Khw9stpHucT1TvySRJR81xai/SqfRjLpv1EQaEFKbC RVc+4bZ1z1QIkUuMBEUtTZ30vvGDnsVCsX8pS16BDB9M6Llp14ornOFntuSiDzW/7P7N jyn18Uv8w4PXGhmgobtSOLRODwgmB6Sp1ZbTwqkFC4/QAJ+3OftI3lFwYgBX0Z0HhiMo hBbrEdJ0kCjo65cqYdChj44SCVIKlkv5cE8KE9lJcst/rEXI6zCGTW+DGdDuwZy7hWf3 AUnhLr2+Rel9l9umxpeGmqBKJdOJzIaDXCJQ4io/BP8Ak648lBQUqjpOBQkPJpgJqHRK 3BOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=X7rdbJZeFnhV2QlijIeP1Z02adw28Sw2EwFB0RD9Lng=; b=MT422Hs164tCJ8IHpElWmI8x7HTnaqXEGXBJrhlHq32r605UJ5BLCGucy6egzP/km2 sarf2YB18ljw8N5NFPSpiaUvyhwK6/I81EN91MkbwJ9nlz7s+3zpCLnuxiU6YdWoJ6Hl NtVpGs0GHDy5LFTSdgVDorYtR4YtX7XRew6xfLxRtb2L+kcGDpEuF9AttVoGCKBdlZP3 drm/+R2KBEM4dP/2kwmx2gl6TbjaJkYx4xxnGcW3c0/PcfV6iEX0nU2WuarbDpO+SyIZ rTWPSyq8IU66R2aieKKARPSiWLm4T5nwiduIlxsmNhOud8fcyZZ3s+Nw34Aexl0Lgo2E 3yig== 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 j3si14101948edt.8.2020.07.06.14.14.58; Mon, 06 Jul 2020 14:15:22 -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 S1726674AbgGFVNt (ORCPT + 99 others); Mon, 6 Jul 2020 17:13:49 -0400 Received: from inva021.nxp.com ([92.121.34.21]:55272 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbgGFVNt (ORCPT ); Mon, 6 Jul 2020 17:13:49 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9C891200747; Mon, 6 Jul 2020 23:13:47 +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 8F0A120057C; Mon, 6 Jul 2020 23:13:47 +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 20321203C3; Mon, 6 Jul 2020 23:13:47 +0200 (CEST) From: Abel Vesa To: Georgi Djakov , Shawn Guo , Chanwoo Choi , Leonard Crestez , Rob Herring Cc: NXP Linux Team , devicetree@vger.kernel.org, Linux Kernel Mailing List , linux-arm-kernel@lists.infradead.org, Leonard Crestez , Abel Vesa Subject: [RESEND v2] arm64: dts: imx8m: Add NOC nodes Date: Tue, 7 Jul 2020 00:13:26 +0300 Message-Id: <1594070006-816-1-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leonard Crestez Add nodes for the main interconnect of the imx8m series chips. These nodes are bound to by devfreq and interconnect drivers. Signed-off-by: Leonard Crestez Signed-off-by: Abel Vesa Tested-by: Martin Kepplinger Acked-by: Georgi Djakov --- Changes since v1: - picked up the bindinds header which were part of the original patch from Leonard arch/arm64/boot/dts/freescale/imx8mm.dtsi | 24 ++++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mn.dtsi | 24 ++++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mq.dtsi | 24 ++++++++++++++++++++++++ 3 files changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 76f040e..970d132 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include "imx8mm-pinfunc.h" @@ -877,6 +878,29 @@ }; + noc: interconnect@32700000 { + compatible = "fsl,imx8mm-noc", "fsl,imx8m-noc"; + reg = <0x32700000 0x100000>; + clocks = <&clk IMX8MM_CLK_NOC>; + fsl,ddrc = <&ddrc>; + #interconnect-cells = <1>; + operating-points-v2 = <&noc_opp_table>; + + noc_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-150M { + opp-hz = /bits/ 64 <150000000>; + }; + opp-375M { + opp-hz = /bits/ 64 <375000000>; + }; + opp-750M { + opp-hz = /bits/ 64 <750000000>; + }; + }; + }; + aips4: bus@32c00000 { compatible = "fsl,aips-bus", "simple-bus"; reg = <0x32c00000 0x400000>; diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 9385dd7..cd38aae 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include "imx8mn-pinfunc.h" @@ -764,6 +765,29 @@ }; + noc: interconnect@32700000 { + compatible = "fsl,imx8mn-noc", "fsl,imx8m-noc"; + reg = <0x32700000 0x100000>; + clocks = <&clk IMX8MN_CLK_NOC>; + fsl,ddrc = <&ddrc>; + #interconnect-cells = <1>; + operating-points-v2 = <&noc_opp_table>; + + noc_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-100M { + opp-hz = /bits/ 64 <100000000>; + }; + opp-600M { + opp-hz = /bits/ 64 <600000000>; + }; + opp-800M { + opp-hz = /bits/ 64 <800000000>; + }; + }; + }; + aips4: bus@32c00000 { compatible = "fsl,aips-bus", "simple-bus"; reg = <0x32c00000 0x400000>; diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index f70435c..d585650 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -11,6 +11,7 @@ #include "dt-bindings/input/input.h" #include #include +#include #include "imx8mq-pinfunc.h" / { @@ -1045,6 +1046,29 @@ }; }; + noc: interconnect@32700000 { + compatible = "fsl,imx8mq-noc", "fsl,imx8m-noc"; + reg = <0x32700000 0x100000>; + clocks = <&clk IMX8MQ_CLK_NOC>; + fsl,ddrc = <&ddrc>; + #interconnect-cells = <1>; + operating-points-v2 = <&noc_opp_table>; + + noc_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-133M { + opp-hz = /bits/ 64 <133333333>; + }; + opp-400M { + opp-hz = /bits/ 64 <400000000>; + }; + opp-800M { + opp-hz = /bits/ 64 <800000000>; + }; + }; + }; + bus@32c00000 { /* AIPS4 */ compatible = "fsl,aips-bus", "simple-bus"; reg = <0x32c00000 0x400000>; -- 2.7.4