From patchwork Tue Jul 23 14:23:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 169543 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp8949381ilk; Tue, 23 Jul 2019 07:23:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxX63TFkhjmqW8aY3dXE8Hkx1a/dNwKqqyZhy1nxL8RqjYAQYnxa+pFvdkL+6QN67E/GsCT X-Received: by 2002:a63:3281:: with SMTP id y123mr75084413pgy.72.1563891835234; Tue, 23 Jul 2019 07:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563891835; cv=none; d=google.com; s=arc-20160816; b=m8h+uQL4y8l0wGrAKu8zJTD6EOq0f+6wPbMmRbxMJ8wcloH2+xG37m0LmXxHSbB5hW D8GlfIQ6oCz6S6Mkb2e2qlhAxVdVj31l7NLl0iZFykCDbuypIkWNd53lqRiQEXFGRLOg HfM3UAfWWt6hw4+A8SOt9NllrL0ZdiG8Bzwx/5DkC3kX8jnzbY16+K7dQA2faxQKdHUf 54Qmg0Z0qM6Ftgbze0Dr+U9vJHlwiwrKYjsobaFE4Gfy6uMAkqE0VWb2R1gONUpq02AM bETw6KV0JTXvAhgGDB6vXOAoP4GbauOPgHolWLnkl7ao9hSsdKbFjnFGpz2Zlba/WpHv ii6A== 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=kDpgs4kc8gBaUxp23KFk53vgDP4GMAmynScdrpg6lYE=; b=J+hbaT3MWqxwn/Y/+5VuRBu7ivAZNVukrNu57c22ulXDbDrz41aLSFO6qloiAEiqcN Yo20a2ItkqyabL5HNTLjD6go0kpa1rTW4SjGWCNimjy5rX5NH+iqm9vjBNaOq7SNCxZH tdpf/zmELNoALOHVy6A9z2L0h70BMQz4vXCY3wDia8z5vbS+XYzLDgy/dueTv4wAaMUW 8tPNp7W5HF7Cjyh7D3BZWgzzkDZpfYNUO8TWox6aUXH8ILHUjgofUqWm7VShWg8WGy1C of65RW+1GK8+RrZuJwauKUkeWWTqTzSER4fKjJlt/pnfQueQHS3WViztbPRca6X7iq/m JHcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CoY3Oay8; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 n1si6019711pgf.237.2019.07.23.07.23.54; Tue, 23 Jul 2019 07:23:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=CoY3Oay8; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S2388170AbfGWOXy (ORCPT + 15 others); Tue, 23 Jul 2019 10:23:54 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:33442 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388180AbfGWOXx (ORCPT ); Tue, 23 Jul 2019 10:23:53 -0400 Received: by mail-lj1-f194.google.com with SMTP id h10so41266560ljg.0 for ; Tue, 23 Jul 2019 07:23:52 -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=kDpgs4kc8gBaUxp23KFk53vgDP4GMAmynScdrpg6lYE=; b=CoY3Oay8ZaCT128Y2bWNSSbFb3uMpDJ2Bp+xjt/YohQLcrV1u1a9uTiTS8KLFEj/af VmUOL2DVKqYo7RNf+Tj8dczI6Cc4YE/QvJ/SSsHETvkytka/uzESl88ZPHDTVrxoTNkP sypRf5NseH5LR/CBenpH1ZFUI6f4zhX360l/ALdYVBsYRWm5EoXxYarbvdWJdbwKtuEU g3UME1eyhgfz+3zpk3jAiTUxYWAvZ/eIcNACpR5LzZgHeePtDm6wu9UAGs9KPbF60yrN HaAHXG49MBpfq8ewv/Gc0Hj32JQgNmbRyfHUUt7v1okUiHRxkRgpUsZ/OiV/XYIl0de8 7c/A== 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=kDpgs4kc8gBaUxp23KFk53vgDP4GMAmynScdrpg6lYE=; b=YBjJaUzWq8nkqm/hPs1xnUJvXLIdZiVdvVqyvSUZaG4nQ3nLH2B/oE8TBsoZy8y1/o Z18tngYlLu2q2ydPH3gnqWyRoiMFiEDb+Qo4Ys0EBu6AeLdYjvXj69mWmFfrhpTRJ1E5 VE7pb4W5XBEvOheQbJPB/8cgwcP/KejYZuG2ulZE9DM/1FQojIM1jW/S6nLsl8iYnJ2W /xuHX5WwxfZkY8VDrxEu3zdZ23U2IiGBXR+nOZNxkrvj0Bn5Cz4g6rz9Yr7EHQqZcbAd 6+5sNFpyAUYbldtc1C0+K0ECGk6tzZqq1CGRz6XuODIfqwwSnhohgWXyXKhrqP0StFmq Ot4A== X-Gm-Message-State: APjAAAVwd0isTcVlJKneQ7bCe/FgVdQ5l9r0S7yrGo9KVfh2Q7W4Y4+a oGg/fwiUFMVfEwF1ZiQJDyyIkg== X-Received: by 2002:a2e:9b81:: with SMTP id z1mr40094137lji.101.1563891832070; Tue, 23 Jul 2019 07:23:52 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id z17sm8048519ljc.37.2019.07.23.07.23.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Jul 2019 07:23:51 -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-arm-msm@vger.kernel.org Subject: [PATCH v5 5/5] arm64: dts: qcs404: Add interconnect provider DT nodes Date: Tue, 23 Jul 2019 17:23:39 +0300 Message-Id: <20190723142339.27772-6-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190723142339.27772-1-georgi.djakov@linaro.org> References: <20190723142339.27772-1-georgi.djakov@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 --- v5: - Rebased to v5.3-rc1 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 3d0789775009..8b9352347622 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 @@ -273,6 +274,15 @@ clock-names = "core"; }; + bimc: interconnect@400000 { + reg = <0x00400000 0x80000>; + compatible = "qcom,qcs404-bimc"; + #interconnect-cells = <1>; + clock-names = "bus", "bus_a"; + clocks = <&rpmcc RPM_SMD_BIMC_CLK>, + <&rpmcc RPM_SMD_BIMC_A_CLK>; + }; + tsens: thermal-sensor@4a9000 { compatible = "qcom,qcs404-tsens", "qcom,tsens-v1"; reg = <0x004a9000 0x1000>, /* TM */ @@ -283,6 +293,24 @@ #thermal-sensor-cells = <1>; }; + pcnoc: interconnect@500000 { + reg = <0x00500000 0x15080>; + compatible = "qcom,qcs404-pcnoc"; + #interconnect-cells = <1>; + clock-names = "bus", "bus_a"; + 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", "bus_a"; + clocks = <&rpmcc RPM_SMD_SNOC_CLK>, + <&rpmcc RPM_SMD_SNOC_A_CLK>; + }; + remoteproc_cdsp: remoteproc@b00000 { compatible = "qcom,qcs404-cdsp-pas"; reg = <0x00b00000 0x4040>;