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>
This commit is contained in:
Boyan Karatotev 2024-04-19 13:59:11 +01:00 committed by Leo Yan
parent c33a393675
commit d42987c34a

View file

@ -303,29 +303,31 @@
interrupt-names = "mhu_tx"; interrupt-names = "mhu_tx";
}; };
scmi { firmware {
compatible = "arm,scmi"; scmi {
mbox-names = "tx", "rx"; compatible = "arm,scmi";
mboxes = <&mbox_db_tx 0 0 &mbox_db_rx 0 0 >; mbox-names = "tx", "rx";
shmem = <&cpu_scp_scmi_mem &cpu_scp_scmi_mem>; mboxes = <&mbox_db_tx 0 0 &mbox_db_rx 0 0 >;
#address-cells = <1>; shmem = <&cpu_scp_scmi_mem &cpu_scp_scmi_mem>;
#size-cells = <0>; #address-cells = <1>;
#size-cells = <0>;
#if TC_SCMI_PD_CTRL_EN #if TC_SCMI_PD_CTRL_EN
scmi_devpd: protocol@11 { scmi_devpd: protocol@11 {
reg = <0x11>; reg = <0x11>;
#power-domain-cells = <1>; #power-domain-cells = <1>;
}; };
#endif /* TC_SCMI_PD_CTRL_EN */ #endif /* TC_SCMI_PD_CTRL_EN */
scmi_dvfs: protocol@13 { scmi_dvfs: protocol@13 {
reg = <0x13>; reg = <0x13>;
#clock-cells = <1>; #clock-cells = <1>;
}; };
scmi_clk: protocol@14 { scmi_clk: protocol@14 {
reg = <0x14>; reg = <0x14>;
#clock-cells = <1>; #clock-cells = <1>;
};
}; };
}; };