From patchwork Sun Nov 11 12:18:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 10677595 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E566E13AD for ; Sun, 11 Nov 2018 12:18:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C78422A011 for ; Sun, 11 Nov 2018 12:18:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B5A932A017; Sun, 11 Nov 2018 12:18:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B4A102A011 for ; Sun, 11 Nov 2018 12:18:47 +0000 (UTC) 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: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:In-Reply-To:References: List-Owner; bh=Huz1+5lCCMvAWmoaNfKF8Y0IT7L/uMvlJUdjgFWJn6s=; b=Apy5n7yJhvg4xi BMU/U+VYIRLl4YlqJ5aui/fv78Y59H1S72addlF5PQuWFDfUDBddQI+l3oUxmqnJg4hTin1EM+poq 7WiHcHixg9VJi1iBlfs4uFg1qEr/w/iOp9G4NFXzeMPAWMkyUGvEo5qWFxRwZ7srJ3OYCH3zcWHIi FUwgumt0wPov41T2jJ4asaURw4bBSHXEpE6HJAwqrLoAex49kfc16mY57k1SuL3NctLX47TvICaAs iQUTtGkDGyEwXJWzv2eJ0gdAcoO9hicPFS5rinGntpfSxn0904RSXGcz/41vtQwadvBdxlvtryG69 JTQRx4EkrC8WmGL4tBUg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLohO-0001Hq-7a; Sun, 11 Nov 2018 12:18:42 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLohM-0001He-Tg for linux-arm-kernel@bombadil.infradead.org; Sun, 11 Nov 2018 12:18:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zqlT/xC6Gy37daJkFMZ5bpXqsx95Pc1hHjSViWjaecw=; b=ia46+b7xZlAQv71KeNzISdjLxC 8ONZbGAMgvFzaSsb1LOL2W8+iXKNhHjLhDjDZEBMU7l962Z2UKb+86vdf7AQ/XfS6aO2BGPKSteXF oUi8QOShuUHRr2uFxSyIZ0zVekxh9XrnVeneVqPE0+hW3tRalHlyMLPovA4msmA00YsY2Y+de67jY GU4OO9ukxirEl8JzPp6gRkqoQovZjrbsOrwj7hl43K+g0LtXQ/Xagd5XywGTs0GlaQh2ZjCVWQY0m sNWmJsouC0VsIM4psdCy4pw2tvxDcH/1Eudki3B6qoGwMyLLIZVNxlWEgK7jgBbjmgTatlnn4T9NF NZPPhaEA==; Received: from mailoutvs27.siol.net ([185.57.226.218] helo=mail.siol.net) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLohJ-0006AL-Ef for linux-arm-kernel@lists.infradead.org; Sun, 11 Nov 2018 12:18:39 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id B76B752026D; Sun, 11 Nov 2018 13:18:22 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta10.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta10.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id byEwMxiGIHTq; Sun, 11 Nov 2018 13:18:22 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 644C4520E6C; Sun, 11 Nov 2018 13:18:22 +0100 (CET) Received: from localhost.localdomain (89-212-178-211.dynamic.t-2.net [89.212.178.211]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id 022E952026D; Sun, 11 Nov 2018 13:18:18 +0100 (CET) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH] arm64: dts: allwinner: a64: Add mali node Date: Sun, 11 Nov 2018 13:18:11 +0100 Message-Id: <20181111121811.21638-1-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181111_121837_526132_56627FC4 X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, jernej.skrabec@siol.net, linux-kernel@vger.kernel.org, robh+dt@kernel.org, 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 X-Virus-Scanned: ClamAV using ClamSMTP A64 has Mali400 MP2 GPU. Add a node for it. Signed-off-by: Jernej Skrabec --- This node and A64 GPU binary driver was tested with Kodi on LibreELEC. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index f3a66f888205..48cc5451d0eb 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -753,6 +753,28 @@ #size-cells = <0>; }; + mali: gpu@1c40000 { + compatible = "allwinner,sun50i-a64-mali", + "arm,mali-400"; + reg = <0x01c40000 0x10000>; + interrupts = , + , + , + , + , + , + ; + interrupt-names = "gp", + "gpmmu", + "pp0", + "ppmmu0", + "pp1", + "ppmmu1", + "pmu"; + clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; + clock-names = "bus", "core"; + resets = <&ccu RST_BUS_GPU>; + }; spi0: spi@1c68000 { compatible = "allwinner,sun8i-h3-spi";