forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
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 {
....@@ -40,13 +40,6 @@
4040 regulator-max-microvolt = <3300000>;
4141 regulator-boot-on;
4242 vin-supply = <&vcc5v0_sys>;
43
- };
44
-
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>;
5043 };
5144
5245 panel: panel {
....@@ -184,29 +177,6 @@
184177 };
185178 };
186179
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
-
210180 ov13850: ov13850@10 {
211181 compatible = "ovti,ov13850";
212182 status = "okay";
....@@ -262,35 +232,6 @@
262232 };
263233 };
264234 };
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
- };
294235 };
295236
296237 &i2s2 {
....@@ -323,12 +264,6 @@
323264 remote-endpoint = <&ucam_out0>;
324265 data-lanes = <1 2>;
325266 };
326
-
327
- mipi_in_gc8034: endpoint@0 {
328
- reg = <0>;
329
- remote-endpoint = <&gc8034_out>;
330
- data-lanes = <1 2 3 4>;
331
- };
332267 };
333268
334269 port@1 {
....@@ -356,11 +291,6 @@
356291 #address-cells = <1>;
357292 #size-cells = <0>;
358293
359
- hdmi_to_mipi_in: endpoint@0 {
360
- reg = <0>;
361
- remote-endpoint = <&hdmiin_out0>;
362
- data-lanes = <1 2 3 4>;
363
- };
364294 mipi_in_ucam1: endpoint@1 {
365295 reg = <1>;
366296 remote-endpoint = <&ucam_out1>;
....@@ -486,19 +416,6 @@
486416 };
487417
488418 &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
- };
502419 lcd-panel {
503420 lcd_panel_reset: lcd-panel-reset {
504421 rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;