@@ -151,6 +151,10 @@
u-boot,dm-pre-reloc;
};
+&scmi0_mbox {
+ u-boot,dm-pre-reloc;
+};
+
&scmi0_reset {
u-boot,dm-pre-reloc;
};
@@ -65,6 +65,12 @@
};
};
+ scmi0_mbox: mailbox-0 {
+ #mbox-cells = <0>;
+ compatible = "arm,smc-mbox";
+ arm,func-id = <0x82002000>;
+ };
+
firmware {
optee: optee {
compatible = "linaro,optee-tz";
@@ -73,17 +79,22 @@
};
scmi0: scmi0 {
- //compatible = "linaro,scmi-optee";
- compatible = "arm,scmi-smc";
#address-cells = <1>;
#size-cells = <0>;
- //linaro,optee-channel-id = <0>;
- /* Supply properties for arm,scmi-smc compatible */
- arm,smc-id = <0x82002000>;
shmem = <&scmi0_shm>;
/* Enable only if stm32mp15x RCC[TZEN]=1 */
status = "disabled";
+ //compatible = "linaro,scmi-optee";
+ //linaro,optee-channel-id = <0>;
+
+ //compatible = "arm,scmi-smc";
+ //arm,smc-id = <0x82002000>;
+
+ compatible = "arm,scmi";
+ mboxes = <&scmi0_mbox>;
+ mbox-names = "txrx";
+
scmi0_clk: protocol@14 {
reg = <0x14>;
#clock-cells = <1>;
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> --- arch/arm/dts/stm32mp15-u-boot.dtsi | 4 ++++ arch/arm/dts/stm32mp151.dtsi | 21 ++++++++++++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) -- 2.17.1