huangcm
2025-09-01 53d8e046ac1bf2ebe94f671983e3d3be059df91a
longan/device/config/chips/a133/configs/c3/kickpi-k5c.dts
....@@ -17,15 +17,15 @@
1717 standby_param = &standby_param;
1818 };
1919
20
- reg_usb1_vbus: usb1-vbus {
20
+ reg_usb1_vbus: usb1-vbus {
2121 compatible = "regulator-fixed";
22
- gpio = <&r_pio PL 8 1 2 0 1>;
22
+ //gpio = <&r_pio PL 8 1 2 0 1>;
2323 regulator-name = "usb1-vbus";
2424 regulator-min-microvolt = <5000000>;
2525 regulator-max-microvolt = <5000000>;
2626 regulator-enable-ramp-delay = <1000>;
2727 enable-active-high;
28
- };
28
+ };
2929
3030 soc: soc@03000000 {
3131
....@@ -410,9 +410,9 @@
410410 status = "okay";
411411
412412 pmu_usbpc_vol = <4600>;
413
- pmu_usbpc_cur = <2500>;
413
+ pmu_usbpc_cur = <3000>;
414414 pmu_usbad_vol = <4600>;
415
- pmu_usbad_cur = <2500>;
415
+ pmu_usbad_cur = <3000>;
416416
417417 wakeup_usb_in;
418418 wakeup_usb_out;
....@@ -425,9 +425,9 @@
425425 pmu_chg_ic_temp = <0>;
426426 pmu_battery_rdc= <50>;
427427 pmu_battery_cap = <8000>;
428
- pmu_runtime_chgcur = <1000>;
429
- pmu_suspend_chgcur = <2000>;
430
- pmu_shutdown_chgcur = <2000>;
428
+ pmu_runtime_chgcur = <2800>;
429
+ pmu_suspend_chgcur = <2800>;
430
+ pmu_shutdown_chgcur = <2800>;
431431 pmu_init_chgvol = <4280>;
432432 pmu_battery_warning_level1 = <15>;
433433 pmu_battery_warning_level2 = <0>;
....@@ -924,13 +924,13 @@
924924 status = "okay";
925925 };
926926
927
- ehci1:ehci1-controller@0x05200000 {
927
+ ehci1:ehci1-controller@0x05200000 {
928928 drvvbus-supply = <&reg_usb1_vbus>;
929929 };
930930
931931 ohci1:ohci1-controller@0x05200400 {
932932 drvvbus-supply = <&reg_usb1_vbus>;
933
- };
933
+ };
934934
935935 sdc1: sdmmc@04021000 {
936936 bus-width = <4>;
....@@ -1340,6 +1340,12 @@
13401340 pinctrl-names = "default";
13411341 status = "okay";
13421342
1343
+ usb_vbus {
1344
+ abel = "usb_vbus";
1345
+ gpios = <&r_pio PL 8 1 2 0 1>;
1346
+ linux,default_trigger = "default-on";
1347
+ };
1348
+
13431349 work-led {
13441350 label = "work-led";
13451351 gpios = <&r_pio PL 10 1 0 1 0>;
....@@ -1451,8 +1457,10 @@
14511457 //#include "lcd-lvds-7-1024-600.dtsi"
14521458 //#include "lcd-lvds-21-1920-1080.dtsi"
14531459 //#include "lcd-mipi-10-800-1280-v1.dtsi"
1454
-#include "lcd-mipi-10-800-1280-v2.dtsi"
1460
+//#include "lcd-mipi-10-800-1280-v2.dtsi"
14551461 //#include "lcd-mipi-8-800-1280.dtsi"
1456
-//#include "lcd-mipi-5-720-1280.dtsi"
1462
+#include "lcd-mipi-5-720-1280.dtsi"
14571463
1458
-#include "a133-kickpi-axp707-bat-5000mA.dtsi"
1464
+//#include "a133-kickpi-axp707-bat-5000mA.dtsi"
1465
+#include "a133-kickpi-axp707-bat-8000mA.dtsi"
1466
+