aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Leach <mike.leach@linaro.org>2024-01-18 12:32:04 +0000
committerMike Leach <mike.leach@linaro.org>2024-01-25 16:38:19 +0000
commite75ff1cd4eefc4bdea000fca85552ae2552af409 (patch)
tree2b5e8c7db570ea3912fd207a30221deecf5c3863
parent5eadcd9543a26d57b59a60408d6ee0f00558aaae (diff)
dts: Add in base dtsi source includes
Adds the base .dtsi source include files with common SCP objects. Signed-off-by: Mike Leach <mike.leach@linaro.org>
-rw-r--r--dts/include/base.dtsi20
-rw-r--r--dts/include/scp-fwk.dtsi52
2 files changed, 72 insertions, 0 deletions
diff --git a/dts/include/base.dtsi b/dts/include/base.dtsi
new file mode 100644
index 000000000000..b409a2fd0530
--- /dev/null
+++ b/dts/include/base.dtsi
@@ -0,0 +1,20 @@
+/*
+ * Arm SCP/MCP Software
+ * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/* base level common device tree include */
+
+/* include the framework common bindings */
+#include "fwk_dt_bindings.h"
+
+
+/dts-v1/;
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ chosen { };
+ aliases { };
+};
diff --git a/dts/include/scp-fwk.dtsi b/dts/include/scp-fwk.dtsi
new file mode 100644
index 000000000000..db8c8f906230
--- /dev/null
+++ b/dts/include/scp-fwk.dtsi
@@ -0,0 +1,52 @@
+/*
+ * Arm SCP/MCP Software
+ * Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/* must be first include */
+#include "base.dtsi"
+
+/* generated #define bindings file */
+#include "fwk_dt_bindings.h"
+
+/* base .dtsi file of SCP FWK software configuration */
+
+/ {
+
+ scp-fwk {
+
+ /*
+ * Set of framework ID descriptions.
+ * modules can create ID instances by setting phandle array elements to one or
+ * more of these nodes.
+ */
+ module_id: fwk-id@0 {
+ compatible = "scp,mod-id";
+ #scp-id-cells = <1>;
+ };
+
+ elem_id: fwk-id@1 {
+ compatible = "scp,elem-id";
+ #scp-id-cells = <2>;
+ };
+
+ sub_elem_id: fwk-id@2 {
+ compatible = "scp,sub-elem-id";
+ #scp-id-cells = <3>;
+ };
+
+ api_id: fwk-id@3 {
+ compatible = "scp,api-id";
+ #scp-id-cells = <2>;
+ };
+
+ notify_id: fwk-id@4 {
+ compatible = "scp,notify-id";
+ #scp-id-cells = <2>;
+ };
+
+ };
+
+};