[v2,4/4] arm64: dts: imx8qm: add smmu stream id information

Message ID 20240201-8qm_smmu-v2-4-3d12a80201a3@nxp.com
State New
Headers
Series Add 8qm SMMU information |

Commit Message

Frank Li Feb. 1, 2024, 8:22 p.m. UTC
  Add smmu stream id information for fec and esdhc.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
  

Comments

Shawn Guo Feb. 6, 2024, 10:53 a.m. UTC | #1
On Thu, Feb 01, 2024 at 03:22:44PM -0500, Frank Li wrote:
> Add smmu stream id information for fec and esdhc.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
> index ec1639174e2e5..3cbc861400b43 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
> @@ -6,20 +6,26 @@
>  
>  &fec1 {
>  	compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec";
> +	iommus = <&smmu 0x12 0x7f80>;
>  };
>  
>  &fec2 {
>  	compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec";
> +	iommus = <&smmu 0x12 0x7f80>;
>  };
>  
>  &usdhc1 {
>  	compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
> +	iommus = <&smmu 0x11 0x7f80>;
>  };
>  
>  &usdhc2 {
>  	compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
> +	iommus = <&smmu 0x11 0x7f80>;
>  };
>  
>  &usdhc3 {
>  	compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
> +	iommus = <&smmu 0x11 0x7f80>;
>  };
> +

Dropped this whitespace and applied.

Shawn

> 
> -- 
> 2.34.1
>
  

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
index ec1639174e2e5..3cbc861400b43 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
@@ -6,20 +6,26 @@ 
 
 &fec1 {
 	compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec";
+	iommus = <&smmu 0x12 0x7f80>;
 };
 
 &fec2 {
 	compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec";
+	iommus = <&smmu 0x12 0x7f80>;
 };
 
 &usdhc1 {
 	compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
+	iommus = <&smmu 0x11 0x7f80>;
 };
 
 &usdhc2 {
 	compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
+	iommus = <&smmu 0x11 0x7f80>;
 };
 
 &usdhc3 {
 	compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
+	iommus = <&smmu 0x11 0x7f80>;
 };
+