forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb2-lp4x-v10.dtsi
....@@ -63,12 +63,12 @@
6363 regulator-max-microvolt = <3300000>;
6464 vin-supply = <&vcc5v0_sys>;
6565 };
66
+};
6667
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>;
68
+&bt_sound {
69
+ status = "disabled";
70
+ simple-audio-card,cpu {
71
+ sound-dai = <&i2s2_2ch>;
7272 };
7373 };
7474
....@@ -168,35 +168,6 @@
168168 power-supply = <&vcc3v3_lcd0_n>;
169169 };
170170
171
-&i2c3 {
172
- status = "okay";
173
-
174
- lt6911uxc: lt6911uxc@2b {
175
- status = "okay";
176
- reg = <0x2b>;
177
- compatible = "lontium,lt6911uxc";
178
- clocks = <&ext_cam_clk>;
179
- clock-names = "xvclk";
180
- interrupt-parent = <&gpio4>;
181
- interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
182
- power-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
183
- reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
184
- plugin-det-gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
185
- hpd-ctl-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
186
- rockchip,camera-module-index = <0>;
187
- rockchip,camera-module-facing = "back";
188
- rockchip,camera-module-name = "LT6911UXC";
189
- rockchip,camera-module-lens-name = "NC";
190
-
191
- port {
192
- lt6911uxc_out: endpoint {
193
- remote-endpoint = <&hdmi_to_mipi_in>;
194
- data-lanes = <1 2 3 4>;
195
- };
196
- };
197
- };
198
-};
199
-
200171 &i2c4 {
201172 status = "okay";
202173
....@@ -216,6 +187,12 @@
216187 };
217188
218189 &i2c5 {
190
+ status = "disabled";
191
+};
192
+
193
+&i2s2_2ch {
194
+ pinctrl-0 = <&i2s2m0_sclktx &i2s2m0_lrcktx &i2s2m0_sdi &i2s2m0_sdo>;
195
+ rockchip,bclk-fs = <32>;
219196 status = "disabled";
220197 };
221198
....@@ -437,7 +414,8 @@
437414
438415 &sdmmc1 {
439416 max-frequency = <150000000>;
440
- supports-sdio;
417
+ no-sd;
418
+ no-mmc;
441419 bus-width = <4>;
442420 disable-wp;
443421 cap-sd-highspeed;
....@@ -475,6 +453,7 @@
475453 pinctrl-names = "default";
476454 pinctrl-0 = <&wifi_host_wake_irq>;
477455 WIFI,host_wake_irq = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
456
+ WIFI,poweren_gpio = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>;
478457 };
479458
480459 &wireless_bluetooth {
....@@ -493,93 +472,5 @@
493472 };
494473
495474 &xpcs {
496
- status = "okay";
497
-};
498
-
499
-&csi2_dphy_hw {
500
- status = "okay";
501
-};
502
-
503
-&csi2_dphy0 {
504
- status = "okay";
505
-
506
- ports {
507
- #address-cells = <1>;
508
- #size-cells = <0>;
509
- port@0 {
510
- reg = <0>;
511
- #address-cells = <1>;
512
- #size-cells = <0>;
513
-
514
- hdmi_to_mipi_in: endpoint@1 {
515
- reg = <1>;
516
- remote-endpoint = <&lt6911uxc_out>;
517
- data-lanes = <1 2 3 4>;
518
- };
519
- };
520
-
521
- port@1 {
522
- reg = <1>;
523
- #address-cells = <1>;
524
- #size-cells = <0>;
525
-
526
- csidphy_out: endpoint@1 {
527
- reg = <1>;
528
- remote-endpoint = <&mipi_csi2_input>;
529
- data-lanes = <1 2 3 4>;
530
- };
531
- };
532
- };
533
-};
534
-
535
-&mipi_csi2 {
536
- status = "okay";
537
-
538
- ports {
539
- #address-cells = <1>;
540
- #size-cells = <0>;
541
-
542
- port@0 {
543
- reg = <0>;
544
- #address-cells = <1>;
545
- #size-cells = <0>;
546
-
547
- mipi_csi2_input: endpoint@1 {
548
- reg = <1>;
549
- remote-endpoint = <&csidphy_out>;
550
- data-lanes = <1 2 3 4>;
551
- };
552
- };
553
-
554
- port@1 {
555
- reg = <1>;
556
- #address-cells = <1>;
557
- #size-cells = <0>;
558
-
559
- mipi_csi2_output: endpoint@0 {
560
- reg = <0>;
561
- remote-endpoint = <&cif_mipi_in>;
562
- data-lanes = <1 2 3 4>;
563
- };
564
- };
565
- };
566
-};
567
-
568
-&rkcif {
569
- status = "okay";
570
-};
571
-
572
-&rkcif_mipi_lvds {
573
- status = "okay";
574
-
575
- port {
576
- cif_mipi_in: endpoint {
577
- remote-endpoint = <&mipi_csi2_output>;
578
- data-lanes = <1 2 3 4>;
579
- };
580
- };
581
-};
582
-
583
-&rkcif_mmu {
584475 status = "okay";
585476 };