hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/imx6qdl-rex.dtsi
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright 2014 FEDEVEL, Inc.
34 *
45 * Author: Robert Nelson <robertcnelson@gmail.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
9
- *
106 */
117
128 #include <dt-bindings/gpio/gpio.h>
....@@ -136,6 +132,19 @@
136132 pinctrl-0 = <&pinctrl_i2c2>;
137133 status = "okay";
138134
135
+ pca9535: gpio-expander@27 {
136
+ compatible = "nxp,pca9535";
137
+ reg = <0x27>;
138
+ gpio-controller;
139
+ #gpio-cells = <2>;
140
+ pinctrl-names = "default";
141
+ pinctrl-0 = <&pinctrl_pca9535>;
142
+ interrupt-parent = <&gpio6>;
143
+ interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
144
+ interrupt-controller;
145
+ #interrupt-cells = <2>;
146
+ };
147
+
139148 eeprom@57 {
140149 compatible = "atmel,24c02";
141150 reg = <0x57>;
....@@ -241,6 +250,12 @@
241250 >;
242251 };
243252
253
+ pinctrl_pca9535: pca9535grp {
254
+ fsl,pins = <
255
+ MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x17059
256
+ >;
257
+ };
258
+
244259 pinctrl_uart1: uart1grp {
245260 fsl,pins = <
246261 MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1