ARM: dts: msm: Device Tree for SMEM-MAILBOX
New device tree entry for smem mailbox DLKM. Change-Id: I01592cd0cd4e0b2a9a6b618c9d9beb42baf8dbc0 Signed-off-by: Tyler Wear <quic_twear@quicinc.com>
This commit is contained in:
1
Kbuild
1
Kbuild
@@ -1,5 +1,6 @@
|
|||||||
ifeq ($(CONFIG_ARCH_SUN),y)
|
ifeq ($(CONFIG_ARCH_SUN),y)
|
||||||
dtbo-y += sun-ipa.dtbo
|
dtbo-y += sun-ipa.dtbo
|
||||||
|
dtbo-y += smem-mailbox.dtbo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_KALAMA),y)
|
ifeq ($(CONFIG_ARCH_KALAMA),y)
|
||||||
|
21
smem-mailbox.dts
Normal file
21
smem-mailbox.dts
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
#include <dt-bindings/soc/qcom,ipcc.h>
|
||||||
|
#include <dt-bindings/interconnect/qcom,pineapple.h>
|
||||||
|
#include <dt-bindings/clock/qcom,gcc-pineapple.h>
|
||||||
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||||
|
#include "smem-mailbox.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun SOC";
|
||||||
|
compatible = "qcom,sun";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <0 0>;
|
||||||
|
};
|
22
smem-mailbox.dtsi
Normal file
22
smem-mailbox.dtsi
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
smem_mailbox {
|
||||||
|
compatible = "qcom,smem_mailbox";
|
||||||
|
|
||||||
|
qcom,smem-states = <&smp2p_smem_mailbox_1_out 0>;
|
||||||
|
qcom,smem-state-names = "smem-mailbox-smp2p-out";
|
||||||
|
|
||||||
|
interrupts-extended = <&smp2p_smem_mailbox_1_in 0 0>,
|
||||||
|
<&smp2p_smem_mailbox_1_in 1 0>,
|
||||||
|
<&smp2p_smem_mailbox_1_in 2 0>,
|
||||||
|
<&smp2p_smem_mailbox_1_in 3 0>;
|
||||||
|
interrupt-names = "smem-mailbox-smp2p-1-in",
|
||||||
|
"smem-mailbox-smp2p-2-in",
|
||||||
|
"smem-mailbox-smp2p-3-in",
|
||||||
|
"smem-mailbox-smp2p-4-in";
|
||||||
|
};
|
||||||
|
};
|
Reference in New Issue
Block a user