liyujie
2025-08-29 87c7c0d90966d729ca3d39cbfca77a39a43960eb
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
....@@ -401,8 +401,8 @@
401401 pmu_ac_vol = <4600>;
402402 pmu_ac_cur = <3000>;
403403
404
- // wakeup_ac_in;
405
- // wakeup_ac_out;
404
+ wakeup_ac_in;
405
+ wakeup_ac_out;
406406 };
407407
408408 usb_power_supply: usb_power_supply {
....@@ -414,8 +414,8 @@
414414 pmu_usbad_vol = <4600>;
415415 pmu_usbad_cur = <2500>;
416416
417
- // wakeup_usb_in;
418
- // wakeup_usb_out;
417
+ wakeup_usb_in;
418
+ wakeup_usb_out;
419419 };
420420
421421 battery_power_supply: battery-power-supply {
....@@ -490,7 +490,7 @@
490490 pmu_bat_temp_para16 = <66>;
491491
492492 wakeup_bat_out;
493
- /* wakeup_bat_in; */
493
+ wakeup_bat_in;
494494 /* wakeup_bat_charging; */
495495 /* wakeup_bat_charge_over; */
496496 /* wakeup_low_warning1; */
....@@ -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>;
....@@ -941,7 +941,7 @@
941941 /*sd-uhs-sdr25*/
942942 sd-uhs-sdr50;
943943 sd-uhs-ddr50;
944
- sd-uhs-sdr104;
944
+ //sd-uhs-sdr104;
945945 // kickpi
946946 //sunxi-power-save-mode;
947947 /*sunxi-dis-signal-vol-sw;*/
....@@ -1316,9 +1316,9 @@
13161316 status = "okay";
13171317 };
13181318
1319
- uart7: uart@07080000 {
1320
- status = "okay";
1321
- };
1319
+ uart7: uart@07080000 {
1320
+ status = "okay";
1321
+ };
13221322 };
13231323 gpu: gpu@0x01800000 {
13241324 gpu_idle = <1>;/*ic version ctrl*/
....@@ -1339,6 +1339,12 @@
13391339 compatible = "gpio-leds";
13401340 pinctrl-names = "default";
13411341 status = "okay";
1342
+
1343
+ usb_vbus {
1344
+ abel = "usb_vbus";
1345
+ gpios = <&r_pio PL 8 1 2 0 1>;
1346
+ linux,default_trigger = "default-on";
1347
+ };
13421348
13431349 work-led {
13441350 label = "work-led";
....@@ -1448,9 +1454,11 @@
14481454 rx-delay = <7>;
14491455 };
14501456
1451
-#include "lcd-lvds-7-1024-600.dtsi"
1457
+//#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"
14561462 //#include "lcd-mipi-5-720-1280.dtsi"
1463
+
1464
+#include "a133-kickpi-axp707-bat-5000mA.dtsi"