From patchwork Sun Oct 13 08:08:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Masney X-Patchwork-Id: 11187301 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9952C1575 for ; Sun, 13 Oct 2019 08:08:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7AAE52168B for ; Sun, 13 Oct 2019 08:08:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=onstation.org header.i=@onstation.org header.b="RaTOnR2M" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728912AbfJMIIm (ORCPT ); Sun, 13 Oct 2019 04:08:42 -0400 Received: from onstation.org ([52.200.56.107]:42528 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728884AbfJMIIN (ORCPT ); Sun, 13 Oct 2019 04:08:13 -0400 Received: from localhost.localdomain (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 747043F240; Sun, 13 Oct 2019 08:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1570954092; bh=fCQk30Py/+ejOB6T/yjmxeEYet6RNMz5CEDRqHL14uA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RaTOnR2MHLKR4hz0Hx233RsKRmnj3c0LgYy396DYdXYd3lQ0C5UqzRZL57sNF8kGd bi5sVXsJSybb7PGAXe67D2r77PSoEbOx93IanjQtt2Pkjigc45puQKbXAE1izFfNDO 5O67WD0Gm1giWRsYyy+La7ldTMGl84v+Y2GX+2gU= From: Brian Masney To: agross@kernel.org, bjorn.andersson@linaro.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/5] ARM: dts: qcom: msm8974: add ocmem node Date: Sun, 13 Oct 2019 04:08:03 -0400 Message-Id: <20191013080804.10231-5-masneyb@onstation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191013080804.10231-1-masneyb@onstation.org> References: <20191013080804.10231-1-masneyb@onstation.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 ocmem node that is needed in order to support the GPU upstream. Signed-off-by: Brian Masney --- arch/arm/boot/dts/qcom-msm8974.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 39a3a1d63889..bdbde5125a56 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1087,6 +1087,25 @@ }; }; + ocmem@fdd00000 { + compatible = "qcom,msm8974-ocmem"; + reg = <0xfdd00000 0x2000>, + <0xfec00000 0x180000>; + reg-names = "ctrl", + "mem"; + clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>, + <&mmcc OCMEMCX_OCMEMNOC_CLK>; + clock-names = "core", + "iface"; + + #address-cells = <1>; + #size-cells = <1>; + + gmu_sram: gmu-sram@0 { + reg = <0x0 0x100000>; + }; + }; + mdss: mdss@fd900000 { status = "disabled";