.. | .. |
---|
409 | 409 | compatible = "x-powers,axp803-usb-power-supply"; |
---|
410 | 410 | status = "okay"; |
---|
411 | 411 | |
---|
412 | | - pmu_usbpc_vol = <5000>; |
---|
413 | | - pmu_usbpc_cur = <5000>; |
---|
414 | | - pmu_usbad_vol = <5000>; |
---|
415 | | - pmu_usbad_cur = <5000>; |
---|
| 412 | + pmu_usbpc_vol = <4600>; |
---|
| 413 | + pmu_usbpc_cur = <2500>; |
---|
| 414 | + pmu_usbad_vol = <4600>; |
---|
| 415 | + pmu_usbad_cur = <2500>; |
---|
416 | 416 | |
---|
417 | 417 | wakeup_usb_in; |
---|
418 | 418 | wakeup_usb_out; |
---|
.. | .. |
---|
423 | 423 | status = "okay"; |
---|
424 | 424 | |
---|
425 | 425 | pmu_chg_ic_temp = <0>; |
---|
426 | | - pmu_battery_rdc= <93>; |
---|
427 | | - pmu_battery_cap = <5000>; |
---|
| 426 | + pmu_battery_rdc= <50>; |
---|
| 427 | + pmu_battery_cap = <8000>; |
---|
428 | 428 | pmu_runtime_chgcur = <1000>; |
---|
429 | 429 | pmu_suspend_chgcur = <2000>; |
---|
430 | 430 | pmu_shutdown_chgcur = <2000>; |
---|
431 | | - pmu_init_chgvol = <4200>; |
---|
| 431 | + pmu_init_chgvol = <4280>; |
---|
432 | 432 | pmu_battery_warning_level1 = <15>; |
---|
433 | 433 | pmu_battery_warning_level2 = <0>; |
---|
434 | 434 | pmu_chgled_func = <1>; |
---|
435 | 435 | pmu_chgled_type = <0>; |
---|
436 | 436 | ocv_coulumb_100 = <1>; |
---|
437 | 437 | pmu_bat_para1 = <0>; |
---|
438 | | - pmu_bat_para2 = <0>; |
---|
439 | | - pmu_bat_para3 = <0>; |
---|
440 | | - pmu_bat_para4 = <0>; |
---|
| 438 | + pmu_bat_para2 = <3>; |
---|
| 439 | + pmu_bat_para3 = <4>; |
---|
| 440 | + pmu_bat_para4 = <5>; |
---|
441 | 441 | pmu_bat_para5 = <6>; |
---|
442 | 442 | pmu_bat_para6 = <8>; |
---|
443 | 443 | pmu_bat_para7 = <9>; |
---|
.. | .. |
---|
455 | 455 | pmu_bat_para19 = <65>; |
---|
456 | 456 | pmu_bat_para20 = <70>; |
---|
457 | 457 | pmu_bat_para21 = <75>; |
---|
458 | | - pmu_bat_para22 = <80>; |
---|
459 | | - pmu_bat_para23 = <83>; |
---|
460 | | - pmu_bat_para24 = <88>; |
---|
461 | | - pmu_bat_para25 = <92>; |
---|
462 | | - pmu_bat_para26 = <97>; |
---|
463 | | - pmu_bat_para27 = <100>; |
---|
464 | | - pmu_bat_para28 = <100>; |
---|
465 | | - pmu_bat_para29 = <100>; |
---|
466 | | - pmu_bat_para30 = <100>; |
---|
467 | | - pmu_bat_para31 = <100>; |
---|
| 458 | + pmu_bat_para22 = <76>; |
---|
| 459 | + pmu_bat_para23 = <77>; |
---|
| 460 | + pmu_bat_para24 = <78>; |
---|
| 461 | + pmu_bat_para25 = <79>; |
---|
| 462 | + pmu_bat_para26 = <80>; |
---|
| 463 | + pmu_bat_para27 = <83>; |
---|
| 464 | + pmu_bat_para28 = <85>; |
---|
| 465 | + pmu_bat_para29 = <88>; |
---|
| 466 | + pmu_bat_para30 = <90>; |
---|
| 467 | + pmu_bat_para31 = <95>; |
---|
468 | 468 | pmu_bat_para32 = <100>; |
---|
469 | 469 | |
---|
470 | 470 | pmu_bat_temp_enable = <0>; |
---|
.. | .. |
---|
490 | 490 | pmu_bat_temp_para16 = <66>; |
---|
491 | 491 | |
---|
492 | 492 | wakeup_bat_out; |
---|
493 | | - /* wakeup_bat_in; */ |
---|
| 493 | + wakeup_bat_in; |
---|
494 | 494 | /* wakeup_bat_charging; */ |
---|
495 | 495 | /* wakeup_bat_charge_over; */ |
---|
496 | 496 | /* wakeup_low_warning1; */ |
---|
.. | .. |
---|
504 | 504 | powerkey0: powerkey@0 { |
---|
505 | 505 | status = "okay"; |
---|
506 | 506 | compatible = "x-powers,axp2101-pek"; |
---|
507 | | - pmu_powkey_off_time = <6000>; |
---|
| 507 | + pmu_powkey_off_time = <8000>; |
---|
508 | 508 | pmu_powkey_off_func = <0>; |
---|
509 | 509 | pmu_powkey_off_en = <1>; |
---|
510 | 510 | pmu_powkey_long_time = <1500>; |
---|
.. | .. |
---|
941 | 941 | /*sd-uhs-sdr25*/ |
---|
942 | 942 | sd-uhs-sdr50; |
---|
943 | 943 | sd-uhs-ddr50; |
---|
944 | | - sd-uhs-sdr104; |
---|
| 944 | + //sd-uhs-sdr104; |
---|
945 | 945 | // kickpi |
---|
946 | 946 | //sunxi-power-save-mode; |
---|
947 | 947 | /*sunxi-dis-signal-vol-sw;*/ |
---|
.. | .. |
---|
972 | 972 | lineout_vol = <0x1a>; |
---|
973 | 973 | headphonegain = <0x00>; |
---|
974 | 974 | /* Pa enabled about */ |
---|
975 | | - pa_level = <0x00>; |
---|
| 975 | + pa_level = <0x01>; |
---|
976 | 976 | pa_msleep_time = <0x78>; |
---|
977 | | - //gpio-spk = <&pio PB 7 1 1 1 1>; |
---|
| 977 | + gpio-spk = <&pio PB 7 1 1 1 1>; |
---|
978 | 978 | /* regulator about */ |
---|
979 | 979 | avcc-supply = <®_aldo1>; |
---|
980 | 980 | cpvin-supply = <®_eldo1>; |
---|
.. | .. |
---|
1315 | 1315 | uart4: uart@05001000 { |
---|
1316 | 1316 | status = "okay"; |
---|
1317 | 1317 | }; |
---|
| 1318 | + |
---|
| 1319 | + uart7: uart@07080000 { |
---|
| 1320 | + status = "okay"; |
---|
| 1321 | + }; |
---|
1318 | 1322 | }; |
---|
1319 | 1323 | gpu: gpu@0x01800000 { |
---|
1320 | 1324 | gpu_idle = <1>;/*ic version ctrl*/ |
---|
.. | .. |
---|
1336 | 1340 | pinctrl-names = "default"; |
---|
1337 | 1341 | status = "okay"; |
---|
1338 | 1342 | |
---|
1339 | | - sysled { |
---|
1340 | | - label = "sysled"; |
---|
1341 | | - gpios = <&r_pio PL 10 1 0 1 1>; |
---|
| 1343 | + work-led { |
---|
| 1344 | + label = "work-led"; |
---|
| 1345 | + gpios = <&r_pio PL 10 1 0 1 0>; |
---|
1342 | 1346 | linux,default_trigger = "heartbeat"; |
---|
1343 | 1347 | }; |
---|
1344 | 1348 | |
---|
1345 | | - spk_en { |
---|
1346 | | - label = "spk_en"; |
---|
1347 | | - gpios = <&pio PB 7 1 0 1 0>; |
---|
1348 | | - linux,default_trigger = "default-on"; |
---|
1349 | | - }; |
---|
| 1349 | + // spk_en { |
---|
| 1350 | + // label = "spk_en"; |
---|
| 1351 | + // gpios = <&pio PB 7 1 0 1 0>; |
---|
| 1352 | + // linux,default_trigger = "default-on"; |
---|
| 1353 | + // }; |
---|
1350 | 1354 | |
---|
1351 | 1355 | fan_en { |
---|
1352 | 1356 | label = "fan_en"; |
---|
.. | .. |
---|
1390 | 1394 | linux,default_trigger = "default-on"; |
---|
1391 | 1395 | }; |
---|
1392 | 1396 | |
---|
1393 | | - PL2 { |
---|
1394 | | - label = "PL2"; |
---|
1395 | | - gpios = <&r_pio PL 2 1 0 1 0>; |
---|
1396 | | - linux,default_trigger = "default-on"; |
---|
1397 | | - }; |
---|
| 1397 | + // PL2 { |
---|
| 1398 | + // label = "PL2"; |
---|
| 1399 | + // gpios = <&r_pio PL 2 1 0 1 0>; |
---|
| 1400 | + // linux,default_trigger = "default-on"; |
---|
| 1401 | + // }; |
---|
1398 | 1402 | |
---|
1399 | | - PL3 { |
---|
1400 | | - label = "PL3"; |
---|
1401 | | - gpios = <&r_pio PL 3 1 0 1 0>; |
---|
1402 | | - linux,default_trigger = "default-on"; |
---|
1403 | | - }; |
---|
| 1403 | + // PL3 { |
---|
| 1404 | + // label = "PL3"; |
---|
| 1405 | + // gpios = <&r_pio PL 3 1 0 1 0>; |
---|
| 1406 | + // linux,default_trigger = "default-on"; |
---|
| 1407 | + // }; |
---|
1404 | 1408 | |
---|
1405 | 1409 | PL4 { |
---|
1406 | 1410 | label = "PL4"; |
---|
.. | .. |
---|
1444 | 1448 | rx-delay = <7>; |
---|
1445 | 1449 | }; |
---|
1446 | 1450 | |
---|
1447 | | - |
---|
| 1451 | +//#include "lcd-lvds-7-1024-600.dtsi" |
---|
1448 | 1452 | //#include "lcd-lvds-21-1920-1080.dtsi" |
---|
1449 | | -#include "lcd-lvds-7-1024-600.dtsi" |
---|
1450 | | -//#include "lcd-mipi-10-800-1280.dtsi" |
---|
| 1453 | +//#include "lcd-mipi-10-800-1280-v1.dtsi" |
---|
| 1454 | +#include "lcd-mipi-10-800-1280-v2.dtsi" |
---|
1451 | 1455 | //#include "lcd-mipi-8-800-1280.dtsi" |
---|
1452 | 1456 | //#include "lcd-mipi-5-720-1280.dtsi" |
---|
| 1457 | + |
---|
| 1458 | +#include "a133-kickpi-axp707-bat-5000mA.dtsi" |
---|