Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2263867pxb; Thu, 11 Feb 2021 08:12:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpyJRdvGikmLDQeG+2zQ5KsLDUYzh6AhCBnXe6hVr6LJ+I6pzgBd3QQsGxEuZoBzUYCNzv X-Received: by 2002:a17:907:2d09:: with SMTP id gs9mr8813072ejc.363.1613059972765; Thu, 11 Feb 2021 08:12:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613059972; cv=none; d=google.com; s=arc-20160816; b=JTGM4JIPV0JEaIEDz5Z5i2qn4YHU5yNc1UR+/L/7lQDsUP6R+QGFCV73Pgx4NanD7i hah60HY9JB2wqE/sIwI+wx6ZlnrKt5U+qF4w/dStwYhFgzvCLB0lax9+zUukMUjzuFoA KXedZeOyvVZ1SUgUyZug+Foue6mbboytYs+tS7DiUcaIsdW6pGCDrEeQxOXjgQc6tTCO blyBUi0swnZGNOGVYgEJI0P6AmppkX+W96+7WBkoKmg2RmtT26coc/cDmk61IHMbV4L1 5fy0Hz40wx0SZzHu9QXMtMekReLvOUuMf3kL4ijC44VFm6cJo6dQE4I93GLZbo+rtkRO Gzwg== 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=V6GFdB/+L/DZHe/sLaUq7G6+q6BNgR4hjKmXmpQtQlQ=; b=UPNGUvA9qdaipzXwtAfZ0M570IHU03Gn8EUtPh9lzMChXKvB+BNZYKueFqxXOskaeL jiRlk2IkBMCcpNspdFPIjxrqS0MGQVmU7+Evvr3GLSjmMzTNkOITo4GWpIyUpRD+Hpy/ Q90raBiaT1u1VVcv4kilEjG/5I3BU60/yjmgq8MvmyPl1ErWjSlouJKvNB0dsSa2Wjs2 x4Gntqt0YTBH9WzTAs/NCu63KYAgIaoF/MOFoHWPmECsN8XB7zodFUmS2sqYcKons2Ni xr6tojVQDj9/XgfaJKAFVGA89lNbeOakidDnCSZG3VVyLY7wa9P8vG1V/fQvCGFvnqIW mn8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=fqEfGOTq; 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 h20si3881543ejy.576.2021.02.11.08.12.27; Thu, 11 Feb 2021 08:12:52 -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=fqEfGOTq; 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 S230394AbhBKQLx (ORCPT + 99 others); Thu, 11 Feb 2021 11:11:53 -0500 Received: from mail-02.mail-europe.com ([51.89.119.103]:57824 "EHLO mail-02.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbhBKPEs (ORCPT ); Thu, 11 Feb 2021 10:04:48 -0500 Date: Thu, 11 Feb 2021 15:01:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1613055699; bh=V6GFdB/+L/DZHe/sLaUq7G6+q6BNgR4hjKmXmpQtQlQ=; h=Date:To:From:Cc:Reply-To:Subject:From; b=fqEfGOTqtGlLdgzNDk0tSUF/ZvbwzfUbqoPsR1f7AGTUodJTf5Fvz0iHxfn2v9Dki 5IcnAYHxntRZzP/LB9yEenADY/KIT4e026Yfu1JB2U0drgM/1vpkE6KywhVfKeeVVF GlZLVtwyDvdILD+yj+grEMg/qZWSHXz8BSe6Mfdo= 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] arm: dts: sun5i: Add GPU node Message-ID: <3SosG1rcYyn7x4mZWYK0uLKhbdlJxf3irBb7V2qGMqgH0Adv_RvNjn5lsEsx1lii5uKgurcC-lhfQ8r_AprSs9oSl02eYxZvQBqPy0qt3pw=@protonmail.com> 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 | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index c2b4fbf552a3..81203f19b6ce 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>; @@ -733,6 +754,27 @@ timer@1c60000 { =09=09=09clocks =3D <&ccu CLK_AHB_HSTIMER>; =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=09fe0: display-frontend@1e00000 { =09=09=09compatible =3D "allwinner,sun5i-a13-display-frontend"; =09=09=09reg =3D <0x01e00000 0x20000>; -- 2.30.0