.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2014 FEDEVEL, Inc. |
---|
3 | 4 | * |
---|
4 | 5 | * 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 | | - * |
---|
10 | 6 | */ |
---|
11 | 7 | |
---|
12 | 8 | #include <dt-bindings/gpio/gpio.h> |
---|
.. | .. |
---|
136 | 132 | pinctrl-0 = <&pinctrl_i2c2>; |
---|
137 | 133 | status = "okay"; |
---|
138 | 134 | |
---|
| 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 | + |
---|
139 | 148 | eeprom@57 { |
---|
140 | 149 | compatible = "atmel,24c02"; |
---|
141 | 150 | reg = <0x57>; |
---|
.. | .. |
---|
241 | 250 | >; |
---|
242 | 251 | }; |
---|
243 | 252 | |
---|
| 253 | + pinctrl_pca9535: pca9535grp { |
---|
| 254 | + fsl,pins = < |
---|
| 255 | + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x17059 |
---|
| 256 | + >; |
---|
| 257 | + }; |
---|
| 258 | + |
---|
244 | 259 | pinctrl_uart1: uart1grp { |
---|
245 | 260 | fsl,pins = < |
---|
246 | 261 | MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 |
---|