From patchwork Thu Jun 13 15:13:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 166680 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp884485ilk; Thu, 13 Jun 2019 08:13:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJbZkpWNWHdwh2wy7ji8xop7Dd+/QP/IrxhF7idHut6UnxsyjVwSUFLgP84U4wsk6Vci9M X-Received: by 2002:aa7:8157:: with SMTP id d23mr93781360pfn.92.1560438830102; Thu, 13 Jun 2019 08:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560438830; cv=none; d=google.com; s=arc-20160816; b=0JqEQu/Gh5a6Pz8PsShWEpLz0Lu0FnohXtfThKN/5hlh9tAHYVTjstju6/Zc6WckDp ONFeWMnr6w9YcxCM3EQ+7tS6FW6GVCDhpm+YRONOj3MuQFle3dBZGHOxPdV8jAqos2Lz Dt/g+RzA2wxonaa7ZnyhgT94LPMVLiMYFcaxuqGdPEy0bW0wb/1oFhQh9TLG8bkD6LlZ 4X+NkmX6IkNUMHOTJfdQ4ROPcDheLsr7XzCAeZT9s+sjSE9RgkpqYmoW275/Kl0Hgzrj /BBZMgIHQkd1DOcH9lj0ekcY8qZM/X0ZE5Q01xOR5BQv4/aCUVGRFA54ha01lVCg8Q1p c19w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3sc3DlT2aHgDUBPzbdNbG/lF95Cth+rPWMq4ZM26quY=; b=N6Gets00QLLUDZMlWQD9qEBBRSyvYl0XY3e35QkI4ofsjrqKPKfbgWOql8uYtoqyWW t2c5cUyD32covZrmq/f6ZAqFPiTXSM1h7d7yLq4pGShWbYc8OJKEdVtqvgzZ7EMCWkL6 Bt/fGdSUWBkVP/0uJmxdIOTa+VPDnwcyAmSfVFZMHz3F4OfTWlLPQzKA0mO64p0TrfxN omLth0nJKBesz3jT0/FC7VzqGGbladR73K/m0ojl0JFDX1tVpG5nL4bhG8Y1zb8tCK5L HK8DfTSaEzJOtU8ijcQv/I3nmYYK9ugXyWWDF1JXLzsCJDIVfG2x+da6VscbIlpyoSrv 5UFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eEpipQxF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si3573269pfr.229.2019.06.13.08.13.49; Thu, 13 Jun 2019 08:13:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eEpipQxF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388387AbfFMPNs (ORCPT + 25 others); Thu, 13 Jun 2019 11:13:48 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39275 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388326AbfFMPNh (ORCPT ); Thu, 13 Jun 2019 11:13:37 -0400 Received: by mail-lj1-f196.google.com with SMTP id v18so18904832ljh.6 for ; Thu, 13 Jun 2019 08:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3sc3DlT2aHgDUBPzbdNbG/lF95Cth+rPWMq4ZM26quY=; b=eEpipQxFUi5JXVuC+9r5W5Dtcce8K9zV/fB94gGq3bd6eQw119DSEiWZNKIRc9Ggbg 9YkACR96hRoi/t4EMMWKn59rKmzvTqlvEGtS/hoKOX4346Z8QFShpMQOGKLF15Qym6vi RFbjxmk+c7eGQa9IcwTKduCmZe3IZ0+aZ+Y0ucR3sVrEoZFQEHBsVHN0wSo34QRnnFJz XPar90/oJgWgoN3g3Bspp5lDSu3Sojz64UcSqw+lp8UtjB7cgP2b/Su4IlxjwHfzCDGz S4ndeRvLm8bl9KXUvsw6o/S0aqWezgDQzusmXWAbrmR6lWHEQzLMayKxfh/zMR2HyjuP +EtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3sc3DlT2aHgDUBPzbdNbG/lF95Cth+rPWMq4ZM26quY=; b=X00Vl/Lx26KH89JrlvQv/tUOh3qZ6WHzLIZB3UsMSBnKckEmv1azrsLsuYnMS6/I3I irwfaluyByL3OMW2yYEOGdUagBAd+wDnzulLZuGDSf36g19pDxH3K/4ewcbS0Zm4MeRo 0d4pE1LlBwv/m/ntW4NJes63WdorRpnfltb52LFJ2KMqZ77Vzed0E5N3mEycQnBH4+5O oc/xAkzXka6Y237vOBBS65z4dxCWMGuEC6DyERXT/tW+EpnrWcbQx6e8cAMddk2bwTbb rRe6Tf+1Z0EfnVoHpVbsrVP66+G1gedXg2ZjVgEGRMPGP0AE0n+TpJau3VXy43qopDUr w6mQ== X-Gm-Message-State: APjAAAW+b7uFWXkf7CbSnNLNtQBzgn+GMLYe5GViSUhIn9UCMRXp1r3p lQoe0Ig1KEKI96i1zi4A/LlceA== X-Received: by 2002:a2e:5b5b:: with SMTP id p88mr38323127ljb.192.1560438815349; Thu, 13 Jun 2019 08:13:35 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id k4sm42923ljj.41.2019.06.13.08.13.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Jun 2019 08:13:34 -0700 (PDT) From: Georgi Djakov To: robh+dt@kernel.org, bjorn.andersson@linaro.org, agross@kernel.org, georgi.djakov@linaro.org Cc: vkoul@kernel.org, evgreen@chromium.org, daidavid1@codeaurora.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v4 5/5] arm64: dts: qcs404: Add interconnect provider DT nodes Date: Thu, 13 Jun 2019 18:13:23 +0300 Message-Id: <20190613151323.10850-6-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190613151323.10850-1-georgi.djakov@linaro.org> References: <20190613151323.10850-1-georgi.djakov@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the DT nodes for the network-on-chip interconnect buses found on qcs404-based platforms. Reviewed-by: Bjorn Andersson Signed-off-by: Georgi Djakov --- v4: - Insert the NoC DT nodes after rng@ to keep the nodes sorted by address. - Pick Bjorn's r-b. v3: - Update according to the new binding: add reg property and moved under the "soc" node. arch/arm64/boot/dts/qcom/qcs404.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index ffedf9640af7..da1dbf515bd9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2018, Linaro Limited +#include #include #include #include @@ -266,6 +267,33 @@ clock-names = "core"; }; + bimc: interconnect@400000 { + reg = <0x00400000 0x80000>; + compatible = "qcom,qcs404-bimc"; + #interconnect-cells = <1>; + clock-names = "bus_clk", "bus_a_clk"; + clocks = <&rpmcc RPM_SMD_BIMC_CLK>, + <&rpmcc RPM_SMD_BIMC_A_CLK>; + }; + + pcnoc: interconnect@500000 { + reg = <0x00500000 0x15080>; + compatible = "qcom,qcs404-pcnoc"; + #interconnect-cells = <1>; + clock-names = "bus_clk", "bus_a_clk"; + clocks = <&rpmcc RPM_SMD_PNOC_CLK>, + <&rpmcc RPM_SMD_PNOC_A_CLK>; + }; + + snoc: interconnect@580000 { + reg = <0x00580000 0x23080>; + compatible = "qcom,qcs404-snoc"; + #interconnect-cells = <1>; + clock-names = "bus_clk", "bus_a_clk"; + clocks = <&rpmcc RPM_SMD_SNOC_CLK>, + <&rpmcc RPM_SMD_SNOC_A_CLK>; + }; + tlmm: pinctrl@1000000 { compatible = "qcom,qcs404-pinctrl"; reg = <0x01000000 0x200000>,