hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi
....@@ -1,8 +1,4 @@
1
-/*
2
- * This program is free software; you can redistribute it and/or modify
3
- * it under the terms of the GNU General Public License version 2 as
4
- * published by the Free Software Foundation.
5
- */
1
+// SPDX-License-Identifier: GPL-2.0-only
62
73 / {
84 gpio_keys {
....@@ -69,6 +65,7 @@
6965 pinctrl-0 = <&pwm_pins>;
7066 ti,timers = <&timer10>;
7167 #pwm-cells = <3>;
68
+ ti,clock-source = <0x01>;
7269 };
7370
7471 };
....@@ -107,14 +104,20 @@
107104 };
108105 };
109106
107
+&hdqw1w {
108
+ pinctrl-names = "default";
109
+ pinctrl-0 = <&hdq_pins>;
110
+};
111
+
112
+
110113 &vpll2 {
111114 regulator-always-on;
112115 };
113116
114117 &dss {
115
- status = "ok";
118
+ status = "okay";
116119 vdds_dsi-supply = <&vpll2>;
117
- vdda_video-supply = <&video_reg>;
120
+ vdda_video-supply = <&vpll2>;
118121 pinctrl-names = "default";
119122 pinctrl-0 = <&dss_dpi_pins1>;
120123 port {
....@@ -130,43 +133,18 @@
130133 display0 = &lcd0;
131134 };
132135
133
- video_reg: video_reg {
136
+ lcd0: display {
137
+ /* This isn't the exact LCD, but the timings meet spec */
138
+ compatible = "newhaven,nhd-4.3-480272ef-atxl";
139
+ label = "15";
134140 pinctrl-names = "default";
135141 pinctrl-0 = <&panel_pwr_pins>;
136
- compatible = "regulator-fixed";
137
- regulator-name = "fixed-supply";
138
- regulator-min-microvolt = <3300000>;
139
- regulator-max-microvolt = <3300000>;
140
- gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */
141
- };
142
-
143
- lcd0: display {
144
- compatible = "panel-dpi";
145
- label = "15";
146
- status = "okay";
147
- /* default-on; */
148
- pinctrl-names = "default";
149
-
142
+ backlight = <&bl>;
143
+ enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;
150144 port {
151145 lcd_in: endpoint {
152146 remote-endpoint = <&dpi_out>;
153147 };
154
- };
155
-
156
- panel-timing {
157
- clock-frequency = <9000000>;
158
- hactive = <480>;
159
- vactive = <272>;
160
- hfront-porch = <3>;
161
- hback-porch = <2>;
162
- hsync-len = <42>;
163
- vback-porch = <3>;
164
- vfront-porch = <4>;
165
- vsync-len = <11>;
166
- hsync-active = <0>;
167
- vsync-active = <0>;
168
- de-active = <1>;
169
- pixelclk-active = <1>;
170148 };
171149 };
172150
....@@ -199,6 +177,12 @@
199177 >;
200178 };
201179
180
+ hdq_pins: hdq_pins {
181
+ pinctrl-single,pins = <
182
+ OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* hdq_sio */
183
+ >;
184
+ };
185
+
202186 pwm_pins: pinmux_pwm_pins {
203187 pinctrl-single,pins = <
204188 OMAP3_CORE1_IOPAD(0x20B8, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE3) /* gpmc_ncs5.gpt_10_pwm_evt */