Skip to content

Commit

Permalink
arm64: dts: imx8mp-evk: add PCA6416 interrupt controller mode
Browse files Browse the repository at this point in the history
Add interrupt controller mode for the pca6416 on i.MX8MP EVK board's.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Hugo Villeneuve authored and Shawn Guo committed Feb 11, 2022
1 parent 6f112d0 commit 9fb35e0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mp-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,12 @@
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pca6416_int>;
interrupt-parent = <&gpio1>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
};
};

Expand Down Expand Up @@ -448,6 +454,12 @@
>;
};

pinctrl_pca6416_int: pca6416_int_grp {
fsl,pins = <
MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x146 /* Input pull-up. */
>;
};

pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
fsl,pins = <
MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x41
Expand Down

0 comments on commit 9fb35e0

Please sign in to comment.