Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp539099imu; Fri, 9 Nov 2018 01:48:55 -0800 (PST) X-Google-Smtp-Source: AJdET5dWr5kLH6V1xa/vgo2FMfBRF46jbUT5MAjgGD8Egn391ogGChO8xUtpS7AkyeiIb3OFbJ9B X-Received: by 2002:a17:902:f208:: with SMTP id gn8mr4064903plb.6.1541756935902; Fri, 09 Nov 2018 01:48:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756935; cv=none; d=google.com; s=arc-20160816; b=kfFnut2fUJjs9ue/DYOH7MDyYYxhshLycDVvOPw0wAsqb0xugaLcKsgvs5tnpIFz2F 4/Wtbnh74FIOlP6Z+HZxtfCw29rxtrp4nADbgeLVUX5aEQTBp5aj1sYLjseSOzSutXs5 AKg6Gv0XLgBa53I13WOhYhGr1fjE4T0RhQ5ZCjL+W7gw3e+RtNrm+kmzU7GcqMOJ1v1z w6q5G2CqaEqUEWHnCaeShpLDXnpdVSm8IAdRayaLFHq1YIaTOaI1XuiC+8GM658CpIVx YwfRthTe6YAA1B381nUWZOxK4EChcZ4AUEebTU6V14dEcT8CruQrjYrqvE8Ud7E9o9Ux 4g/g== 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=egKm3UPL3sApsx5MP8xujp0Nvpq1tc/2nH6mvYstmwo=; b=WqXUpHP/WTYx/blEzG94MrhEzpB6/hYpYHi+62MCcQ+Cv2B3GAtRhIF6HbyfqCPHcv 13JLiIqcoiM/C4whzAhOHw+nJ7SnGpkAqvTGsvJGu0Rksw6wm99jBQjTKESfMZJNlwda QF+appAwcHRSSfIInYvnSKNUQnpWsX82e3R/cuxj+pfMNA39iR7DZdsy61riwyeG6OCe PLqlFVrZkmLEtSHZGjIDRzvzlGr8hmoDk4X7jXrDTDfQF6utv3dk9S9wETWOtqND+EK8 Piy8McRfEPiJzOBXJbdOeVsbQK6xapOyFqp1sIczDlCld3/LD24GWrTbw4agDXvEEFBM q1LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=svwt050l; 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 g11-v6si6042397pgu.301.2018.11.09.01.48.40; Fri, 09 Nov 2018 01:48:55 -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=svwt050l; 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 S1728061AbeKITYw (ORCPT + 99 others); Fri, 9 Nov 2018 14:24:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:53412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYv (ORCPT ); Fri, 9 Nov 2018 14:24:51 -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 01FA6208E3; Fri, 9 Nov 2018 09:45:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756704; bh=Zd8PV7kk+UNbU2udL9bffX4RclBdeswcwmlojPfvOOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=svwt050lLbX659yUjjNirr7t6+Lg7sXr7txFz5OFf46j3cI2qzVYRymlVzA/WdMLx d2DyDDzU64TmSNf2IbccWGJqq9cL5C75TgaQVn9YA++ayzHjT5XBfAxfdGndjP78yq B5+6yFiX3nOB1uqdY3VHqKXDCQTsyRq8GWV8oSjY= From: Vinod Koul To: Andy Gross Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v5 04/18] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes Date: Fri, 9 Nov 2018 15:14:03 +0530 Message-Id: <20181109094417.12109-5-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-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(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index d40f3923ed69..6bc0925acda9 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>; -- 2.14.4