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
....@@ -145,7 +145,7 @@
145145 gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8
146146 gpio_function = <0>;
147147 };
148
-
148
+ #if 0
149149 do1 {
150150 gpio_num = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>;
151151 gpio_function = <0>;
....@@ -185,6 +185,7 @@
185185 gpio_num = <&gpio2 RK_PD5 GPIO_ACTIVE_HIGH>;
186186 gpio_function = <1>;
187187 };
188
+ #endif
188189 };
189190 #if 0
190191 nk_io_init {
....@@ -379,12 +380,12 @@
379380 remote-endpoint = <&panel_in>;
380381 };
381382 };
382
- };
383
+
384
+ };
383385 };
384386
385387 &edp_phy {
386
- status = "okay";
387
-
388
+ status = "okay";
388389 };
389390
390391 &edp_in_vp0 {
....@@ -448,7 +449,7 @@
448449 phy-mode = "rgmii";
449450 clock_in_out = "output";
450451
451
- snps,reset-gpio = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
452
+ snps,reset-gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
452453 snps,reset-active-low;
453454 /* Reset time is 20ms, 100ms for rtl8211f */
454455 snps,reset-delays-us = <0 20000 100000>;
....@@ -468,7 +469,9 @@
468469 rx_delay = <0x2f>;
469470
470471 phy-handle = <&rgmii_phy0>;
472
+
471473 status = "disabled";
474
+
472475 };
473476
474477 &gmac1 {
....@@ -502,9 +505,7 @@
502505 * power-supply should switche to vcc3v3_lcd1_n
503506 * when mipi panel is connected to dsi1.
504507 */
505
-&gt1x {
506
- power-supply = <&vcc3v3_lcd0_n>;
507
-};
508
+
508509
509510 &i2c3 {
510511 status = "okay";
....@@ -523,7 +524,7 @@
523524 };
524525
525526 &i2c4 {
526
- status = "okay";
527
+ status = "disabled";
527528 gc8034: gc8034@37 {
528529 compatible = "galaxycore,gc8034";
529530 status = "okay";
....@@ -535,7 +536,6 @@
535536 reset-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_LOW>;
536537 pwdn-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;
537538 rockchip,grf = <&grf>;
538
- power-domains = <&power RK3568_PD_VI>;
539539 rockchip,camera-module-index = <0>;
540540 rockchip,camera-module-facing = "back";
541541 rockchip,camera-module-name = "RK-CMK-8M-2-v1";
....@@ -569,7 +569,7 @@
569569 };
570570 };
571571 ov5695: ov5695@36 {
572
- status = "okay";
572
+ status = "disabled";
573573 compatible = "ovti,ov5695";
574574 reg = <0x36>;
575575 clocks = <&cru CLK_CIF_OUT>;
....@@ -673,7 +673,7 @@
673673 <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
674674 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>,
675675 <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>,
676
- <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
676
+ <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
677677 <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,
678678 <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>,
679679 <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>,
....@@ -712,8 +712,6 @@
712712 };
713713 };
714714 };
715
-
716
-
717715
718716
719717