From patchwork Sun Feb 13 22:56:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 12744731 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9621FC433EF for ; Sun, 13 Feb 2022 23:04:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OhsoQJGdHBo5CsKq8by/sU3K9QQd0PO3HHuhOtwVPy0=; b=zFCMOtGcnE74Pr QlR5TzdllhNtOm3J6mfWfknzCl896SEC7Frf4VzBYokON9citPtkNMe+RIaTax6RnonNDErpLZDBp LW6vNbCYm6KmEPpaph+GDjvRNempgfjlAuPWPMDNcbEPA/Q19Zqo74cPFxzzyKQk0gjwj73ApIeMg 8a1tdFVyXhC4QkKFxbY8obEmn/A5HoQ0pMm+wQ9/qC7zp4l4SiqqHiu8wIq7Yk2VuujHiE0a/qAt6 S+eQoqZ5b5XjUsJbd2SGafDslWTiCVk9dFJfeJPFqsdP/7sWE2uxVWmsqeTaDOeIy8RU2eX6ARjeR ay11zxlFZf/WPwTMMYhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJNtc-00CkRK-BK; Sun, 13 Feb 2022 23:03:10 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJNos-00CiAq-AM; Sun, 13 Feb 2022 22:58:15 +0000 Received: by mail-ej1-x629.google.com with SMTP id h8so7395489ejy.4; Sun, 13 Feb 2022 14:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ivZTnCer36jidFVyFQSe8jli8F6HVOlgrV0ncoMunP4=; b=BXiB0JZopaxdoC1803g5A+DWZq7uajcMVcVYnOWpUaOMo3zm5i8Hyj9hjtpBxzbj8S RgdypbHdhIs5j/9qSKoxpaEmFglkt0vkBZgg+YO3FwM2EexqempXPMf2aE5dBfYHMg8o 2oqau8hyn1LycZuBazvFgFbyrWkjZntCSEQ9Il68joSCy8K3fS81kvIjKxLNI8qR3mji fs5xp3SXCN4m/HnTjQymcznUSkNifdlwNRVIGWD9F+NJHM3qQW+moTqiJtmcqWqk8eAg d1yCN3V+FGbcdvp21GzndVWmXxcw5vjDhDKBR7I1asevS7oRm3ZwjfB0GcuSQntUV19M CmwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ivZTnCer36jidFVyFQSe8jli8F6HVOlgrV0ncoMunP4=; b=XUep9FDUAEM7iDCvONwgJNjShAoCAusQ2qAthJ75HsfeMuscbmOHsWMf3nCoE52iln G9eIMnMTxwZNNYKcB7oKw6mpd8a9gIKrkj0red9xdlHWz6snVn2/Et9wbOWK9jAUzfiv Z4xHJDDtw1iH5aRCeAm/LqwEaEk3yREb5YnLvD0jOx5WKu7fAUqvYyM8XQIInUqJ1HiR PTEtQ38R2ScOBPudxu31kgZRZrOcSrfgwCLtboU2bHJN/riM3VEgVjUyRHTcX2u3ydZ7 28fJwAZo2fEFyBRPQwdEorHub0Ah995QlZefQmXxFASXoaiavqJtOGmMJnLm+9tMoTWg 26EA== X-Gm-Message-State: AOAM531YDcOSG0Z063KRi3qkjqlTyFmoqGCAfdvtUECfvvNrPbOONvAh 8lGDvrWcpQQLaCp9Aoxry4g= X-Google-Smtp-Source: ABdhPJy1zgJHXR0xG+NxoKA/QqJCpy7K517B38I8JXVyJ+Vaa6qE0TSCVoiJKHHg4//tdK7D5GOW5g== X-Received: by 2002:a17:907:6298:: with SMTP id nd24mr9051878ejc.76.1644793093157; Sun, 13 Feb 2022 14:58:13 -0800 (PST) Received: from morpheus.home.roving-it.com (3.e.2.0.0.0.0.0.0.0.0.0.0.0.0.0.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681::2e3]) by smtp.googlemail.com with ESMTPSA id g14sm3189163edb.55.2022.02.13.14.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Feb 2022 14:58:12 -0800 (PST) From: Peter Robinson To: Nicolas Saenz Julienne , Rob Herring , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Lee Jones , Emma Anholt , David Airlie , Daniel Vetter , Russell King , Arnd Bergmann , Catalin Marinas , Will Deacon Cc: Peter Robinson , Nicolas Saenz Julienne Subject: [PATCH v4 13/15] ARM: dts: bcm2711: Enable V3D Date: Sun, 13 Feb 2022 22:56:45 +0000 Message-Id: <20220213225646.67761-14-pbrobinson@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220213225646.67761-1-pbrobinson@gmail.com> References: <20220213225646.67761-1-pbrobinson@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220213_145814_403941_6362D7E1 X-CRM114-Status: GOOD ( 10.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This enables V3D for bcm2711 (used in the Raspberry Pi 4). Signed-off-by: Nicolas Saenz Julienne Signed-off-by: Peter Robinson --- Changes since v3: - Minor updates for rebase Changes since v1: - Correct node's name address arch/arm/boot/dts/bcm2711.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi index 171fc5d2acef..9514c0ba481c 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -551,6 +551,18 @@ genet_mdio: mdio@e14 { #size-cells = <0x0>; }; }; + + v3d: gpu@7ec00000 { + compatible = "brcm,bcm2711-v3d"; + reg = <0x0 0x7ec00000 0x4000>, + <0x0 0x7ec04000 0x4000>; + reg-names = "hub", "core0"; + + power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>; + resets = <&pm BCM2835_RESET_V3D>; + clocks = <&firmware_clocks 5>; + interrupts = ; + }; }; };