forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/arch/arm64/boot/dts/rockchip/rk3399-evb-ind-lpddr4-v13-android-avb.dts
....@@ -12,7 +12,7 @@
1212 model = "Rockchip RK3399 EVB IND LPDDR4 Board edp (Android)";
1313 compatible = "rockchip,android", "rockchip,rk3399-evb-ind-v13-lpddr4-android", "rockchip,rk3399";
1414 chosen: chosen {
15
- bootargs = "earlycon=uart8250,mmio32,0xff1a0000 console=ttyFIQ0 androidboot.baseband=N/A androidboot.veritymode=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init initrd=0x62000001,0x00800000 coherent_pool=1m";
15
+ bootargs = "earlycon=uart8250,mmio32,0xff1a0000 console=ttyFIQ0 init=/init initrd=0x62000001,0x00800000 coherent_pool=1m";
1616 };
1717
1818 iram: sram@ff8d0000 {
....@@ -42,13 +42,6 @@
4242 vin-supply = <&vcc5v0_sys>;
4343 };
4444
45
- ext_cam_clk: external-camera-clock {
46
- compatible = "fixed-clock";
47
- clock-frequency = <27000000>;
48
- clock-output-names = "CLK_CAMERA_27MHZ";
49
- #clock-cells = <0>;
50
- };
51
-
5245 panel: panel {
5346 compatible = "simple-panel";
5447 backlight = <&backlight>;
....@@ -57,6 +50,8 @@
5750 prepare-delay-ms = <20>;
5851 reset-delay-ms = <20>;
5952 enable-delay-ms = <20>;
53
+ width-mm = <120>;
54
+ height-mm = <160>;
6055
6156 display-timings {
6257 native-mode = <&timing0>;
....@@ -184,29 +179,6 @@
184179 };
185180 };
186181
187
- gc8034: gc8034@37 {
188
- compatible = "galaxycore,gc8034";
189
- status = "okay";
190
- reg = <0x37>;
191
- clocks = <&cru SCLK_CIF_OUT>;
192
- clock-names = "xvclk";
193
- pinctrl-names = "rockchip,camera_default";
194
- pinctrl-0 = <&cif_clkout>;
195
- reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
196
- pwdn-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
197
- rockchip,camera-module-index = <0>;
198
- rockchip,camera-module-facing = "back";
199
- rockchip,camera-module-name = "LH-RK-8034-v1.0";
200
- rockchip,camera-module-lens-name = "CK8401";
201
- lens-focus = <&vm149c>;
202
- port {
203
- gc8034_out: endpoint {
204
- remote-endpoint = <&mipi_in_gc8034>;
205
- data-lanes = <1 2 3 4>;
206
- };
207
- };
208
- };
209
-
210182 ov13850: ov13850@10 {
211183 compatible = "ovti,ov13850";
212184 status = "okay";
....@@ -262,35 +234,6 @@
262234 };
263235 };
264236 };
265
-
266
- /delete-node/ tc358749x@0f;
267
-
268
- tc35874x: tc35874x@0f {
269
- status = "disabled";
270
- reg = <0x0f>;
271
- compatible = "toshiba,tc358749";
272
- clocks = <&ext_cam_clk>;
273
- clock-names = "refclk";
274
- reset-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
275
- /* interrupt-parent = <&gpio2>; */
276
- /* interrupts = <12 IRQ_TYPE_LEVEL_HIGH>; */
277
- pinctrl-names = "default";
278
- pinctrl-0 = <&tc35874x_gpios>;
279
- rockchip,camera-module-index = <0>;
280
- rockchip,camera-module-facing = "back";
281
- rockchip,camera-module-name = "TC358749XBG";
282
- rockchip,camera-module-lens-name = "NC";
283
-
284
- port {
285
- hdmiin_out0: endpoint {
286
- remote-endpoint = <&hdmi_to_mipi_in>;
287
- data-lanes = <1 2 3 4>;
288
- clock-noncontinuous;
289
- link-frequencies =
290
- /bits/ 64 <297000000>;
291
- };
292
- };
293
- };
294237 };
295238
296239 &i2s2 {
....@@ -323,12 +266,6 @@
323266 remote-endpoint = <&ucam_out0>;
324267 data-lanes = <1 2>;
325268 };
326
-
327
- mipi_in_gc8034: endpoint@0 {
328
- reg = <0>;
329
- remote-endpoint = <&gc8034_out>;
330
- data-lanes = <1 2 3 4>;
331
- };
332269 };
333270
334271 port@1 {
....@@ -356,11 +293,6 @@
356293 #address-cells = <1>;
357294 #size-cells = <0>;
358295
359
- hdmi_to_mipi_in: endpoint@0 {
360
- reg = <0>;
361
- remote-endpoint = <&hdmiin_out0>;
362
- data-lanes = <1 2 3 4>;
363
- };
364296 mipi_in_ucam1: endpoint@1 {
365297 reg = <1>;
366298 remote-endpoint = <&ucam_out1>;
....@@ -486,19 +418,6 @@
486418 };
487419
488420 &pinctrl {
489
- hdmiin {
490
- tc35874x_gpios: tc35874x_gpios {
491
- rockchip,pins =
492
- /* PWREN_3.3 */
493
- <0 RK_PB5 RK_FUNC_GPIO &pcfg_output_high>,
494
- /* HDMIIN_RST */
495
- <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>,
496
- /* HDMIIN_STBY */
497
- <3 RK_PD1 RK_FUNC_GPIO &pcfg_output_high>,
498
- /* HDMIIN_INT */
499
- <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
500
- };
501
- };
502421 lcd-panel {
503422 lcd_panel_reset: lcd-panel-reset {
504423 rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;