|
26 | 26 |
|
27 | 27 | /delete-node/ chosen;
|
28 | 28 |
|
| 29 | + fan0: pwm-fan { |
| 30 | + compatible = "pwm-fan"; |
| 31 | + #cooling-cells = <2>; |
| 32 | + cooling-levels = <0 64 128 192 255>; |
| 33 | + pwms = <&pwm14 0 10000 0>; |
| 34 | + }; |
| 35 | + |
29 | 36 | vcc12v_dcin: vcc12v-dcin {
|
30 | 37 | compatible = "regulator-fixed";
|
31 | 38 | regulator-name = "vcc12v_dcin";
|
|
114 | 121 | dp0_sound: dp0-sound {
|
115 | 122 | status = "okay";
|
116 | 123 | compatible = "rockchip,hdmi";
|
117 |
| - rockchip,card-name = "rockchip-dp0"; |
| 124 | + rockchip,card-name = "rockchip-hdmi0"; |
118 | 125 | rockchip,mclk-fs = <512>;
|
119 | 126 | rockchip,cpu = <&spdif_tx2>;
|
120 | 127 | rockchip,codec = <&dp0 1>;
|
|
124 | 131 | dp1_sound: dp1-sound {
|
125 | 132 | status = "okay";
|
126 | 133 | compatible = "rockchip,hdmi";
|
127 |
| - rockchip,card-name = "rockchip-dp1"; |
| 134 | + rockchip,card-name = "rockchip-hdmi2"; |
128 | 135 | rockchip,mclk-fs = <512>;
|
129 | 136 | rockchip,cpu = <&spdif_tx5>;
|
130 | 137 | rockchip,codec = <&dp1 1>;
|
|
175 | 182 | vbus5v0_typec: vbus5v0-typec {
|
176 | 183 | compatible = "regulator-fixed";
|
177 | 184 | regulator-name = "vbus5v0_typec";
|
178 |
| - gpio = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>; |
| 185 | + gpio = <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>; |
179 | 186 | pinctrl-names = "default";
|
180 | 187 | pinctrl-0 = <&vbus5v0_typec_en>;
|
181 | 188 | enable-active-high;
|
|
255 | 262 | rockchip,codec = <&hdmirx_ctrler 0>;
|
256 | 263 | rockchip,jack-det;
|
257 | 264 | };
|
| 265 | + |
| 266 | + gpio-leds { |
| 267 | + compatible = "gpio-leds"; |
| 268 | + pinctrl-names = "default"; |
| 269 | + |
| 270 | + power-led1 { |
| 271 | + gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; |
| 272 | + linux,default-trigger = "default-on"; |
| 273 | + }; |
| 274 | + |
| 275 | + user-led2 { |
| 276 | + gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>; |
| 277 | + linux,default-trigger = "heartbeat"; |
| 278 | + }; |
| 279 | + }; |
258 | 280 | };
|
259 | 281 |
|
260 | 282 | &av1d {
|
|
552 | 574 | compatible = "brcm,bcm4345c5";
|
553 | 575 | clocks = <&hym8563>;
|
554 | 576 | clock-names = "ext_clock";
|
555 |
| - host-wakeup-gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; |
| 577 | + host-wakeup-gpios = <&gpio4 RK_PC5 GPIO_ACTIVE_HIGH>; |
556 | 578 | shutdown-gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
|
557 | 579 | max-speed = <1500000>;
|
558 | 580 | pinctrl-names = "default";
|
|
566 | 588 | };
|
567 | 589 |
|
568 | 590 | &display_subsystem {
|
569 |
| - clocks = <&hdptxphy_hdmi_clk1>; |
570 |
| - clock-names = "hdmi1_phy_pll"; |
571 |
| - |
| 591 | + clocks = <&hdptxphy_hdmi_clk0>, <&hdptxphy_hdmi_clk1>; |
| 592 | + clock-names = "hdmi0_phy_pll", "hdmi1_phy_pll"; |
572 | 593 | route {
|
573 | 594 | route_hdmi1: route-hdmi1 {
|
574 | 595 | status = "okay";
|
575 | 596 | logo,uboot = "logo.bmp";
|
576 | 597 | logo,kernel = "logo_kernel.bmp";
|
577 | 598 | logo,mode = "center";
|
578 | 599 | charge_logo,mode = "center";
|
579 |
| - connect = <&vp1_out_hdmi1>; |
| 600 | + connect = <&vp0_out_hdmi1>; |
580 | 601 | };
|
581 | 602 | };
|
582 | 603 | };
|
583 | 604 |
|
| 605 | +&hdptxphy_hdmi_clk0 { |
| 606 | + status = "okay"; |
| 607 | +}; |
| 608 | + |
584 | 609 | &hdptxphy_hdmi_clk1 {
|
585 | 610 | status = "okay";
|
586 | 611 | };
|
|
621 | 646 | pinctrl-names = "default";
|
622 | 647 | };
|
623 | 648 |
|
| 649 | +&hdptxphy_hdmi0 { |
| 650 | + status = "okay"; |
| 651 | +}; |
| 652 | + |
624 | 653 | &hdptxphy_hdmi1 {
|
625 | 654 | status = "okay";
|
626 | 655 | };
|
|
706 | 735 | status = "okay";
|
707 | 736 | };
|
708 | 737 |
|
709 |
| -&usbhost3_0 { |
710 |
| - status = "okay"; |
711 |
| -}; |
712 |
| - |
713 |
| -&usbhost_dwc3_0 { |
714 |
| - status = "okay"; |
715 |
| -}; |
716 |
| - |
717 | 738 | &combphy2_psu {
|
718 | 739 | status = "okay";
|
719 | 740 | };
|
|
986 | 1007 |
|
987 | 1008 | &soc_thermal {
|
988 | 1009 | sustainable-power = <5000>; /* milliwatts */
|
| 1010 | + cooling-maps { |
| 1011 | + map3 { |
| 1012 | + trip = <&target>; |
| 1013 | + cooling-device = |
| 1014 | + <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 1015 | + contribution = <8192>; |
| 1016 | + }; |
| 1017 | + map4 { |
| 1018 | + trip = <&threshold>; |
| 1019 | + cooling-device = |
| 1020 | + <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 1021 | + contribution = <8192>; |
| 1022 | + }; |
| 1023 | + }; |
989 | 1024 | };
|
990 | 1025 |
|
991 | 1026 | &i2c6 {
|
|
1085 | 1120 | };
|
1086 | 1121 | };
|
1087 | 1122 |
|
| 1123 | +&vdd_0v75_s0 { |
| 1124 | + regulator-state-mem { |
| 1125 | + regulator-on-in-suspend; |
| 1126 | + regulator-suspend-microvolt = <750000>; |
| 1127 | + }; |
| 1128 | +}; |
| 1129 | + |
1088 | 1130 | &avcc_1v8_s0 {
|
1089 | 1131 | regulator-state-mem {
|
1090 | 1132 | regulator-on-in-suspend;
|
|
1137 | 1179 | };
|
1138 | 1180 |
|
1139 | 1181 | vbus5v0_typec_en: vbus5v0-typec-en {
|
1140 |
| - rockchip,pins = <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; |
| 1182 | + rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; |
1141 | 1183 | };
|
1142 | 1184 | };
|
1143 | 1185 |
|
|
1149 | 1191 |
|
1150 | 1192 | headphone {
|
1151 | 1193 | hp_det: hp-det {
|
1152 |
| - rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none_drv_level_8>; |
| 1194 | + rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_down>; |
1153 | 1195 | };
|
1154 | 1196 | };
|
1155 | 1197 |
|
|
1173 | 1215 |
|
1174 | 1216 | bt {
|
1175 | 1217 | bt_enable_h: bt-enable-h {
|
1176 |
| - rockchip,pins = <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; |
| 1218 | + rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; |
1177 | 1219 | };
|
1178 | 1220 |
|
1179 | 1221 | bt_host_wake_l: bt-host-wake-l {
|
1180 | 1222 | rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
|
1181 | 1223 | };
|
1182 | 1224 |
|
1183 | 1225 | bt_wake_l: bt-wake-l {
|
1184 |
| - rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 1226 | + rockchip,pins = <4 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; |
1185 | 1227 | };
|
1186 | 1228 | };
|
1187 | 1229 |
|
|
0 commit comments