126 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/remoteproc/ti,k3-m4f-rproc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: TI K3 M4F processor subsystems8 9maintainers:10 - Hari Nagalla <hnagalla@ti.com>11 - Mathieu Poirier <mathieu.poirier@linaro.org>12 13description: |14 Some K3 family SoCs have Arm Cortex M4F cores. AM64x is a SoC in K315 family with a M4F core. Typically safety oriented applications may use16 the M4F core in isolation without an IPC. Where as some industrial and17 home automation applications, may use the M4F core as a remote processor18 with IPC communications.19 20$ref: /schemas/arm/keystone/ti,k3-sci-common.yaml#21 22properties:23 compatible:24 enum:25 - ti,am64-m4fss26 27 power-domains:28 maxItems: 129 30 "#address-cells":31 const: 232 33 "#size-cells":34 const: 235 36 reg:37 items:38 - description: IRAM internal memory region39 - description: DRAM internal memory region40 41 reg-names:42 items:43 - const: iram44 - const: dram45 46 resets:47 maxItems: 148 49 firmware-name:50 maxItems: 151 description: Name of firmware to load for the M4F core52 53 mboxes:54 description:55 OMAP Mailbox specifier denoting the sub-mailbox, to be used for56 communication with the remote processor. This property should match57 with the sub-mailbox node used in the firmware image.58 maxItems: 159 60 memory-region:61 description:62 phandle to the reserved memory nodes to be associated with the63 remoteproc device. Optional memory regions available for firmware64 specific purposes.65 (see reserved-memory/reserved-memory.yaml in dtschema project)66 maxItems: 867 items:68 - description: regions used for DMA allocations like vrings, vring buffers69 and memory dedicated to firmware's specific purposes.70 additionalItems: true71 72required:73 - compatible74 - reg75 - reg-names76 - ti,sci77 - ti,sci-dev-id78 - ti,sci-proc-ids79 - resets80 - firmware-name81 82unevaluatedProperties: false83 84examples:85 - |86 reserved-memory {87 #address-cells = <2>;88 #size-cells = <2>;89 90 mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {91 compatible = "shared-dma-pool";92 reg = <0x00 0x9cb00000 0x00 0x100000>;93 no-map;94 };95 96 mcu_m4fss_memory_region: m4f-memory@9cc00000 {97 compatible = "shared-dma-pool";98 reg = <0x00 0x9cc00000 0x00 0xe00000>;99 no-map;100 };101 };102 103 soc {104 #address-cells = <2>;105 #size-cells = <2>;106 107 mailbox0_cluster0: mailbox-0 {108 #mbox-cells = <1>;109 };110 111 remoteproc@5000000 {112 compatible = "ti,am64-m4fss";113 reg = <0x00 0x5000000 0x00 0x30000>,114 <0x00 0x5040000 0x00 0x10000>;115 reg-names = "iram", "dram";116 resets = <&k3_reset 9 1>;117 firmware-name = "am62-mcu-m4f0_0-fw";118 mboxes = <&mailbox0_cluster0>, <&mbox_m4_0>;119 memory-region = <&mcu_m4fss_dma_memory_region>,120 <&mcu_m4fss_memory_region>;121 ti,sci = <&dmsc>;122 ti,sci-dev-id = <9>;123 ti,sci-proc-ids = <0x18 0xff>;124 };125 };126