arm64: dts: allwinner: a64: Add msgbox node
authorSamuel Holland <samuel@sholland.org>
Sun, 23 Feb 2020 04:08:52 +0000 (22:08 -0600)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 14 Apr 2020 07:21:27 +0000 (09:21 +0200)
The A64 SoC contains a message box that can be used to send messages and
interrupts back and forth between the ARM application CPUs and the ARISC
coprocessor. Add a device tree node for it.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 31143fe64d91ff38acd52348dbead36c94358d7c..8d10fe6d06b6e88b65a61a9ddb8a6b5c3b5011b7 100644 (file)
                        resets = <&ccu RST_BUS_CE>;
                };
 
+               msgbox: mailbox@1c17000 {
+                       compatible = "allwinner,sun50i-a64-msgbox",
+                                    "allwinner,sun6i-a31-msgbox";
+                       reg = <0x01c17000 0x1000>;
+                       clocks = <&ccu CLK_BUS_MSGBOX>;
+                       resets = <&ccu RST_BUS_MSGBOX>;
+                       interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
+                       #mbox-cells = <1>;
+               };
+
                usb_otg: usb@1c19000 {
                        compatible = "allwinner,sun8i-a33-musb";
                        reg = <0x01c19000 0x0400>;