]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: imx8dxl-evk: add imx8dxl_cm4, lsio mu5, related memory region
authorFrank Li <Frank.Li@nxp.com>
Mon, 17 Jun 2024 18:47:07 +0000 (14:47 -0400)
committerShawn Guo <shawnguo@kernel.org>
Mon, 1 Jul 2024 14:21:06 +0000 (22:21 +0800)
Add imx8dxl_cm4, lsio mu5 and related memory region.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8dxl-evk.dts

index 4ac96a0586294394abbd25ceb52472602ab1ff90..1a74ac3ee4ee90355ebc328fd628c53d264aad30 100644 (file)
                stdout-path = &lpuart0;
        };
 
+       imx8dxl-cm4 {
+               compatible = "fsl,imx8qxp-cm4";
+               clocks = <&clk_dummy>;
+               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,resource-id = <IMX_SC_R_M4_0_PID0>;
+               fsl,entry-address = <0x34fe0000>;
+       };
+
+
        memory@80000000 {
                device_type = "memory";
                reg = <0x00000000 0x80000000 0 0x40000000>;
                        alloc-ranges = <0 0x98000000 0 0x14000000>;
                        linux,cma-default;
                };
+
+               vdev0vring0: memory0@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-rsc-table@900ff000 {
+                       reg = <0 0x900ff000 0 0x1000>;
+                       no-map;
+               };
+
+               vdevbuffer: memory-vdevbuffer@90400000 {
+                       compatible = "shared-dma-pool";
+                       reg = <0 0x90400000 0 0x100000>;
+                       no-map;
+               };
        };
 
        m2_uart1_sel: regulator-m2uart1sel {
        status = "okay";
 };
 
+&lsio_mu5 {
+       status = "okay";
+};
+
 &flexcan2 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_flexcan2>;