forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/ste-hrefprev60-stuib.dts
....@@ -1,15 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * 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
104 */
115
126 /dts-v1/;
7
+#include "ste-db8500.dtsi"
138 #include "ste-hrefprev60.dtsi"
149 #include "ste-href-stuib.dtsi"
1510
....@@ -17,24 +12,21 @@
1712 model = "ST-Ericsson HREF (pre-v60) and ST UIB";
1813 compatible = "st-ericsson,mop500", "st-ericsson,u8500";
1914
20
- /* This stablilizes the serial port enumeration */
21
- aliases {
22
- serial0 = &ux500_serial0;
23
- serial1 = &ux500_serial1;
24
- serial2 = &ux500_serial2;
25
- };
26
-
2715 soc {
2816 /* Reset line for the BU21013 touchscreen */
2917 i2c@80110000 {
3018 /* Only one of these will be used */
3119 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>;
3424 };
3525 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>;
3830 };
3931 };
4032 };