From patchwork Mon Nov 4 01:39:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 11224855 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 DA1F415AB for ; Mon, 4 Nov 2019 01:42:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AFDAB222CF for ; Mon, 4 Nov 2019 01:42:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EN9hJjRK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AFDAB222CF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=W8t47cRDZHXM/9gYTy3ufCxESjfxnrky7OEyN70TI20=; b=EN9hJjRKua50y0 Ze5O1EnwS7n9oFjtYxrv2QPXbaK+TIf8hL+WwMNWj0dGDWlY6ut9HUtlY5QuHU0ZAUHNyW5OVnbJW jzm4jdBfpYQws0Iq7rzgnolgy5DsDM9pHYx6syGGaMGD7olHneQsOJ5m/bhOmjEgF1v2BAS7l7NCL 4PmLtGw2MLUA+T1fxeGadQyfRnx9m3nPfhPFH58ENegNdWTfEtUhQhNyJuVMfrDfACTveW8PTifJU 4ldYuuW/UAKXUFCFW0gtLo9rhwPJFpKLX/bpiEgNTn1C6YkLhpgrUcLi7V/BVzDA50HEUjxFwnUcY 1VlFiTtuyDfEMIjV+24Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRRNi-00058Z-Ae; Mon, 04 Nov 2019 01:42:10 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRRM8-0003JI-87; Mon, 04 Nov 2019 01:40:34 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 56B4BB22E; Mon, 4 Nov 2019 01:40:27 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Subject: [RFC 5/7] ARM: dts: rtd1195: Add Mali node Date: Mon, 4 Nov 2019 02:39:30 +0100 Message-Id: <20191104013932.22505-6-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191103_174032_493033_B52A4204 X-CRM114-Status: GOOD ( 10.77 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , =?utf-8?q?A?= =?utf-8?q?ndreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add a DT node for the Mali GPU. Signed-off-by: Andreas Färber --- arch/arm/boot/dts/rtd1195.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index 774f95d544a3..ae8843782cfa 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -292,6 +292,25 @@ status = "disabled"; }; + /* TODO 0x18030000 0x10000 or 0x18003000 0x1000? */ + mali: gpu@18030000 { + compatible = "realtek,rtd1195-mali", "arm,mali-400"; + reg = <0x18030000 0x10000>; + /* TODO which bus clk to pass? */ + clocks = <&clkc RTD1195_CLK_EN_GPU>, <&osc27M>; + clock-names = "core", "bus"; + resets = <&reset1 RTD1195_RSTN_GPU>; + interrupts = , + , + , + , + , + ; + interrupt-names = "gp", "gpmmu", + "pp0", "ppmmu0", + "pp1", "ppmmu1"; + }; + gic: interrupt-controller@ff011000 { compatible = "arm,cortex-a7-gic"; reg = <0xff011000 0x1000>,