Add the 'nxp,ctrl-ids' property so the SCMI firmware can configure the
board controls as wakeup sources.

Signed-off-by: Elena Popa <[email protected]>
---
 arch/arm/dts/imx95-navq.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/dts/imx95-navq.dts b/arch/arm/dts/imx95-navq.dts
index 650c4fb5c13..fc36c8b567f 100644
--- a/arch/arm/dts/imx95-navq.dts
+++ b/arch/arm/dts/imx95-navq.dts
@@ -7,6 +7,12 @@
 
 #include "imx95.dtsi"
 
+#define FALLING_EDGE                   1
+#define RISING_EDGE                    2
+
+#define BRD_SM_CTRL_PCIE1_WAKE         0x8000  /* PCAL6416A-12 */
+#define BRD_SM_CTRL_PCIE2_WAKE         0x8001  /* PCAL6416A-13 */
+
 / {
        model = "NXP MR-NAVQ95";
        compatible = "fsl,imx95-navq", "fsl,imx95";
@@ -175,6 +181,11 @@
        };
 };
 
+&scmi_misc {
+       nxp,ctrl-ids = <BRD_SM_CTRL_PCIE1_WAKE  FALLING_EDGE
+                       BRD_SM_CTRL_PCIE2_WAKE  FALLING_EDGE>;
+};
+
 &usdhc1 {
        pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
        pinctrl-0 = <&pinctrl_usdhc1>;
-- 
2.43.0

Reply via email to