From patchwork Sun Dec 18 01:06:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13075961 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 51009C4332F for ; Sun, 18 Dec 2022 01:08:10 +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=j6pSmbJ/PL6C9fZbr9tKsuFndSjdRXIQGwxggK0dWcI=; b=DQvjRMVWfNncJr hE90JETw7tIQfrTB9oZ1nnfYKB3+45TgEZT7IXL4pWS12VAX/zK/s7ZW42cBjWNONYAUqi/iWLp3S CrA8i5/gJhMUH63Jayz/GEqVhaE5qzt2sWlw3C656/UujVwLLKUVQkj9IllPg6G71kW6YuKUqsaJ6 m0hlNFumftLH/AK4oVDdqHqxe0ZiLEJQWVAS2F/fPKSLHJFx7kLuFbXMnIw3SEv3uw7518JKe5/vm VgdKpCFp+X61wZuG+GVqFysN1NHH7e3fPvIJQD7E7yd6Z/E0pwjQuV2xyJq0x0GSDrodDG0XsQ41R lw80xLwsrb88EVdR155Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6i8a-00EHMY-0l; Sun, 18 Dec 2022 01:06:44 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6i8V-00EHKk-P2 for linux-arm-kernel@lists.infradead.org; Sun, 18 Dec 2022 01:06:41 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7426284C4B; Sun, 18 Dec 2022 02:06:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1671325595; bh=jD8f9WtU+NTgQhruVlDR73ijjGrmlRD9MRtIfwyvFtw=; h=From:To:Cc:Subject:Date:From; b=ps3akgTDnsgFosszKKJWhXKRZtG1gX5MMSlqIX6o7JknUEqyp57kJQdx3h1CLdBww fFFgqFKRvE+NnNrhPNnuTbQor71lopMeFAadjdTkIGUX4pWVvwVwG9FrRBELhRn9CV TReWKJcAYCCapOtiSW70cY5XKsAzcOQ1W0OZowm+b6qlQioqC9CtA6fgDgNzE9QVtz pBjszeY9MizNJgeYK5MHYcQSBTfX5u5Cw3NRS+9xgxYxgzXBKSSj3GoULttWz2C7s5 N8E3dJjrSWqYar3jiJGwKqCKSPyMeErzG7DwahTcya0C2XAzZhkHyztMXbjWfqIprs ZAo1iHoe+coiQ== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Abel Vesa , Adam Ford , Alexander Stein , Ezequiel Garcia , Fabio Estevam , Jacky Bai , Krzysztof Kozlowski , Laurent Pinchart , Lucas Stach , Markus Niebel , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Richard Cochran , Richard Zhu , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH] arm64: dts: imx8mp: Add Hantro G1, G2, VC8000E DT nodes Date: Sun, 18 Dec 2022 02:06:26 +0100 Message-Id: <20221218010626.197980-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221217_170640_218608_46C584C4 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. 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 Add DT nodes for the Hantro VPU found in i.MX8MP SoC. Signed-off-by: Marek Vasut --- Cc: Abel Vesa Cc: Adam Ford Cc: Alexander Stein Cc: Ezequiel Garcia Cc: Fabio Estevam Cc: Jacky Bai Cc: Krzysztof Kozlowski Cc: Laurent Pinchart Cc: Lucas Stach Cc: Marek Vasut Cc: Markus Niebel Cc: NXP Linux Team Cc: Peng Fan Cc: Pengutronix Kernel Team Cc: Richard Cochran Cc: Richard Zhu Cc: Rob Herring Cc: Sascha Hauer Cc: Shawn Guo To: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 34c2c80c47eb5..5040b3a545c32 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1639,6 +1639,39 @@ gpu2d: gpu@38008000 { power-domains = <&pgc_gpu2d>; }; + vpu_g1: video-codec@38300000 { + compatible = "nxp,imx8mm-vpu-g1"; + reg = <0x38300000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_VPU_G1_ROOT>; + assigned-clocks = <&clk IMX8MP_CLK_VPU_G1>; + assigned-clock-parents = <&clk IMX8MP_VPU_PLL_OUT>; + assigned-clock-rates = <700000000>; + power-domains = <&vpumix_blk_ctrl IMX8MP_VPUBLK_PD_G1>; + }; + + vpu_g2: video-codec@38310000 { + compatible = "nxp,imx8mq-vpu-g2"; + reg = <0x38310000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_VPU_G2_ROOT>; + assigned-clocks = <&clk IMX8MP_CLK_VPU_G2>; + assigned-clock-parents = <&clk IMX8MP_VPU_PLL_OUT>; + assigned-clock-rates = <700000000>; + power-domains = <&vpumix_blk_ctrl IMX8MP_VPUBLK_PD_G2>; + }; + + vpu_vc8000e: vpu_vc8000e@38320000 { + compatible = "nxp,imx8mp-vpu-vc8000e"; + reg = <0x38320000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; + assigned-clocks = <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; + assigned-clock-parents = <&clk IMX8MP_VPU_PLL_OUT>; + assigned-clock-rates = <700000000>; + power-domains = <&vpumix_blk_ctrl IMX8MP_VPUBLK_PD_VC8000E>; + }; + vpumix_blk_ctrl: blk-ctrl@38330000 { compatible = "fsl,imx8mp-vpu-blk-ctrl", "syscon"; reg = <0x38330000 0x100>; @@ -1650,6 +1683,9 @@ vpumix_blk_ctrl: blk-ctrl@38330000 { <&clk IMX8MP_CLK_VPU_G2_ROOT>, <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; clock-names = "g1", "g2", "vc8000e"; + assigned-clocks = <&clk IMX8MP_CLK_VPU_BUS>; + assigned-clock-parents = <&clk IMX8MP_VPU_PLL_OUT>; + assigned-clock-rates = <700000000>; interconnects = <&noc IMX8MP_ICM_VPU_G1 &noc IMX8MP_ICN_VIDEO>, <&noc IMX8MP_ICM_VPU_G2 &noc IMX8MP_ICN_VIDEO>, <&noc IMX8MP_ICM_VPU_H1 &noc IMX8MP_ICN_VIDEO>;