forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/ste-href-stuib.dtsi
....@@ -1,12 +1,6 @@
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 #include <dt-bindings/interrupt-controller/irq.h>
....@@ -44,6 +38,8 @@
4438 interrupt-controller;
4539 vcc-supply = <&db8500_vsmps2_reg>;
4640 vio-supply = <&db8500_vsmps2_reg>;
41
+ pinctrl-names = "default";
42
+ pinctrl-0 = <&stmpe_stuib_mode>;
4743
4844 wakeup-source;
4945 st,autosleep-timeout = <1024>;
....@@ -132,6 +128,15 @@
132128 };
133129
134130 pinctrl {
131
+ /* Pull up this GPIO pin */
132
+ stmpe {
133
+ stmpe_stuib_mode: stmpe_stuib {
134
+ stuib_cfg {
135
+ ste,pins = "GPIO218_AH11";
136
+ ste,config = <&gpio_in_pu>;
137
+ };
138
+ };
139
+ };
135140 prox {
136141 prox_stuib_mode: prox_stuib {
137142 stuib_cfg {
....@@ -190,5 +195,18 @@
190195 };
191196 };
192197 };
198
+
199
+ mcde@a0350000 {
200
+ status = "okay";
201
+
202
+ dsi-controller@a0351000 {
203
+ panel {
204
+ compatible = "samsung,s6d16d0";
205
+ reg = <0>;
206
+ vdd1-supply = <&ab8500_ldo_aux1_reg>;
207
+ reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
208
+ };
209
+ };
210
+ };
193211 };
194212 };