From 70859a88ed2e45b8a8e018c3aef89337e6701090 Mon Sep 17 00:00:00 2001 From: Joakim Zhang <qiangqing.zhang@nxp.com> Date: Tue, 19 Feb 2019 16:56:02 +0800 Subject: [PATCH] MLK-20946-1: arm64: dts: imx8mm-evk: enable IR Enable IR on imx8mm-evk board. Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> --- arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts index 3565bf58e8cb20..c941b798d40ae2 100755 --- a/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts @@ -45,6 +45,13 @@ #reset-cells = <0>; }; + ir_recv: ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ir_recv>; + }; + regulators { compatible = "simple-bus"; #address-cells = <1>; @@ -153,6 +160,12 @@ >; }; + pinctrl_ir_recv: ir_recv { + fsl,pins = < + MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x154 + >; + }; + pinctrl_csi_rst: csi_rst_grp { fsl,pins = < MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x19 -- GitLab