Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2290281pxb; Thu, 11 Feb 2021 08:46:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDZi+dO9KANVFW4p8voSjavWpf+fTT/koI0yV2lr9tNzTqhHoPQjo8XUSxLj7WLFieQqdo X-Received: by 2002:a17:906:38c3:: with SMTP id r3mr9483442ejd.193.1613062002448; Thu, 11 Feb 2021 08:46:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613062002; cv=none; d=google.com; s=arc-20160816; b=WlxSn2DElnJmnc2qJOoEPw7ubE9gCy2RhwTq0RmC8vVGHA2fiCwcmc9O6zvn5DSoYV JRq4nY03+JVmCJ0oBjUBiD54cg3Gf5bU1b4Q+BeCmjS3MUpL22Cj/Rj2zWyNRE2PEyac b7QfvfU2u1jhD/PJk8dFzuWU6SY7YdYd2q4I1BYKHESC6C4MFiOe3Eu4lsD7tsY3pLwM TANlenipDuOh1ksAqF9UdYUZhxA+6U15HIXCRC1Bz5Ie/dN5pGyORHuuwC2plv0EQXN+ +ECW6ih9QFNfUhO+C4VQIhwmwMGPOsMun22VyGGDYAZheE+bym0cKuRG8gZ4B7utrz2D +TtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=9OryoUxmgqWAontORTfCdXDAEicngqdQmtwMbqTQWrI=; b=HUxh1Oa0JLbCoe0m9xH08tt7U9qO4hT3aeOfV6iEoW+qZ0IXzk4g8F+4Gv4w3OJmjv fGec3yjgQU5Hms5VvUkcXLr0K2nMGoplKtz/MiYURVlfc4C8TkRBeKK4zSEVRkcZVOv8 +e8keHoey8bQ3EUnuiFqfBkU1OL+7643sn/1XoO4T6BC8KPr5QjthnY0QZHWzxQUneC2 CRiOdnNyO1M2OR4BRzS8CfqCkaDg5FS0HmTOYjee3s8T5OvU0wFN14qFX0A9IhVF2L1j YbrzUk5o+hKtHxA3eo0R2y1Yo/Fkd45k/VT5mE/Cd7ChGRuL1vG52BfHr8uwgLZVelr3 DZiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=AYAscctu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si4475304eji.387.2021.02.11.08.46.18; Thu, 11 Feb 2021 08:46:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=AYAscctu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231866AbhBKQoh (ORCPT + 99 others); Thu, 11 Feb 2021 11:44:37 -0500 Received: from mail-02.mail-europe.com ([51.89.119.103]:58968 "EHLO mail-02.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230404AbhBKPfa (ORCPT ); Thu, 11 Feb 2021 10:35:30 -0500 Date: Thu, 11 Feb 2021 15:25:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1613057125; bh=9OryoUxmgqWAontORTfCdXDAEicngqdQmtwMbqTQWrI=; h=Date:To:From:Cc:Reply-To:Subject:From; b=AYAscctucsVgUolbpGWxfmiD5rfuNIZLvGRPlTBgQ1oqpVVC1lfn7x3tDKhAnkqlf 70k7p74TJBOCG6ESnGaGLX1F5e9jQ0kUUg81tiOJOALLM6p7pOqVYJtLsBsqeCgEV1 lYVjRYRKl3MC8sw65/ab1CsBibdpQAN80hHVWzQQ= To: "linux-arm-kernel@lists.infradead.org" From: Yassine Oudjana Cc: "robh+dt@kernel.org" , "mripard@kernel.org" , "wens@csie.org" , "jernej.skrabec@siol.net" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Reply-To: Yassine Oudjana Subject: [PATCH v2] arm: dts: sun5i: Add GPU node Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sun5i has the same Mali 400 GPU as sun4i with the same interrupts, clocks and resets. Add node for it in dts. Signed-off-by: Yassine Oudjana --- arch/arm/boot/dts/sun5i.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index c2b4fbf552a3..e21b4fe64cbe 100644 --- a/arch/arm/boot/dts/sun5i.dtsi +++ b/arch/arm/boot/dts/sun5i.dtsi @@ -726,6 +726,27 @@ i2c2: i2c@1c2b400 { =09=09=09#size-cells =3D <0>; =09=09}; +=09=09mali: gpu@1c40000 { +=09=09=09compatible =3D "allwinner,sun4i-a10-mali", "arm,mali-400"; +=09=09=09reg =3D <0x01c40000 0x10000>; +=09=09=09interrupts =3D <69>, +=09=09=09=09 <70>, +=09=09=09=09 <71>, +=09=09=09=09 <72>, +=09=09=09=09 <73>; +=09=09=09interrupt-names =3D "gp", +=09=09=09=09=09 "gpmmu", +=09=09=09=09=09 "pp0", +=09=09=09=09=09 "ppmmu0", +=09=09=09=09=09 "pmu"; +=09=09=09clocks =3D <&ccu CLK_AHB_GPU>, <&ccu CLK_GPU>; +=09=09=09clock-names =3D "bus", "core"; +=09=09=09resets =3D <&ccu RST_GPU>; + +=09=09=09assigned-clocks =3D <&ccu CLK_GPU>; +=09=09=09assigned-clock-rates =3D <384000000>; +=09=09}; + =09=09timer@1c60000 { =09=09=09compatible =3D "allwinner,sun5i-a13-hstimer"; =09=09=09reg =3D <0x01c60000 0x1000>; -- 2.30.0