From mboxrd@z Thu Jan 1 00:00:00 1970 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 962C9D3C92F for ; Mon, 21 Oct 2024 03:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Pk4wtwi5gon8tDwXcWXIEkO5i3S6GR/L2MzMD+xWLUc=; b=eIU1a/awJ9n6Vxc2JmiqjnfO+S VHpY2TV0nH/R2MclDH0BxpjxRae4JDoeGErvnV2Q71WvAo9QmRNt9rnUT38WmCRIp1EJZAKWVOSIu eo9k2IvQMZ/l2e0B7BjGB+m+fQcGNy7c3kTF1MZF7ylsG9TAZV6lFJszlYHCqI1t3NnuK1SCLNFUr 15EKXJZYyZ7SuwoZlIicYHIKms9cOFCZHwpi/H0NF8owTo9bH+0JvI2ltmAFeRwkdoq5ghDiYgSxP Pw2hSppwkHokpt3Z5HvCBEbtTXWXMOUUq3gUnW+xPZP2NL0WNRsehx2fMwJ/ElqezVcHytROoVDYj /jONroww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2iqW-00000005wO2-2TC3; Mon, 21 Oct 2024 03:12:40 +0000 Received: from mail-m16.yeah.net ([220.197.32.19]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2ikX-00000005vjp-2JkU for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 03:06:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yeah.net; s=s110527; h=Date:From:Subject:Message-ID:MIME-Version: Content-Type; bh=Pk4wtwi5gon8tDwXcWXIEkO5i3S6GR/L2MzMD+xWLUc=; b=cZTB1RRgY59WMnL4/+gFJ5uS4mUnqrneIhVc7aYz3t8W/eFFf9B2Km5UqjIXMj GVGz7uG7/p9emYJqCBrI6hLrP3/6EULueofXzUQYBmbhmD60UmbpvqtbQsI/lkFj NczyHyN+pVAsN2rJ+86Z0qZ++V8RadCOO8qoZYrBNqQmo= Received: from dragon (unknown []) by gzsmtp3 (Coremail) with SMTP id M88vCgC33c8gxRVni8x9AA--.4490S3; Mon, 21 Oct 2024 11:06:10 +0800 (CST) Date: Mon, 21 Oct 2024 11:06:08 +0800 From: Shawn Guo To: Frank Li Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , open list Subject: Re: [PATCH 6/6] arm64: dts: imx8qxp-mek: add cm4 and related nodes Message-ID: References: <20240930212604.118756-1-Frank.Li@nxp.com> <20240930212604.118756-6-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240930212604.118756-6-Frank.Li@nxp.com> X-CM-TRANSID: M88vCgC33c8gxRVni8x9AA--.4490S3 X-Coremail-Antispam: 1Uf129KBjvJXoW7KF1fJr1kAr1xtryrJFyrJFb_yoW8Kw1Upr yvkayrWFWIkF17G3s8XF1DCr15JanYkFWv9r9rCrWjkrZFyrnxt3WfGw1fur4UXr4UAwsF vFn2qFy0kwnrJ3DanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07j55rcUUUUU= X-Originating-IP: [117.62.23.175] X-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiERd-ZWcVuw0gAAABs5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_200629_938404_801E299F X-CRM114-Status: GOOD ( 12.79 ) 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 On Mon, Sep 30, 2024 at 05:26:03PM -0400, Frank Li wrote: > Add cm4 and related nodes. > > Signed-off-by: Frank Li > --- > arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 61 +++++++++++++++++++ > 1 file changed, 61 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts > index bbb94adfd64f0..83e8393a34a0c 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts > +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts > @@ -21,6 +21,21 @@ chosen { > stdout-path = &lpuart0; > }; > > + imx8x_cm4: imx8x_cm4 { Hyphen instead of underscore in node name. > + compatible = "fsl,imx8qxp-cm4"; > + mbox-names = "tx", "rx", "rxdb"; > + mboxes = <&lsio_mu5 0 1 > + &lsio_mu5 1 1 > + &lsio_mu5 3 1>; > + memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, > + <&vdev1vring0>, <&vdev1vring1>, <&rsc_table>; > + power-domains = <&pd IMX_SC_R_M4_0_PID0>, > + <&pd IMX_SC_R_M4_0_MU_1A>; > + fsl,entry-address = <0x34fe0000>; > + fsl,resource-id = ; > + status = "okay"; > + }; > + > memory@80000000 { > device_type = "memory"; > reg = <0x00000000 0x80000000 0 0x40000000>; > @@ -85,6 +100,48 @@ reg_usb_otg1_vbus: regulator-usbotg1-vbus { > enable-active-high; > }; > > + reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + vdev0vring0: memory@90000000 { > + reg = <0 0x90000000 0 0x8000>; > + no-map; > + }; > + > + vdev0vring1: memory@90008000 { > + reg = <0 0x90008000 0 0x8000>; > + no-map; > + }; > + > + vdev1vring0: memory@90010000 { > + reg = <0 0x90010000 0 0x8000>; > + no-map; > + }; > + > + vdev1vring1: memory@90018000 { > + reg = <0 0x90018000 0 0x8000>; > + no-map; > + }; > + > + rsc_table: memory@900ff000 { > + reg = <0 0x900ff000 0 0x1000>; > + no-map; > + }; > + > + vdevbuffer: memory@90400000 { > + compatible = "shared-dma-pool"; Use tabs instead of spaces for indent. > + reg = <0 0x90400000 0 0x100000>; > + no-map; > + }; > + > + gpu_reserved: gpu_reserved@880000000 { "memory" for node name? Shawn > + no-map; > + reg = <0x8 0x80000000 0 0x10000000>; > + }; > + }; > + > sound-bt-sco { > compatible = "simple-audio-card"; > simple-audio-card,bitclock-inversion; > @@ -407,6 +464,10 @@ &lpuart3 { > status = "okay"; > }; > > +&lsio_mu5 { > + status = "okay"; > +}; > + > &mu_m0 { > status = "okay"; > }; > -- > 2.34.1 >