diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-05-06 08:28:13 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-05-14 16:07:59 +0200 |
commit | 346952e88075f920522d91b2fc91d2715c854774 (patch) | |
tree | 9e796fe05cf8498131774dfea2c4a8561285d610 /arch/arm/boot/dts/imx6sx-sabreauto.dts | |
parent | ARM: dts: imx6sx-sabreauto: add debug LED support (diff) | |
download | linux-346952e88075f920522d91b2fc91d2715c854774.tar.xz linux-346952e88075f920522d91b2fc91d2715c854774.zip |
ARM: dts: imx6sx-sabreauto: add egalax touch screen support
Add egalax touch screen support on i2c2 bus.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sabreauto.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sabreauto.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index 8e6bd9da2101..bfbcf7061233 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -111,6 +111,12 @@ }; &iomuxc { + pinctrl_egalax_int: egalax-intgrp { + fsl,pins = < + MX6SX_PAD_SD4_RESET_B__GPIO6_IO_22 0x10b0 + >; + }; + pinctrl_enet1: enet1grp { fsl,pins = < MX6SX_PAD_ENET1_MDIO__ENET1_MDIO 0xa0b1 @@ -253,6 +259,16 @@ pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; + touchscreen@4 { + compatible = "eeti,egalax_ts"; + reg = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_egalax_int>; + interrupt-parent = <&gpio6>; + interrupts = <22 IRQ_TYPE_EDGE_FALLING>; + wakeup-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; + }; + pfuze100: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>; |