Linus Walleij | 9c19cfa | 2013-09-26 15:34:02 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 ST-Ericsson AB |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | * |
| 11 | * Device Tree for the TVK1281618 UIB |
| 12 | */ |
| 13 | |
| 14 | #include <dt-bindings/interrupt-controller/irq.h> |
| 15 | |
| 16 | / { |
| 17 | soc { |
| 18 | /* Add Synaptics touch screen, TC35892 keypad etc here */ |
Linus Walleij | 84919b9 | 2013-10-03 10:18:36 +0200 | [diff] [blame^] | 19 | i2c@80004000 { |
| 20 | tc3589x@44 { |
| 21 | compatible = "tc3589x"; |
| 22 | reg = <0x44>; |
| 23 | interrupt-parent = <&gpio6>; |
| 24 | interrupts = <26 IRQ_TYPE_EDGE_RISING>; |
| 25 | |
| 26 | interrupt-controller; |
| 27 | #interrupt-cells = <2>; |
| 28 | |
| 29 | tc3589x_gpio { |
| 30 | compatible = "tc3589x-gpio"; |
| 31 | interrupts = <0 IRQ_TYPE_EDGE_RISING>; |
| 32 | |
| 33 | interrupt-controller; |
| 34 | #interrupt-cells = <2>; |
| 35 | gpio-controller; |
| 36 | #gpio-cells = <2>; |
| 37 | }; |
| 38 | }; |
| 39 | }; |
Linus Walleij | 9c19cfa | 2013-09-26 15:34:02 +0200 | [diff] [blame] | 40 | }; |
| 41 | }; |