forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb2-lp4x-v10.dtsi
....@@ -63,13 +63,6 @@
6363 regulator-max-microvolt = <3300000>;
6464 vin-supply = <&vcc5v0_sys>;
6565 };
66
-
67
- ext_cam_clk: external-camera-clock {
68
- compatible = "fixed-clock";
69
- clock-frequency = <24000000>;
70
- clock-output-names = "CLK_CAMERA_24MHZ";
71
- #clock-cells = <0>;
72
- };
7366 };
7467
7568 &bt_sound {
....@@ -171,34 +164,8 @@
171164 * power-supply should switche to vcc3v3_lcd1_n
172165 * when mipi panel is connected to dsi1.
173166 */
174
-
175
-&i2c3 {
176
- status = "okay";
177
-
178
- lt6911uxc: lt6911uxc@2b {
179
- status = "okay";
180
- reg = <0x2b>;
181
- compatible = "lontium,lt6911uxc";
182
- clocks = <&ext_cam_clk>;
183
- clock-names = "xvclk";
184
- interrupt-parent = <&gpio4>;
185
- interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
186
- power-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
187
- reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
188
- plugin-det-gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
189
- hpd-ctl-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
190
- rockchip,camera-module-index = <0>;
191
- rockchip,camera-module-facing = "back";
192
- rockchip,camera-module-name = "LT6911UXC";
193
- rockchip,camera-module-lens-name = "NC";
194
-
195
- port {
196
- lt6911uxc_out: endpoint {
197
- remote-endpoint = <&hdmi_to_mipi_in>;
198
- data-lanes = <1 2 3 4>;
199
- };
200
- };
201
- };
167
+&gt1x {
168
+ power-supply = <&vcc3v3_lcd0_n>;
202169 };
203170
204171 &i2c4 {
....@@ -447,7 +414,8 @@
447414
448415 &sdmmc1 {
449416 max-frequency = <150000000>;
450
- supports-sdio;
417
+ no-sd;
418
+ no-mmc;
451419 bus-width = <4>;
452420 disable-wp;
453421 cap-sd-highspeed;
....@@ -485,6 +453,7 @@
485453 pinctrl-names = "default";
486454 pinctrl-0 = <&wifi_host_wake_irq>;
487455 WIFI,host_wake_irq = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
456
+ WIFI,poweren_gpio = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>;
488457 };
489458
490459 &wireless_bluetooth {
....@@ -503,93 +472,5 @@
503472 };
504473
505474 &xpcs {
506
- status = "okay";
507
-};
508
-
509
-&csi2_dphy_hw {
510
- status = "okay";
511
-};
512
-
513
-&csi2_dphy0 {
514
- status = "okay";
515
-
516
- ports {
517
- #address-cells = <1>;
518
- #size-cells = <0>;
519
- port@0 {
520
- reg = <0>;
521
- #address-cells = <1>;
522
- #size-cells = <0>;
523
-
524
- hdmi_to_mipi_in: endpoint@1 {
525
- reg = <1>;
526
- remote-endpoint = <&lt6911uxc_out>;
527
- data-lanes = <1 2 3 4>;
528
- };
529
- };
530
-
531
- port@1 {
532
- reg = <1>;
533
- #address-cells = <1>;
534
- #size-cells = <0>;
535
-
536
- csidphy_out: endpoint@1 {
537
- reg = <1>;
538
- remote-endpoint = <&mipi_csi2_input>;
539
- data-lanes = <1 2 3 4>;
540
- };
541
- };
542
- };
543
-};
544
-
545
-&mipi_csi2 {
546
- status = "okay";
547
-
548
- ports {
549
- #address-cells = <1>;
550
- #size-cells = <0>;
551
-
552
- port@0 {
553
- reg = <0>;
554
- #address-cells = <1>;
555
- #size-cells = <0>;
556
-
557
- mipi_csi2_input: endpoint@1 {
558
- reg = <1>;
559
- remote-endpoint = <&csidphy_out>;
560
- data-lanes = <1 2 3 4>;
561
- };
562
- };
563
-
564
- port@1 {
565
- reg = <1>;
566
- #address-cells = <1>;
567
- #size-cells = <0>;
568
-
569
- mipi_csi2_output: endpoint@0 {
570
- reg = <0>;
571
- remote-endpoint = <&cif_mipi_in>;
572
- data-lanes = <1 2 3 4>;
573
- };
574
- };
575
- };
576
-};
577
-
578
-&rkcif {
579
- status = "okay";
580
-};
581
-
582
-&rkcif_mipi_lvds {
583
- status = "okay";
584
-
585
- port {
586
- cif_mipi_in: endpoint {
587
- remote-endpoint = <&mipi_csi2_output>;
588
- data-lanes = <1 2 3 4>;
589
- };
590
- };
591
-};
592
-
593
-&rkcif_mmu {
594475 status = "okay";
595476 };