From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 681C4C433DB for ; Thu, 7 Jan 2021 11:03:04 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 E0C2922CA0 for ; Thu, 7 Jan 2021 11:03:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0C2922CA0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=fanamoel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=uftDJe/P2m6Prx4jiNCkbVmTIwR1eZIYAbF5YbcuAUU=; b=SJ7fQ71wIGv9EFYu3Px2XhzKvi PnpMUeaB1uU+W+5/LaaN/OiGQopyIJOJWg8swJVFy/hHQizYzx+oG0OtPFBtuqCjfyA3tFXXl8DQ3 wZ4pUoGB69eB4qA3VxHkFqVYY+6kB2yIoKFR1yYS37TqMWmfih6Mc6LGpnsjVW3saCTp5LwNUGUlu eqkzCHD/AwAnbe4K+BqWx1iAYFzzqnJbjKs6ye1IA12NJPJyEVh+kKK612VAJ93p4OfV4lOo0fpc4 BwEQWIz4tfqtkX7/+AFDInRdcM9m3uD/wLoCZ5ZIPDgtFnwbP96F0ITg9FRrVarTb4lCKPNJWJTHQ IaUVlHtg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxT2R-0007mN-Od; Thu, 07 Jan 2021 11:01:07 +0000 Received: from server.20disenoweb.com ([185.195.98.159]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxT2P-0007lr-3l for linux-arm-kernel@lists.infradead.org; Thu, 07 Jan 2021 11:01:06 +0000 Received: from localhost (localhost [127.0.0.1]) by server.20disenoweb.com (Postfix) with ESMTP id 013B9F6F; Thu, 7 Jan 2021 12:01:04 +0100 (CET) X-Virus-Scanned: amavisd-new at server.20disenoweb.com Received: from server.20disenoweb.com ([127.0.0.1]) by localhost (server.20disenoweb.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AL4KJhjOHyIg; Thu, 7 Jan 2021 12:01:02 +0100 (CET) Received: from localhost.localdomain (105.red-95-125-237.dynamicip.rima-tde.net [95.125.237.105]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sergiosota@fanamoel.com) by server.20disenoweb.com (Postfix) with ESMTPSA id C3092F61; Thu, 7 Jan 2021 12:00:45 +0100 (CET) From: Sergio Sota To: robh+dt@kernel.org Subject: [PATCH] ARM: dts: sun5i: add A10s/A13 mali gpu support fallback Date: Thu, 7 Jan 2021 12:00:35 +0100 Message-Id: <20210107110035.2815260-1-sergiosota@fanamoel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210107_060105_303741_A66CB0A6 X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, jernej.skrabec@siol.net, linux-kernel@vger.kernel.org, mripard@kernel.org, wens@csie.org, Sergio Sota , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The A10s/A13 mali gpu was not defined in device tree Add A10 mali gpu as a fallback for A10s/A13 Tested with Olimex-A13-SOM / Olimex-A13-OlinuXino-MICRO "kmscube" 3d cube on screen (60fps / 10%cpu) Signed-off-by: Sergio Sota --- arch/arm/boot/dts/sun5i.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index 4ef14a8695ef..b4d46ecdf7ad 100644 --- a/arch/arm/boot/dts/sun5i.dtsi +++ b/arch/arm/boot/dts/sun5i.dtsi @@ -726,6 +726,18 @@ i2c2: i2c@1c2b400 { #size-cells = <0>; }; + mali: gpu@1c40000 { + compatible = "allwinner,sun4i-a10-mali", "arm,mali-400"; + reg = <0x01c40000 0x10000>; + interrupts = <69>, <70>, <71>, <72>, <73>; + interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "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 = <320000000>; + }; + timer@1c60000 { compatible = "allwinner,sun5i-a13-hstimer"; reg = <0x01c60000 0x1000>; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel