forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
....@@ -137,7 +137,7 @@
137137 };
138138
139139 hp_en {
140
- gpio_num = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;//HP_EN_GPIO3_A6_3V3
140
+ gpio_num = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>;//HP_EN_GPIO3_A6_3V3
141141 gpio_function = <0>;
142142 };
143143
....@@ -380,12 +380,12 @@
380380 remote-endpoint = <&panel_in>;
381381 };
382382 };
383
- };
383
+
384
+ };
384385 };
385386
386387 &edp_phy {
387
- status = "okay";
388
-
388
+ status = "okay";
389389 };
390390
391391 &edp_in_vp0 {
....@@ -449,7 +449,7 @@
449449 phy-mode = "rgmii";
450450 clock_in_out = "output";
451451
452
- snps,reset-gpio = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
452
+ snps,reset-gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
453453 snps,reset-active-low;
454454 /* Reset time is 20ms, 100ms for rtl8211f */
455455 snps,reset-delays-us = <0 20000 100000>;
....@@ -469,7 +469,9 @@
469469 rx_delay = <0x2f>;
470470
471471 phy-handle = <&rgmii_phy0>;
472
+
472473 status = "disabled";
474
+
473475 };
474476
475477 &gmac1 {
....@@ -503,9 +505,7 @@
503505 * power-supply should switche to vcc3v3_lcd1_n
504506 * when mipi panel is connected to dsi1.
505507 */
506
-&gt1x {
507
- power-supply = <&vcc3v3_lcd0_n>;
508
-};
508
+
509509
510510 &i2c3 {
511511 status = "okay";
....@@ -524,7 +524,7 @@
524524 };
525525
526526 &i2c4 {
527
- status = "okay";
527
+ status = "disabled";
528528 gc8034: gc8034@37 {
529529 compatible = "galaxycore,gc8034";
530530 status = "okay";
....@@ -536,7 +536,6 @@
536536 reset-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_LOW>;
537537 pwdn-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;
538538 rockchip,grf = <&grf>;
539
- power-domains = <&power RK3568_PD_VI>;
540539 rockchip,camera-module-index = <0>;
541540 rockchip,camera-module-facing = "back";
542541 rockchip,camera-module-name = "RK-CMK-8M-2-v1";
....@@ -570,7 +569,7 @@
570569 };
571570 };
572571 ov5695: ov5695@36 {
573
- status = "okay";
572
+ status = "disabled";
574573 compatible = "ovti,ov5695";
575574 reg = <0x36>;
576575 clocks = <&cru CLK_CIF_OUT>;
....@@ -674,7 +673,7 @@
674673 <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
675674 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>,
676675 <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>,
677
- <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
676
+ <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
678677 <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,
679678 <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>,
680679 <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>,
....@@ -713,8 +712,6 @@
713712 };
714713 };
715714 };
716
-
717
-
718715
719716
720717