Thread (10 messages) read the whole thread 10 messages, 5 authors, 2016-03-17

[PATCH v1 3/3] ARM64: dts: rk3368: Add mailbox device nodes

From: Caesar Wang <hidden>
Date: 2016-03-11 04:30:20
Also in: linux-devicetree, linux-rockchip, lkml

? 2015?10?27? 15:31, Caesar Wang ??:
quoted hunk ↗ jump to hunk
This adds mailbox device nodes in dts.

Mailbox is used by the Rockchip CPU cores to communicate
requests to MCU processor.

Signed-off-by: Caesar Wang <redacted>
---

Changes in v1:
- PATCH[3/3] dts:
- fix "processormZ"--> "processor",the miss-fingerboard.
- Remove the shared memory in mailbox controller dtsi.

  arch/arm64/boot/dts/rockchip/rk3368.dtsi | 12 ++++++++++++
  1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
index cc093a4..cefdad3 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
@@ -484,6 +484,18 @@
  		status = "disabled";
  	};
  
+	mbox: mbox at ff6b0000 {
+		compatible = "rockchip,rk3368-mailbox";
+		reg = <0x0 0xff6b0000 0x0 0x1000>,
s/,/;
+		interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru PCLK_MAILBOX>;
+		clock-names = "pclk_mailbox";
+		#mbox-cells = <1>;
+	};
+
  	pmugrf: syscon at ff738000 {
  		compatible = "rockchip,rk3368-pmugrf", "syscon";
  		reg = <0x0 0xff738000 0x0 0x1000>;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help