From patchwork Thu Feb 15 13:46:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 10221277 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AD3306055C for ; Thu, 15 Feb 2018 13:47:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C559262FF for ; Thu, 15 Feb 2018 13:47:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D3B126E35; Thu, 15 Feb 2018 13:47:27 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 1534D262FF for ; Thu, 15 Feb 2018 13:47:27 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=KuAS4u2XAVbyRMitP5BR4OV4moox9aeBXJQic67OLP4=; b=MVG 1CkpjD3DvOIZZG+GgZUN9Kq8dPnSHnQfYMRm8EOMH8T53iTbc25CD3HnR5b9nMa4z0ahCnonXaLV4 0v1tgP4KYAwB9Vf21YP3s32jnr3MSshNJSB9Pln/8u0YQBw/JEx8DAAE0P8xgiNl4GkL7mGd3/MEf ZYNveXSeBp9vJReE1vnHbj/rn0yk2sGnPUv9Ognue4y7SMITKiOELG2IOjNkjrcV+y6fUcFs8kXL6 L+EpXQ25EQFIxg6pUxlOMFpbhUH759X/QRXnin8AC/Nbf87R+Zp+LRYO1Kxlo+36jN+S9bBpHrr5u 9sWC5BiqBBgphPZOSCl7HgQ2DLY4uYA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1emJsV-0008TU-05; Thu, 15 Feb 2018 13:47:11 +0000 Received: from mail.micronovasrl.com ([212.103.203.10]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1emJsQ-0008M2-Es for linux-arm-kernel@lists.infradead.org; Thu, 15 Feb 2018 13:47:07 +0000 Received: from mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) by mail.micronovasrl.com (Postfix) with ESMTP id ECA29B00D76 for ; Thu, 15 Feb 2018 14:46:50 +0100 (CET) Authentication-Results: mail.micronovasrl.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=micronovasrl.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=micronovasrl.com; h=x-mailer:message-id:date:date:subject:subject:to:from:from; s=dkim; t=1518702410; x=1519566411; bh=+36MiSzhtrhvN6kHjk+lWTCL tnNbenqODGvHfBTWcZA=; b=S+g0SjsbN5QSxXPjrB0X8oinmC32gsqQjzsTeY5x 9BI9/+QDkkNJkv6nYZMnZmABaDcOh+peI764SNSBmUOyk8lbGHp1umpkRhNUGj8a CS6pdJnpLuznVvt3gUCFIHqI02gLSuNV+9sYC/xv4O3VGST4W5dVlObSpYKW8iGc 47s= X-Virus-Scanned: Debian amavisd-new at mail.micronovasrl.com Received: from mail.micronovasrl.com ([127.0.0.1]) by mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ivi7BiZcN6cV for ; Thu, 15 Feb 2018 14:46:50 +0100 (CET) Received: from localhost.localdomain (62-11-51-166.dialup.tiscali.it [62.11.51.166]) by mail.micronovasrl.com (Postfix) with ESMTPSA id 04FAFB0011E; Thu, 15 Feb 2018 14:46:49 +0100 (CET) From: Giulio Benetti To: Maxime Ripard Subject: [PATCH] ARM: sun7i: dt: Add Mali node Date: Thu, 15 Feb 2018 14:46:02 +0100 Message-Id: <1518702362-115625-1-git-send-email-giulio.benetti@micronovasrl.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180215_054706_721162_452AE163 X-CRM114-Status: UNSURE ( 8.37 ) 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: Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Giulio Benetti MIME-Version: 1.0 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 The A20 has an ARM Mali 400 GPU, so add binding to our DT. Signed-off-by: Giulio Benetti --- arch/arm/boot/dts/sun7i-a20.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index c4ed153d..1524ccb 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -1225,6 +1225,31 @@ #size-cells = <0>; }; + mali: gpu@1c40000 { + compatible = "allwinner,sun7i-a20-mali", "arm,mali-400"; + reg = <0x01c40000 0x10000>; + interrupts = , + , + , + , + , + , + ; + interrupt-names = "gp", + "gpmmu", + "pp0", + "ppmmu0", + "pp1", + "ppmmu1", + "pmu"; + clocks = <&ccu CLK_AHB_GPU>, <&ccu CLK_GPU>; + clock-names = "bus", "core"; + resets = <&ccu RST_GPU>; + + assigned-clocks = <&ccu CLK_GPU>; + assigned-clock-rates = <384000000>; + }; + gmac: ethernet@1c50000 { compatible = "allwinner,sun7i-a20-gmac"; reg = <0x01c50000 0x10000>;