hc
2024-08-16 62c46c9150c4afde7e5b25436263fddf79d66f0b
kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi
....@@ -134,7 +134,7 @@
134134 rk_headset: rk-headset {
135135 status = "okay";
136136 compatible = "rockchip_headset";
137
- headset_gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;//HP_DET_L_GPIO3_D5_d_3V3
137
+ headset_gpio = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;//HP_DET_L_GPIO3_D5_d_3V3
138138 spk_ctl_gpio = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;//SPK_CTL_GPIO4_B4_u_3V3
139139 pinctrl-names = "default";
140140 pinctrl-0 = <&hp_det>;
....@@ -365,13 +365,13 @@
365365 };
366366
367367 &backlight {
368
- pwms = <&pwm10 0 25000 0>;
368
+ pwms = <&pwm3 0 25000 0>;
369369 status = "okay";
370370 };
371371
372372 &backlight1 {
373373 pwms = <&pwm11 0 25000 0>;
374
- status = "okay";
374
+ status = "disabled";
375375 };
376376
377377 &combphy0_ps {
....@@ -517,12 +517,12 @@
517517
518518 /* Should work with at least 128MB cma reserved above. */
519519 &hdmirx_ctrler {
520
- status = "disabled";
520
+ status = "okay";
521521
522522 #sound-dai-cells = <1>;
523523 /* Effective level used to trigger HPD: 0-low, 1-high */
524524 hpd-trigger-level = <1>;
525
- hdmirx-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
525
+ hdmirx-det-gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_LOW>;
526526 pinctrl-names = "default";
527527 pinctrl-0 = <&hdmim1_rx &hdmirx_det>;
528528 };
....@@ -890,13 +890,13 @@
890890
891891 hdmi {
892892 hdmirx_det: hdmirx-det {
893
- rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>;
893
+ rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up>;
894894 };
895895 };
896896
897897 headphone {
898898 hp_det: hp-det {
899
- rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
899
+ rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
900900 };
901901
902902 spk_con: spk-con {
....@@ -975,23 +975,21 @@
975975 <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>,
976976 <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>,
977977 <2 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>,
978
- <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>, //vcc_5v
979
- <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>, //I2C4_SDA_M2_3V3
980
- <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>, //I2C4_SCL_M2_3V3
981
- <4 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>, //I2C5_SDA_M2_3V3
982
- <4 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>, //I2C5_SCL_M2_3V3
983
- <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_MISO_M2_1V8
984
- <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_MISO_M2_1V8
985
- <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_CLK_M2_1V8
986
- <1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_CS0_M2_1V8
987
- <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>, //SPI4_MISO_M2_1V8
988
- <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; //SPI4_MOSI_M2_1V8
978
+ <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>, //vcc_5v
979
+ <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_MISO_M2_1V8 41
980
+ <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>, //SPI4_MISO_M2_1V8 32
981
+ <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_MOSI_M2_3V3 42
982
+ <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>, //SPI4_MOSI_M2_1V8 33
983
+ <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_CLK_M2_1V8 43
984
+ <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>, //SPI4_CLK_M2_1V8 34
985
+ <1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_CS0_M2_1V8 44
986
+ <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; //SPI4_CS0_M2_1V8 35
989987 };
990988 };
991989 };
992990 &pwm3 {
993
- pinctrl-0 = <&pwm3m1_pins>;
994991 status = "okay";
992
+ pinctrl-0 = <&pwm3m1_pins>;
995993 };
996994
997995 &route_dsi0 {
....@@ -1005,12 +1003,12 @@
10051003 };
10061004
10071005 &pwm10 {
1008
- status = "okay";
1006
+ status = "disabled";
10091007 pinctrl-0 = <&pwm10m2_pins>;
10101008 };
10111009
10121010 &pwm11 {
1013
- status = "okay";
1011
+ status = "disabled";
10141012 pinctrl-0 = <&pwm11m3_pins>;
10151013 };
10161014
....@@ -1024,6 +1022,10 @@
10241022
10251023 &sata0 {
10261024 status = "disabled";
1025
+};
1026
+
1027
+&sata2 {
1028
+ status = "okay";
10271029 };
10281030
10291031 &sdio {
....@@ -1153,6 +1155,8 @@
11531155
11541156 &can0 {
11551157 status = "okay";
1158
+ pinctrl-names = "default";
1159
+ pinctrl-0 = <&can0m0_pins>;
11561160 };
11571161
11581162