Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4b5c782 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Jassi Brar
Browse files

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: default avatarLubomir Rintel <lkundrak@v3.sk>
Signed-off-by: default avatarCraig McGeachie <slapdau@yahoo.com.au>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 2d805fc1
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
Broadcom BCM2835 VideoCore mailbox IPC

Required properties:

- compatible:	Should be "brcm,bcm2835-mbox"
- reg:		Specifies base physical address and size of the registers
- interrupts:	The interrupt number
		  See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt
- #mbox-cells:	Specifies the number of cells needed to encode a mailbox
		  channel. The value shall be 0, since there is only one
		  mailbox channel implemented by the device.

Example:

mailbox: mailbox@7e00b800 {
	compatible = "brcm,bcm2835-mbox";
	reg = <0x7e00b880 0x40>;
	interrupts = <0 1>;
	#mbox-cells = <0>;
};

firmware: firmware {
	compatible = "raspberrypi,firmware";
	mboxes = <&mailbox>;
	#power-domain-cells = <1>;
};