Skip to content

Commit 2da6336

Browse files
MrVanShawn Guo
authored andcommitted
arm64: dts: imx952-evk: Add nxp,ctrl-ids for scmi misc
Add nxp,ctrl-ids in scmi_misc node for wakeup notification. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent aef6078 commit 2da6336

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

arch/arm64/boot/dts/freescale/imx952-evk.dts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
#include <dt-bindings/usb/pd.h>
1010
#include "imx952.dtsi"
1111

12+
#define FALLING_EDGE BIT(0)
13+
#define RISING_EDGE BIT(1)
14+
15+
#define BRD_SM_CTRL_SD3_WAKE 0x8000U /*!< PCAL6408A-0 */
16+
#define BRD_SM_CTRL_M2E_WAKE 0x8001U /*!< PCAL6408A-4 */
17+
#define BRD_SM_CTRL_BT_WAKE 0x8002U /*!< PCAL6408A-5 */
18+
#define BRD_SM_CTRL_M2M_WAKE 0x8003U /*!< PCAL6408A-6 */
19+
#define BRD_SM_CTRL_BUTTON 0x8004U /*!< PCAL6408A-7 */
20+
1221
/ {
1322
model = "NXP i.MX952 EVK board";
1423
compatible = "fsl,imx952-evk", "fsl,imx952";
@@ -303,6 +312,14 @@
303312
status = "okay";
304313
};
305314

315+
&scmi_misc {
316+
nxp,ctrl-ids = <BRD_SM_CTRL_SD3_WAKE 1
317+
BRD_SM_CTRL_M2E_WAKE 1
318+
BRD_SM_CTRL_BT_WAKE 1
319+
BRD_SM_CTRL_M2M_WAKE 1
320+
BRD_SM_CTRL_BUTTON 1>;
321+
};
322+
306323
&tpm3 {
307324
pinctrl-names = "default";
308325
pinctrl-0 = <&pinctrl_tpm3>;

0 commit comments

Comments
 (0)