[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1567198429-27886-3-git-send-email-Anson.Huang@nxp.com>
Date: Fri, 30 Aug 2019 16:53:47 -0400
From: Anson Huang <Anson.Huang@....com>
To: robh+dt@...nel.org, mark.rutland@....com, shawnguo@...nel.org,
s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com,
catalin.marinas@....com, will@...nel.org,
dmitry.torokhov@...il.com, aisheng.dong@....com,
ulf.hansson@...aro.org, fugang.duan@....com, peng.fan@....com,
daniel.baluta@....com, leonard.crestez@....com, olof@...om.net,
mripard@...nel.org, arnd@...db.de, jagan@...rulasolutions.com,
bjorn.andersson@...aro.org, dinguyen@...nel.org,
marcin.juszkiewicz@...aro.org, hsweeten@...ionengravers.com,
tglx@...utronix.de, gregkh@...uxfoundation.org, stefan@...er.ch,
ronald@...ovation.ch, ping.bai@....com, m.felsch@...gutronix.de,
andriy.shevchenko@...ux.intel.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-input@...r.kernel.org
Cc: Linux-imx@....com
Subject: [PATCH 3/5] arm64: dts: imx8qxp: Add scu power key node
Add scu power key node for i.MX8QXP, disabled by default as it
depends on board design.
Signed-off-by: Anson Huang <Anson.Huang@....com>
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 1133b41..a5d4ac6 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -8,6 +8,7 @@
#include <dt-bindings/clock/imx8-clock.h>
#include <dt-bindings/firmware/imx/rsrc.h>
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/pinctrl/pads-imx8qxp.h>
@@ -174,6 +175,13 @@
#power-domain-cells = <1>;
};
+ scu_pwrkey: scu-pwrkey {
+ compatible = "fsl,imx8qxp-sc-pwrkey", "fsl,imx-sc-pwrkey";
+ linux,keycode = <KEY_POWER>;
+ wakeup-source;
+ status = "disabled";
+ };
+
rtc: rtc {
compatible = "fsl,imx8qxp-sc-rtc";
};
--
2.7.4
Powered by blists - more mailing lists