forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
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";
....@@ -380,12 +389,12 @@
380389 remote-endpoint = <&panel_in>;
381390 };
382391 };
383
- };
392
+
393
+ };
384394 };
385395
386396 &edp_phy {
387
- status = "okay";
388
-
397
+ status = "okay";
389398 };
390399
391400 &edp_in_vp0 {
....@@ -449,7 +458,7 @@
449458 phy-mode = "rgmii";
450459 clock_in_out = "output";
451460
452
- snps,reset-gpio = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
461
+ snps,reset-gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
453462 snps,reset-active-low;
454463 /* Reset time is 20ms, 100ms for rtl8211f */
455464 snps,reset-delays-us = <0 20000 100000>;
....@@ -469,7 +478,9 @@
469478 rx_delay = <0x2f>;
470479
471480 phy-handle = <&rgmii_phy0>;
481
+
472482 status = "disabled";
483
+
473484 };
474485
475486 &gmac1 {
....@@ -503,9 +514,7 @@
503514 * power-supply should switche to vcc3v3_lcd1_n
504515 * when mipi panel is connected to dsi1.
505516 */
506
-&gt1x {
507
- power-supply = <&vcc3v3_lcd0_n>;
508
-};
517
+
509518
510519 &i2c3 {
511520 status = "okay";
....@@ -524,7 +533,7 @@
524533 };
525534
526535 &i2c4 {
527
- status = "okay";
536
+ status = "disabled";
528537 gc8034: gc8034@37 {
529538 compatible = "galaxycore,gc8034";
530539 status = "okay";
....@@ -536,7 +545,6 @@
536545 reset-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_LOW>;
537546 pwdn-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;
538547 rockchip,grf = <&grf>;
539
- power-domains = <&power RK3568_PD_VI>;
540548 rockchip,camera-module-index = <0>;
541549 rockchip,camera-module-facing = "back";
542550 rockchip,camera-module-name = "RK-CMK-8M-2-v1";
....@@ -570,7 +578,7 @@
570578 };
571579 };
572580 ov5695: ov5695@36 {
573
- status = "okay";
581
+ status = "disabled";
574582 compatible = "ovti,ov5695";
575583 reg = <0x36>;
576584 clocks = <&cru CLK_CIF_OUT>;
....@@ -674,7 +682,7 @@
674682 <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
675683 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>,
676684 <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>,
677
- <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
685
+ <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
678686 <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,
679687 <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>,
680688 <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>,
....@@ -713,8 +721,6 @@
713721 };
714722 };
715723 };
716
-
717
-
718724
719725
720726