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 {
....@@ -173,35 +166,6 @@
173166 */
174167 &gt1x {
175168 power-supply = <&vcc3v3_lcd0_n>;
176
-};
177
-
178
-&i2c3 {
179
- status = "okay";
180
-
181
- lt6911uxc: lt6911uxc@2b {
182
- status = "okay";
183
- reg = <0x2b>;
184
- compatible = "lontium,lt6911uxc";
185
- clocks = <&ext_cam_clk>;
186
- clock-names = "xvclk";
187
- interrupt-parent = <&gpio4>;
188
- interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
189
- power-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
190
- reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
191
- plugin-det-gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
192
- hpd-ctl-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
193
- rockchip,camera-module-index = <0>;
194
- rockchip,camera-module-facing = "back";
195
- rockchip,camera-module-name = "LT6911UXC";
196
- rockchip,camera-module-lens-name = "NC";
197
-
198
- port {
199
- lt6911uxc_out: endpoint {
200
- remote-endpoint = <&hdmi_to_mipi_in>;
201
- data-lanes = <1 2 3 4>;
202
- };
203
- };
204
- };
205169 };
206170
207171 &i2c4 {
....@@ -450,7 +414,8 @@
450414
451415 &sdmmc1 {
452416 max-frequency = <150000000>;
453
- supports-sdio;
417
+ no-sd;
418
+ no-mmc;
454419 bus-width = <4>;
455420 disable-wp;
456421 cap-sd-highspeed;
....@@ -488,6 +453,7 @@
488453 pinctrl-names = "default";
489454 pinctrl-0 = <&wifi_host_wake_irq>;
490455 WIFI,host_wake_irq = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
456
+ WIFI,poweren_gpio = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>;
491457 };
492458
493459 &wireless_bluetooth {
....@@ -506,93 +472,5 @@
506472 };
507473
508474 &xpcs {
509
- status = "okay";
510
-};
511
-
512
-&csi2_dphy_hw {
513
- status = "okay";
514
-};
515
-
516
-&csi2_dphy0 {
517
- status = "okay";
518
-
519
- ports {
520
- #address-cells = <1>;
521
- #size-cells = <0>;
522
- port@0 {
523
- reg = <0>;
524
- #address-cells = <1>;
525
- #size-cells = <0>;
526
-
527
- hdmi_to_mipi_in: endpoint@1 {
528
- reg = <1>;
529
- remote-endpoint = <&lt6911uxc_out>;
530
- data-lanes = <1 2 3 4>;
531
- };
532
- };
533
-
534
- port@1 {
535
- reg = <1>;
536
- #address-cells = <1>;
537
- #size-cells = <0>;
538
-
539
- csidphy_out: endpoint@1 {
540
- reg = <1>;
541
- remote-endpoint = <&mipi_csi2_input>;
542
- data-lanes = <1 2 3 4>;
543
- };
544
- };
545
- };
546
-};
547
-
548
-&mipi_csi2 {
549
- status = "okay";
550
-
551
- ports {
552
- #address-cells = <1>;
553
- #size-cells = <0>;
554
-
555
- port@0 {
556
- reg = <0>;
557
- #address-cells = <1>;
558
- #size-cells = <0>;
559
-
560
- mipi_csi2_input: endpoint@1 {
561
- reg = <1>;
562
- remote-endpoint = <&csidphy_out>;
563
- data-lanes = <1 2 3 4>;
564
- };
565
- };
566
-
567
- port@1 {
568
- reg = <1>;
569
- #address-cells = <1>;
570
- #size-cells = <0>;
571
-
572
- mipi_csi2_output: endpoint@0 {
573
- reg = <0>;
574
- remote-endpoint = <&cif_mipi_in>;
575
- data-lanes = <1 2 3 4>;
576
- };
577
- };
578
- };
579
-};
580
-
581
-&rkcif {
582
- status = "okay";
583
-};
584
-
585
-&rkcif_mipi_lvds {
586
- status = "okay";
587
-
588
- port {
589
- cif_mipi_in: endpoint {
590
- remote-endpoint = <&mipi_csi2_output>;
591
- data-lanes = <1 2 3 4>;
592
- };
593
- };
594
-};
595
-
596
-&rkcif_mmu {
597475 status = "okay";
598476 };