From patchwork Thu Dec 14 13:20:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13493043 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 8C045C4332F for ; Thu, 14 Dec 2023 13:20:44 +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: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:In-Reply-To:References: List-Owner; bh=nPLoM98BQ6E6/hqkLXYD9W9MpXUUiwtTsoY1+Wh+8cU=; b=WZYFduGB+urBCM UmHzipkmWcpYtyDVlloFfPmau2Xulw6VfksofKWBDd7pnP58ak6cAPfS5mzTYYv5OPm1nj+iwffjh 62UJA9plSnuaTtuc2PE3nf7ylvRowiGWDHD8rRHBBB/FFc921rYV0B6EFAwFzBj6LVrgx7Q84HAVL znqGsShbUaRG6mISjDzbCmiMeKsBABzlN2ETgc/5b9Wr2EgO85WQKiZdqB4GLLHABUDa+a0J5g7YT JdvP4VIMf35RKZAzJ+yk10l/d7LsAetb/m24TuVjC45Hpp/Sbaky6I+UXdJAu5lWZkkVE0P5n4w46 QdxJM4bylOBY2PAgc0Ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDldL-000MGl-1p; Thu, 14 Dec 2023 13:20:11 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDldI-000MF0-2y for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 13:20:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702560008; x=1734096008; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=YfHrxhhonBWfGnPfZ5m0iZ+Sa6IWk6Y+ewoIgz5dMG0=; b=H67nLB97bOc0GNOAhFKeFFECAsdEmJU08gbMd4e+/hLDVKjiUPKstoO+ ZWn/cnJ1E+as5+/zz2VZXtIp56n7uFr+FRB5aW3V3k95MJWEb9D3HBli1 QJ1koeUdlh93HfwoyVmQW5/q4xCK+X584tMSENAA7Hy06yssHPm3lOW6U IW+701kxOslxwlI24EK8KliTjhM4I+KAxv6eYGtON/aYP7Q6m3hPldFSd UURQM9twyBZD8YbhQj1uQHK7VO54WkcxcmYrOVmF2/wxlLL/lFSPWlC0w Fhp+i1WxZC9DKIiplFFMzFuxc6ujFYc1YkeRBlzCZrGQCsZ2coC00oVyA Q==; X-IronPort-AV: E=Sophos;i="6.04,275,1695679200"; d="scan'208";a="34509898" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 14 Dec 2023 14:20:04 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (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) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 00DCE280075; Thu, 14 Dec 2023 14:20:03 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] arm64: dts: imx8qxp: Add VPU subsystem file Date: Thu, 14 Dec 2023 14:20:00 +0100 Message-Id: <20231214132000.1927638-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231214_052009_335773_1AAF016D X-CRM114-Status: GOOD ( 13.74 ) 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 imx8qxp re-uses imx8qm VPU subsystem file, but it has different base addresses. Also imx8qxp has only two VPU cores, delete vpu_vore2 and mu2_m0 accordingly. Signed-off-by: Alexander Stein Reviewed-by: Fabio Estevam --- .../boot/dts/freescale/imx8qxp-ss-vpu.dtsi | 17 +++++++++++++++++ arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi new file mode 100644 index 0000000000000..7894a3ab26d6b --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +&vpu_core0 { + reg = <0x2d040000 0x10000>; +}; + +&vpu_core1 { + reg = <0x2d050000 0x10000>; +}; + +/delete-node/ &mu2_m0; +/delete-node/ &vpu_core2; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index f014d0a764ea4..958267b333403 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -48,7 +48,6 @@ aliases { serial3 = &lpuart3; vpu-core0 = &vpu_core0; vpu-core1 = &vpu_core1; - vpu-core2 = &vpu_core2; }; cpus { @@ -318,6 +317,7 @@ map0 { }; #include "imx8qxp-ss-img.dtsi" +#include "imx8qxp-ss-vpu.dtsi" #include "imx8qxp-ss-adma.dtsi" #include "imx8qxp-ss-conn.dtsi" #include "imx8qxp-ss-lsio.dtsi"