Skip to content

Commit d4b5c78

Browse files
lkundrakJassiBrar
authored andcommitted
dt/bindings: Add binding for the BCM2835 mailbox driver
This patch was split out of Lubomir's original mailbox patch by Eric Anholt, and the required properties documentation and examples have been filled out more completely and updated for the driver being changed to expose a single channel. Signed-off-by: Lubomir Rintel <[email protected]> Signed-off-by: Craig McGeachie <[email protected]> Signed-off-by: Eric Anholt <[email protected]> Acked-by: Lee Jones <[email protected]> Acked-by: Stephen Warren <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent 2d805fc commit d4b5c78

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Broadcom BCM2835 VideoCore mailbox IPC
2+
3+
Required properties:
4+
5+
- compatible: Should be "brcm,bcm2835-mbox"
6+
- reg: Specifies base physical address and size of the registers
7+
- interrupts: The interrupt number
8+
See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt
9+
- #mbox-cells: Specifies the number of cells needed to encode a mailbox
10+
channel. The value shall be 0, since there is only one
11+
mailbox channel implemented by the device.
12+
13+
Example:
14+
15+
mailbox: mailbox@7e00b800 {
16+
compatible = "brcm,bcm2835-mbox";
17+
reg = <0x7e00b880 0x40>;
18+
interrupts = <0 1>;
19+
#mbox-cells = <0>;
20+
};
21+
22+
firmware: firmware {
23+
compatible = "raspberrypi,firmware";
24+
mboxes = <&mailbox>;
25+
#power-domain-cells = <1>;
26+
};

0 commit comments

Comments
 (0)