From patchwork Mon Jul 22 07:56:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxing Zhu X-Patchwork-Id: 13738506 X-Patchwork-Delegate: kw@linux.com Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39A6D1684A3; Mon, 22 Jul 2024 08:15:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721636117; cv=none; b=Qpbu63c5RhfRgDAw3bkCMBRUfI3+uI5/41oQfACyaXk4fNOAYgU5W9qyzwNY+GI+b8o1bG9SqZOtnS/VqAYisY25TBkPTm/bbQK1cq882yC9rO7yfYtvlvUuv4ZJ1E/33mutUnZo0a19vJsnE0EuhU8YmkDArZE37gZpEmkon+Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721636117; c=relaxed/simple; bh=jYmqzkJ7WoNP/Cm7uMKwPBoSGj3e40cL8GduYgXH++s=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=nzEsY1pV1FmKfZqPs2XTjQQHkZsDW+L51YWz4QFK0BfxAqNT1/j815m+MGeVOBvYr35c3d9fLSZpeFrruBakuc7b1cq6QgnlpBom2LrI4P1ZXk8Hrjrrwncv70YKiNDruHc13wCALawfYDUWHHU9W7QzkuJPmdi2Obsh3GsvEpQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2C8D81A1550; Mon, 22 Jul 2024 10:15:09 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E09671A1551; Mon, 22 Jul 2024 10:15:08 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 4D9F2183AD09; Mon, 22 Jul 2024 16:15:07 +0800 (+08) From: Richard Zhu To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, l.stach@pengutronix.de Cc: hongxing.zhu@nxp.com, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, imx@lists.linux.dev Subject: [PATCH v1 1/4] dt-bindings: imx6q-pcie: Add reg-name "dbi2" and "atu" for i.MX8M PCIe Endpoint Date: Mon, 22 Jul 2024 15:56:16 +0800 Message-Id: <1721634979-1726-2-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1721634979-1726-1-git-send-email-hongxing.zhu@nxp.com> References: <1721634979-1726-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Add reg-name: "dbi2", "atu" for i.MX8M PCIe Endpoint. Signed-off-by: Richard Zhu --- .../devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml index a06f75df8458..309e8953dc91 100644 --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml @@ -65,11 +65,13 @@ allOf: then: properties: reg: - minItems: 2 - maxItems: 2 + minItems: 4 + maxItems: 4 reg-names: items: - const: dbi + - const: dbi2 + - const: atu - const: addr_space - if: @@ -129,8 +131,11 @@ examples: pcie_ep: pcie-ep@33800000 { compatible = "fsl,imx8mp-pcie-ep"; - reg = <0x33800000 0x000400000>, <0x18000000 0x08000000>; - reg-names = "dbi", "addr_space"; + reg = <0x33800000 0x100000>, + <0x33900000 0x100000>, + <0x33b00000 0x100000>, + <0x18000000 0x8000000>; + reg-names = "dbi", "dbi2", "atu", "addr_space"; clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, <&clk IMX8MP_CLK_HSIO_AXI>, <&clk IMX8MP_CLK_PCIE_ROOT>; From patchwork Mon Jul 22 07:56:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxing Zhu X-Patchwork-Id: 13738507 X-Patchwork-Delegate: kw@linux.com Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1776616A938; Mon, 22 Jul 2024 08:15:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721636119; cv=none; b=LzEARyMDDg2/kNzzVIuH7oKApsnGQvKV5xMZD3zjv2aljcmvKYWluguwYWOK3Bm1401kJc8bxH+iCv80kx9qk9suXor0BrMD8DJ+ypHdr13MJKQnz5ZJKNgnRdm1914dJlO8EkIcIzPnUMrOs4BdtmK8a2vaA7IMvHApX3pVElQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721636119; c=relaxed/simple; bh=BRLJbVEXZJorCdDDQTkBVUxc0oE6nNb+WbBIWC9yixU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=FYGfpYLzMXbfZPfisbpU0+st7QZwXJTw7mXOqtHXzJAmGnD46rN0+pLPEFmUszoQNAoRc0t33m+TpZoES7LLgpkPRxK/8xYns9a09PP/OfoJmiaDKxZcI8OL78aVsHsl7wdKxCykF77bUXuCKhA2XJG+CJjKviweBh0UYCAcIMw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 5A3671A1542; Mon, 22 Jul 2024 10:15:10 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1B4741A0DD7; Mon, 22 Jul 2024 10:15:10 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 6FA63183ACAF; Mon, 22 Jul 2024 16:15:08 +0800 (+08) From: Richard Zhu To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, l.stach@pengutronix.de Cc: hongxing.zhu@nxp.com, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, imx@lists.linux.dev Subject: [PATCH v1 2/4] dts: arm64: imx8mq: Add dbi2 and atu reg for i.MX8MQ PCIe EP Date: Mon, 22 Jul 2024 15:56:17 +0800 Message-Id: <1721634979-1726-3-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1721634979-1726-1-git-send-email-hongxing.zhu@nxp.com> References: <1721634979-1726-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Add dbi2 and iatu reg for i.MX8MQ PCIe EP. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index e03186bbc415..4f0fe69ef601 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -1819,9 +1819,11 @@ pcie1: pcie@33c00000 { pcie1_ep: pcie-ep@33c00000 { compatible = "fsl,imx8mq-pcie-ep"; - reg = <0x33c00000 0x000400000>, - <0x20000000 0x08000000>; - reg-names = "dbi", "addr_space"; + reg = <0x33c00000 0x100000>, + <0x33d00000 0x100000>, + <0x33f00000 0x100000>, + <0x20000000 0x8000000>; + reg-names = "dbi", "dbi2", "atu", "addr_space"; num-lanes = <1>; interrupts = ; interrupt-names = "dma"; From patchwork Mon Jul 22 07:56:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxing Zhu X-Patchwork-Id: 13738508 X-Patchwork-Delegate: kw@linux.com Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE8CA16A956; Mon, 22 Jul 2024 08:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721636120; cv=none; b=s4RBF43EFIFnGBpX4LK3J00p/3WQ+anP54rpWiwDRGcCGR8iA0OR3AJ375f6rqBponLieKVw1dQK0ow3MAOqUCzM9C6iCPajQiYj3gtjO2CO30ePayQ9buMaKtYCIcY9r32JNKhe12klk5S12qYbmUMeXP9xZAmFHxfSeHwre2M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721636120; c=relaxed/simple; bh=ce6yhSwGyi+YlPw1Y9XLkYb1ijSqyofyg1GG/2pFfzU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=KH44SqbHHvtDhfhmn61h6IO8sRkSl7JzV0QBN07fAcp1EWvR5Y53aGvpA47aGoGw3Ww/LgnSqVbC0OdLCuRNCdDt7r8ZERjH3QMxTveqVLIGi9RkPh+85kRfY7rbZeODifUBH4gY/iCCXyfxIAxhBpWqn9UCFEHFgr0OxK283eA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 854191A194A; Mon, 22 Jul 2024 10:15:11 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4E4E21A0DDC; Mon, 22 Jul 2024 10:15:11 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 9E65A183AD09; Mon, 22 Jul 2024 16:15:09 +0800 (+08) From: Richard Zhu To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, l.stach@pengutronix.de Cc: hongxing.zhu@nxp.com, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, imx@lists.linux.dev Subject: [PATCH v1 3/4] dts: arm64: imx8mp: Add dbi2 and atu reg for i.MX8MP PCIe EP Date: Mon, 22 Jul 2024 15:56:18 +0800 Message-Id: <1721634979-1726-4-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1721634979-1726-1-git-send-email-hongxing.zhu@nxp.com> References: <1721634979-1726-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Add dbi2 and iatu reg for i.MX8MP PCIe EP. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 603dfe80216f..062bb4a107f2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -2125,8 +2125,11 @@ pcie: pcie@33800000 { pcie_ep: pcie-ep@33800000 { compatible = "fsl,imx8mp-pcie-ep"; - reg = <0x33800000 0x000400000>, <0x18000000 0x08000000>; - reg-names = "dbi", "addr_space"; + reg = <0x33800000 0x100000>, + <0x33900000 0x100000>, + <0x33b00000 0x100000>, + <0x18000000 0x8000000>; + reg-names = "dbi", "dbi2", "atu", "addr_space"; clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, <&clk IMX8MP_CLK_HSIO_AXI>, <&clk IMX8MP_CLK_PCIE_ROOT>; From patchwork Mon Jul 22 07:56:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxing Zhu X-Patchwork-Id: 13738509 X-Patchwork-Delegate: kw@linux.com Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31EBE16B3B5; Mon, 22 Jul 2024 08:15:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721636121; cv=none; b=ax7yth24jHZSIHJlDoWbHJO2ksJe/4n3ow81mNIyqp4T19cRhLQAuR19KpQgpOGWzIr6pL8u9MINP7PiB16oiQJDCMA/y6HhKwOL7CQbdjfbBNieisGcA1CTtahpAqhFIiHQ2FSedtZdPE2WkSqCo8QUB8kH/81PXHNp1oE5DQk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721636121; c=relaxed/simple; bh=ukiJjPLR/NrVfBw6h78irshZGt6fkuKfVSdr7iZ7tyc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=E36MOsKkmgEWYZG2WYEDJ/95gWXFtuGwPNld7fcRLEgPB1Ru+5Nn7tvBVYmknnlz7TgwJulhUqRRWct4uw8GdJGkkfiTYNR+aSQ6cPYxzWbMzX+FsuiKtL5Fdc3SYkSNBaKmZf9CrjE9PoTfjKpjcJIpbU3hlke3qFp7psR386I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D0CEA1A1976; Mon, 22 Jul 2024 10:15:12 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7BB701A193F; Mon, 22 Jul 2024 10:15:12 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id D1F7A180222B; Mon, 22 Jul 2024 16:15:10 +0800 (+08) From: Richard Zhu To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, l.stach@pengutronix.de Cc: hongxing.zhu@nxp.com, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, imx@lists.linux.dev Subject: [PATCH v1 4/4] dts: arm64: imx8mm: Add dbi2 and atu reg for i.MX8MM PCIe EP Date: Mon, 22 Jul 2024 15:56:19 +0800 Message-Id: <1721634979-1726-5-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1721634979-1726-1-git-send-email-hongxing.zhu@nxp.com> References: <1721634979-1726-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Add dbi2 and iatu reg for i.MX8MM PCIe EP. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 9535dedcef59..78462b591d29 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -1375,9 +1375,11 @@ pcie0: pcie@33800000 { pcie0_ep: pcie-ep@33800000 { compatible = "fsl,imx8mm-pcie-ep"; - reg = <0x33800000 0x400000>, + reg = <0x33800000 0x100000>, + <0x33900000 0x100000>, + <0x33b00000 0x100000>, <0x18000000 0x8000000>; - reg-names = "dbi", "addr_space"; + reg-names = "dbi", "dbi2", "atu", "addr_space"; num-lanes = <1>; interrupts = ; interrupt-names = "dma";