]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: exynos: gs101: add AP to APM mailbox node
authorTudor Ambarus <tudor.ambarus@linaro.org>
Fri, 7 Feb 2025 15:56:44 +0000 (15:56 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 16 Feb 2025 10:52:49 +0000 (11:52 +0100)
GS101 has 14 mailbox controllers. Add the AP to APM mailbox node.

Mailbox controllers have a shared register that can be used for passing
the mailbox messages. The AP to APM mailbox controller is used just as a
doorbell mechanism. It raises interrupt to the firmware after the mailbox
message has been written to SRAM where the TX/RX rings are defined.

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20250207-gs101-acpm-dt-v4-2-230ba8663a2d@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/google/gs101.dtsi

index ef21358e7bcf82df8b9b0b492ff876828af5414c..09252c4e6da45cec1b615881bef9b16123e54bac 100644 (file)
                        };
                };
 
+               ap2apm_mailbox: mailbox@17610000 {
+                       compatible = "google,gs101-mbox";
+                       reg = <0x17610000 0x1000>;
+                       clocks = <&cmu_apm CLK_GOUT_APM_MAILBOX_APM_AP_PCLK>;
+                       clock-names = "pclk";
+                       interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH 0>;
+                       #mbox-cells = <0>;
+               };
+
                pinctrl_gsactrl: pinctrl@17940000 {
                        compatible = "google,gs101-pinctrl";
                        reg = <0x17940000 0x00001000>;