aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoyan Karatotev <boyan.karatotev@arm.com>2024-04-19 13:59:11 +0100
committerLeo Yan <leo.yan@arm.com>2024-04-30 14:20:18 +0100
commitd42987c34a0cb6fcc8faefb2da91a8173bc9d46d (patch)
treea27d895f9a2359e9f8d8cb8ca68b390df1ad6701
parentc33a39367591e596adc5fdb21fe858544693cd8b (diff)
downloadtrusted-firmware-a-d42987c34a0cb6fcc8faefb2da91a8173bc9d46d.tar.gz
refactor(tc): move SCMI nodes into the 'firmware' node
As Linux 6.1 and later kernels require the SCMI nodes must be placed in a firmware node, this patch adds the 'firmware' node and puts SCMI nodes under it. Change-Id: I37855095b8b0e5051c5de6e8db30e43f6220f9de Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Signed-off-by: Leo Yan <leo.yan@arm.com>
-rw-r--r--fdts/tc-base.dtsi38
1 files changed, 20 insertions, 18 deletions
diff --git a/fdts/tc-base.dtsi b/fdts/tc-base.dtsi
index 568d5fd2a..e32d21521 100644
--- a/fdts/tc-base.dtsi
+++ b/fdts/tc-base.dtsi
@@ -303,29 +303,31 @@
interrupt-names = "mhu_tx";
};
- scmi {
- compatible = "arm,scmi";
- mbox-names = "tx", "rx";
- mboxes = <&mbox_db_tx 0 0 &mbox_db_rx 0 0 >;
- shmem = <&cpu_scp_scmi_mem &cpu_scp_scmi_mem>;
- #address-cells = <1>;
- #size-cells = <0>;
+ firmware {
+ scmi {
+ compatible = "arm,scmi";
+ mbox-names = "tx", "rx";
+ mboxes = <&mbox_db_tx 0 0 &mbox_db_rx 0 0 >;
+ shmem = <&cpu_scp_scmi_mem &cpu_scp_scmi_mem>;
+ #address-cells = <1>;
+ #size-cells = <0>;
#if TC_SCMI_PD_CTRL_EN
- scmi_devpd: protocol@11 {
- reg = <0x11>;
- #power-domain-cells = <1>;
- };
+ scmi_devpd: protocol@11 {
+ reg = <0x11>;
+ #power-domain-cells = <1>;
+ };
#endif /* TC_SCMI_PD_CTRL_EN */
- scmi_dvfs: protocol@13 {
- reg = <0x13>;
- #clock-cells = <1>;
- };
+ scmi_dvfs: protocol@13 {
+ reg = <0x13>;
+ #clock-cells = <1>;
+ };
- scmi_clk: protocol@14 {
- reg = <0x14>;
- #clock-cells = <1>;
+ scmi_clk: protocol@14 {
+ reg = <0x14>;
+ #clock-cells = <1>;
+ };
};
};