| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 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 | 4 | */ |
|---|
| 11 | 5 | |
|---|
| 12 | 6 | /dts-v1/; |
|---|
| 7 | +#include "ste-db8500.dtsi" |
|---|
| 13 | 8 | #include "ste-hrefprev60.dtsi" |
|---|
| 14 | 9 | #include "ste-href-stuib.dtsi" |
|---|
| 15 | 10 | |
|---|
| .. | .. |
|---|
| 17 | 12 | model = "ST-Ericsson HREF (pre-v60) and ST UIB"; |
|---|
| 18 | 13 | compatible = "st-ericsson,mop500", "st-ericsson,u8500"; |
|---|
| 19 | 14 | |
|---|
| 20 | | - /* This stablilizes the serial port enumeration */ |
|---|
| 21 | | - aliases { |
|---|
| 22 | | - serial0 = &ux500_serial0; |
|---|
| 23 | | - serial1 = &ux500_serial1; |
|---|
| 24 | | - serial2 = &ux500_serial2; |
|---|
| 25 | | - }; |
|---|
| 26 | | - |
|---|
| 27 | 15 | soc { |
|---|
| 28 | 16 | /* Reset line for the BU21013 touchscreen */ |
|---|
| 29 | 17 | i2c@80110000 { |
|---|
| 30 | 18 | /* Only one of these will be used */ |
|---|
| 31 | 19 | bu21013_tp@5c { |
|---|
| 32 | | - touch-gpio = <&gpio2 12 0x4>; |
|---|
| 33 | | - reset-gpio = <&tc3589x_gpio 13 0x4>; |
|---|
| 20 | + interrupt-parent = <&gpio2>; |
|---|
| 21 | + interrupts = <12 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 22 | + touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; |
|---|
| 23 | + reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>; |
|---|
| 34 | 24 | }; |
|---|
| 35 | 25 | bu21013_tp@5d { |
|---|
| 36 | | - touch-gpio = <&gpio2 12 0x4>; |
|---|
| 37 | | - reset-gpio = <&tc3589x_gpio 13 0x4>; |
|---|
| 26 | + interrupt-parent = <&gpio2>; |
|---|
| 27 | + interrupts = <12 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 28 | + touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; |
|---|
| 29 | + reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>; |
|---|
| 38 | 30 | }; |
|---|
| 39 | 31 | }; |
|---|
| 40 | 32 | }; |
|---|