1 Broadcom AVS mail box and interrupt register bindings
2 =====================================================
4 A total of three DT nodes are required. One node (brcm,avs-cpu-data-mem)
5 references the mailbox register used to communicate with the AVS CPU[1]. The
6 second node (brcm,avs-cpu-l2-intr) is required to trigger an interrupt on
7 the AVS CPU. The interrupt tells the AVS CPU that it needs to process a
8 command sent to it by a driver. Interrupting the AVS CPU is mandatory for
9 commands to be processed.
11 The interface also requires a reference to the AVS host interrupt controller,
12 so a driver can react to interrupts generated by the AVS CPU whenever a command
13 has been processed. See [2] for more information on the brcm,l2-intc node.
15 [1] The AVS CPU is an independent co-processor that runs proprietary
16 firmware. On some SoCs, this firmware supports DFS and DVFS in addition to
17 Adaptive Voltage Scaling.
19 [2] Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.txt
22 Node brcm,avs-cpu-data-mem
23 --------------------------
26 - compatible: must include: brcm,avs-cpu-data-mem and
27 should include: one of brcm,bcm7271-avs-cpu-data-mem or
28 brcm,bcm7268-avs-cpu-data-mem
29 - reg: Specifies base physical address and size of the registers.
30 - interrupts: The interrupt that the AVS CPU will use to interrupt the host
31 when a command completed.
32 - interrupt-parent: The interrupt controller the above interrupt is routed
34 - interrupt-names: The name of the interrupt used to interrupt the host.
39 Node brcm,avs-cpu-l2-intr
40 -------------------------
43 - compatible: must include: brcm,avs-cpu-l2-intr and
44 should include: one of brcm,bcm7271-avs-cpu-l2-intr or
45 brcm,bcm7268-avs-cpu-l2-intr
46 - reg: Specifies base physical address and size of the registers.
55 avs_host_l2_intc: interrupt-controller@f04d1200 {
56 #interrupt-cells = <1>;
57 compatible = "brcm,l2-intc";
58 interrupt-parent = <&intc>;
59 reg = <0xf04d1200 0x48>;
61 interrupts = <0x0 0x19 0x0>;
62 interrupt-names = "avs";
65 avs-cpu-data-mem@f04c4000 {
66 compatible = "brcm,bcm7271-avs-cpu-data-mem",
67 "brcm,avs-cpu-data-mem";
68 reg = <0xf04c4000 0x60>;
70 interrupt-parent = <&avs_host_l2_intc>;
71 interrupt-names = "sw_intr";
74 avs-cpu-l2-intr@f04d1100 {
75 compatible = "brcm,bcm7271-avs-cpu-l2-intr",
76 "brcm,avs-cpu-l2-intr";
77 reg = <0xf04d1100 0x10>;