forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
....@@ -34,6 +34,15 @@
3434 vin-supply = <&vcc3v3_sys>;
3535 };
3636
37
+ vcc3v3_vga: vcc3v3-vga {
38
+ compatible = "regulator-fixed";
39
+ regulator-name = "vcc3v3_vga";
40
+ regulator-always-on;
41
+ regulator-boot-on;
42
+ gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
43
+ enable-active-high;
44
+ vin-supply = <&vcc3v3_sys>;
45
+ };
3746
3847 pcie30_avdd0v9: pcie30-avdd0v9 {
3948 compatible = "regulator-fixed";
....@@ -145,7 +154,7 @@
145154 gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8
146155 gpio_function = <0>;
147156 };
148
-
157
+ #if 0
149158 do1 {
150159 gpio_num = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>;
151160 gpio_function = <0>;
....@@ -185,6 +194,7 @@
185194 gpio_num = <&gpio2 RK_PD5 GPIO_ACTIVE_HIGH>;
186195 gpio_function = <1>;
187196 };
197
+ #endif
188198 };
189199 #if 0
190200 nk_io_init {
....@@ -379,12 +389,12 @@
379389 remote-endpoint = <&panel_in>;
380390 };
381391 };
382
- };
392
+
393
+ };
383394 };
384395
385396 &edp_phy {
386
- status = "okay";
387
-
397
+ status = "okay";
388398 };
389399
390400 &edp_in_vp0 {
....@@ -448,7 +458,7 @@
448458 phy-mode = "rgmii";
449459 clock_in_out = "output";
450460
451
- snps,reset-gpio = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
461
+ snps,reset-gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
452462 snps,reset-active-low;
453463 /* Reset time is 20ms, 100ms for rtl8211f */
454464 snps,reset-delays-us = <0 20000 100000>;
....@@ -468,7 +478,9 @@
468478 rx_delay = <0x2f>;
469479
470480 phy-handle = <&rgmii_phy0>;
481
+
471482 status = "disabled";
483
+
472484 };
473485
474486 &gmac1 {
....@@ -502,9 +514,7 @@
502514 * power-supply should switche to vcc3v3_lcd1_n
503515 * when mipi panel is connected to dsi1.
504516 */
505
-&gt1x {
506
- power-supply = <&vcc3v3_lcd0_n>;
507
-};
517
+
508518
509519 &i2c3 {
510520 status = "okay";
....@@ -523,7 +533,7 @@
523533 };
524534
525535 &i2c4 {
526
- status = "okay";
536
+ status = "disabled";
527537 gc8034: gc8034@37 {
528538 compatible = "galaxycore,gc8034";
529539 status = "okay";
....@@ -535,7 +545,6 @@
535545 reset-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_LOW>;
536546 pwdn-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;
537547 rockchip,grf = <&grf>;
538
- power-domains = <&power RK3568_PD_VI>;
539548 rockchip,camera-module-index = <0>;
540549 rockchip,camera-module-facing = "back";
541550 rockchip,camera-module-name = "RK-CMK-8M-2-v1";
....@@ -569,7 +578,7 @@
569578 };
570579 };
571580 ov5695: ov5695@36 {
572
- status = "okay";
581
+ status = "disabled";
573582 compatible = "ovti,ov5695";
574583 reg = <0x36>;
575584 clocks = <&cru CLK_CIF_OUT>;
....@@ -673,7 +682,7 @@
673682 <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
674683 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>,
675684 <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>,
676
- <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
685
+ <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
677686 <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,
678687 <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>,
679688 <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>,
....@@ -712,8 +721,6 @@
712721 };
713722 };
714723 };
715
-
716
-
717724
718725
719726