diff options
author | Gilles DOFFE <gilles.doffe@savoirfairelinux.com> | 2019-10-16 11:22:55 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-10-26 14:23:31 +0200 |
commit | 568a0a96649fd9bae173a5abb8e05a6fc4577b38 (patch) | |
tree | 2ed2ada4d30f839f8dee57db47e7ff582eeb9f72 /arch/arm/boot/dts/imx6qdl-rex.dtsi | |
parent | ARM: dts: imx6ul-14x14-evk.dtsi: configure USBOTG1 ID pinctrl (diff) | |
download | linux-568a0a96649fd9bae173a5abb8e05a6fc4577b38.tar.xz linux-568a0a96649fd9bae173a5abb8e05a6fc4577b38.zip |
ARM: dts: imx6qdl-rex: add gpio expander pca9535
The pca9535 gpio expander is present on the Rex baseboard, but missing
from the dtsi.
The pca9535 is on i2c2 bus which is common to the three SOM
variants (Basic/Pro/Ultra), thus it is activated by default.
Add also the new gpio controller and the associated interrupt line
MX6QDL_PAD_NANDF_CS3__GPIO6_IO16.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-rex.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-rex.dtsi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-rex.dtsi b/arch/arm/boot/dts/imx6qdl-rex.dtsi index 97f1659144ea..de514eb5aa99 100644 --- a/arch/arm/boot/dts/imx6qdl-rex.dtsi +++ b/arch/arm/boot/dts/imx6qdl-rex.dtsi @@ -132,6 +132,19 @@ pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; + pca9535: gpio-expander@27 { + compatible = "nxp,pca9535"; + reg = <0x27>; + gpio-controller; + #gpio-cells = <2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pca9535>; + interrupt-parent = <&gpio6>; + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + #interrupt-cells = <2>; + }; + eeprom@57 { compatible = "atmel,24c02"; reg = <0x57>; @@ -237,6 +250,12 @@ >; }; + pinctrl_pca9535: pca9535grp { + fsl,pins = < + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x17059 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 |