arm64: dts: imx93: Add the bbnsm dts node
authorJacky Bai <ping.bai@nxp.com>
Wed, 15 Feb 2023 02:41:17 +0000 (10:41 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Mar 2023 01:01:03 +0000 (09:01 +0800)
Add the bbnsm node for RTC & ON/OFF button support

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93.dtsi

index 2076f9c..e772c13 100644 (file)
                                status = "okay";
                        };
 
+                       bbnsm: bbnsm@44440000 {
+                               compatible = "nxp,imx93-bbnsm", "syscon", "simple-mfd";
+                               reg = <0x44440000 0x10000>;
+
+                               bbnsm_rtc: rtc {
+                                       compatible = "nxp,imx93-bbnsm-rtc";
+                                       interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
+                               };
+
+                               bbnsm_pwrkey: pwrkey {
+                                       compatible = "nxp,imx93-bbnsm-pwrkey";
+                                       interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
+                                       linux,code = <KEY_POWER>;
+                               };
+                       };
+
                        clk: clock-controller@44450000 {
                                compatible = "fsl,imx93-ccm";
                                reg = <0x44450000 0x10000>;