xref: /linux/Documentation/devicetree/bindings/remoteproc/ti,am3352-wkup-m3.yaml (revision fc710de0dd25ed50a087833b4171eb1a46737a9e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/remoteproc/ti,am3352-wkup-m3.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI AM33xx/AM43xx Wakeup M3 Remote Processor
8
9maintainers:
10  - Suman Anna <s-anna@ti.com>
11  - Bhargav Joshi <j.bhargav.u@gmail.com>
12
13description:
14  The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor
15  (commonly referred to as Wakeup M3 or CM3) to help with various low power
16  tasks that cannot be controlled from the MPU. This CM3 processor requires a
17  firmware binary to accomplish this. A wkup_m3 device node is used to
18  represent the Wakeup M3 processor instance within the SoC. It is added as a
19  child node of the parent interconnect bus (l4_wkup) through which it is
20  accessible to the MPU.
21
22properties:
23  compatible:
24    enum:
25      - ti,am3352-wkup-m3
26      - ti,am4372-wkup-m3
27
28  reg:
29    items:
30      - description: Address range for UMEM
31      - description: Address range for DMEM
32
33  reg-names:
34    items:
35      - const: umem
36      - const: dmem
37
38  ti,pm-firmware:
39    $ref: /schemas/types.yaml#/definitions/string
40    description:
41      Name of firmware file to be used for loading and booting the wkup_m3
42      remote processor.
43
44  resets:
45    maxItems: 1
46
47  reset-names:
48    items:
49      - const: rstctrl
50
51  ti,hwmods:
52    $ref: /schemas/types.yaml#/definitions/string
53    deprecated: true
54    description:
55      Name of the hwmod associated with the wkupm3 device.
56
57required:
58  - compatible
59  - reg
60  - reg-names
61  - ti,pm-firmware
62
63dependencies:
64  resets: [reset-names]
65  reset-names: [resets]
66
67additionalProperties: false
68
69examples:
70  - |
71    target-module@0 {
72        compatible = "ti,sysc-omap4", "ti,sysc";
73        reg = <0x0 0x4>;
74        reg-names = "rev";
75        #address-cells = <1>;
76        #size-cells = <1>;
77        ranges = <0x00000000 0x00000000 0x4000>,
78                 <0x00080000 0x00080000 0x2000>;
79
80        cpu@0 {
81            compatible = "ti,am3352-wkup-m3";
82            reg = <0x00000000 0x4000>,
83                  <0x00080000 0x2000>;
84            reg-names = "umem", "dmem";
85            resets = <&prm_wkup 3>;
86            reset-names = "rstctrl";
87            ti,pm-firmware = "am335x-pm-firmware.elf";
88        };
89    };
90