diff --git a/layers/meta-devdistro/recipes-kernel/linux/files/am62x_enable_m4f.dts b/layers/meta-devdistro/recipes-kernel/linux/files/am62x_enable_m4f.dts index b1576a3..3d6e5e9 100644 --- a/layers/meta-devdistro/recipes-kernel/linux/files/am62x_enable_m4f.dts +++ b/layers/meta-devdistro/recipes-kernel/linux/files/am62x_enable_m4f.dts @@ -5,8 +5,43 @@ compatible = "ti,am625-beagleplay", "ti,am625"; fragment@0 { + target-path = "/"; + __overlay__ { + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + + mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9cb00000 0x00 0x00100000>; + no-map; + }; + + mcu_m4fss_memory_region: m4f-memory@9cc00000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9cc00000 0x00 0x00e00000>; + no-map; + }; + }; + }; + }; + + fragment@1 { + target = <&mailbox0_cluster0>; + __overlay__ { + mbox_m4_0: mbox-m4-0 { + ti,mbox-rx = <0 0 0>; + ti,mbox-tx = <1 0 0>; + }; + }; + }; + + fragment@2 { target = <&mcu_m4fss>; __overlay__ { + mboxes = <&mailbox0_cluster0 &mbox_m4_0>; + memory-region = <&mcu_m4fss_dma_memory_region>, + <&mcu_m4fss_memory_region>; status = "okay"; }; };