]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: imx943-evk: Add nxp,ctrl-ids for scmi_misc
authorPeng Fan <peng.fan@nxp.com>
Tue, 24 Mar 2026 05:44:11 +0000 (13:44 +0800)
committerFrank Li <Frank.Li@nxp.com>
Fri, 27 Mar 2026 13:53:21 +0000 (09:53 -0400)
Add nxp,ctrl-ids for scmi_misc to support wakeup from the peripherals.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm64/boot/dts/freescale/imx943-evk.dts

index 1d834379f602dea9eb70381f6fe2ef6e3c938a80..ec728efbe15cf0b97deade68445b23528325b082 100644 (file)
@@ -8,6 +8,12 @@
 #include "imx943.dtsi"
 #include <dt-bindings/usb/pd.h>
 
+#define BRD_SM_CTRL_BT_WAKE            0x8000  /*!< PCAL6416A-3 */
+#define BRD_SM_CTRL_SD3_WAKE           0x8001  /*!< PCAL6416A-4 */
+#define BRD_SM_CTRL_PCIE1_WAKE         0x8002  /*!< PCAL6416A-5 */
+#define BRD_SM_CTRL_PCIE2_WAKE         0x8003  /*!< PCAL6416A-6 */
+#define BRD_SM_CTRL_BUTTON             0x8004  /*!< PCAL6416A-7 */
+
 / {
        compatible = "fsl,imx943-evk", "fsl,imx94";
        model = "NXP i.MX943 EVK board";
        };
 };
 
+&scmi_misc {
+       nxp,ctrl-ids = <BRD_SM_CTRL_SD3_WAKE            1
+                       BRD_SM_CTRL_PCIE1_WAKE          1
+                       BRD_SM_CTRL_BT_WAKE             1
+                       BRD_SM_CTRL_PCIE2_WAKE          1
+                       BRD_SM_CTRL_BUTTON              1>;
+};
+
 &usb2 {
        dr_mode = "otg";
        disable-over-current;