From patchwork Thu Nov 8 18:39:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150573 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184419ljp; Thu, 8 Nov 2018 10:41:14 -0800 (PST) X-Google-Smtp-Source: AJdET5foI+6j7SvYnKbsFmeoCeJMntuWsTZSdbD+WpPpqS3n6QS6S1oScAwnlDEov4IsXpIXPOtS X-Received: by 2002:a62:507:: with SMTP id 7-v6mr5698580pff.80.1541702474337; Thu, 08 Nov 2018 10:41:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702474; cv=none; d=google.com; s=arc-20160816; b=V2y2wUihGJneWjZYP7j4+yaE3iOjr5IAuuay3IKfzleMvAbPOOZFYc9LZQSZ0v24dr radexPtI+qTP2wBkndtsjakfGb2XaM7U910geIVhW2BZ1ZBKUbCHxyXmSipNW4V7Vtn0 FhIm9PHe/IcOJKN87DKcS5zp3IWCtMuoe73QnHajdQDfVn0o3WUentDJo0/cs++3hGNk pbPVl68X7OdO0w4/E+Lq7CwmPMxits66Zb/JJYwhedLTK03OFtEbQ1n1k1k5YGXdEXaK TAi6+7nKRphbmUyXDQupJsEbUFPn8rWMbrMfAWKzx9cmjQpUTU7G3qyqNQ+RcvzsqqH+ La3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=dBZh1Fy3b7e9kyJC0GfwlgdeE/vQi5KVgHO/Tc2bStw=; b=wLQIxlog6jItYQpyLH0CpUVfsUQhnGFZ/s6KqgP25cr//x6khrY+B6WnmtTCnrhZzp kPay1CCEYjM/FP1El3uuQLEHKwPnEHCDxLAO7WaEUDFORXbgHtGdZP/+yB4UcfDvkgtZ xglawq6LJRi/f1mJJN3Akt3RRt+kxPYAaakvb2KudVqIDqD1TlwEXsK971HPrHR5GiSu UuNHArN5Vq69/Ssgp7eJp1SMB6SV72uj7TBl0uFhMy2GF9jBXXpD3TWU6RAx6H6j+G2L c4T7TvRxdKSqo2rlk4VaGkpa85BAIE1xq1xKIe6iHqN5B4ND5/3ZZmZ1T0zD5poVebXM Bhjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GcQk1L46; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2-v6si5455711pla.223.2018.11.08.10.41.13; Thu, 08 Nov 2018 10:41:14 -0800 (PST) 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=@kernel.org header.s=default header.b=GcQk1L46; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727781AbeKIER7 (ORCPT + 32 others); Thu, 8 Nov 2018 23:17:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:59874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIER6 (ORCPT ); Thu, 8 Nov 2018 23:17:58 -0500 Received: from localhost.localdomain (unknown [171.76.98.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5CB1920684; Thu, 8 Nov 2018 18:41:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702471; bh=j02WZI3ikVXnVLlObiEjwEHtq082QKo839BSlKlwFLs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GcQk1L462Q01fk+MgaQjpVsc3DXyXLpVIPQhP25jCEiZtQ4U4WxWmbz0Z7aZcD6pq MmBtYfyvYqv6l0Ydp0CUopiDnek8mdSipBlBR3CJoITmrPLqGD3gWwyYNXwLUxMeGo 0dQKHsi1MdKtpfqej9rtqJhP7Z50QdLfpM2PnV+s= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v4 04/18] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes Date: Fri, 9 Nov 2018 00:09:55 +0530 Message-Id: <20181108184009.18430-5-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Andersson Add RPM GLINK node and the RPM message ram, hwspinlock, APCS apps global and smem nodes it depends on. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 58aa1f989089..e21b4a549e75 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -114,12 +114,45 @@ }; }; + rpm-glink { + compatible = "qcom,glink-rpm"; + + interrupts = ; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + mboxes = <&apcs_glb 0>; + + rpm_requests: glink-channel { + compatible = "qcom,rpm-qcs404"; + qcom,glink-channels = "rpm_requests"; + }; + }; + + smem { + compatible = "qcom,smem"; + + memory-region = <&smem_region>; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + + hwlocks = <&tcsr_mutex 3>; + }; + + tcsr_mutex: hwlock { + compatible = "qcom,tcsr-mutex"; + syscon = <&tcsr_mutex_regs 0 0x1000>; + #hwlock-cells = <1>; + }; + soc: soc@0 { #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; + rpm_msg_ram: memory@60000 { + compatible = "qcom,rpm-msg-ram"; + reg = <0x00060000 0x6000>; + }; + gcc: clock-controller@1800000 { compatible = "qcom,gcc-qcs404"; reg = <0x01800000 0x80000>; @@ -129,6 +162,11 @@ assigned-clock-rates = <19200000>; }; + tcsr_mutex_regs: syscon@1905000 { + compatible = "syscon"; + reg = <0x01905000 0x20000>; + }; + blsp1_uart2: serial@78b1000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x078b1000 0x200>; @@ -146,6 +184,12 @@ <0x0b002000 0x1000>; }; + apcs_glb: mailbox@b011000 { + compatible = "qcom,qcs404-apcs-apps-global", "syscon"; + reg = <0x0b011000 0x1000>; + #mbox-cells = <1>; + }; + timer@b120000 { #address-cells = <1>; #size-cells = <1>;