.. | .. |
---|
17 | 17 | standby_param = &standby_param; |
---|
18 | 18 | }; |
---|
19 | 19 | |
---|
20 | | - reg_usb1_vbus: usb1-vbus { |
---|
| 20 | + reg_usb1_vbus: usb1-vbus { |
---|
21 | 21 | compatible = "regulator-fixed"; |
---|
22 | | - gpio = <&r_pio PL 8 1 2 0 1>; |
---|
| 22 | + //gpio = <&r_pio PL 8 1 2 0 1>; |
---|
23 | 23 | regulator-name = "usb1-vbus"; |
---|
24 | 24 | regulator-min-microvolt = <5000000>; |
---|
25 | 25 | regulator-max-microvolt = <5000000>; |
---|
26 | 26 | regulator-enable-ramp-delay = <1000>; |
---|
27 | 27 | enable-active-high; |
---|
28 | | - }; |
---|
| 28 | + }; |
---|
29 | 29 | |
---|
30 | 30 | soc: soc@03000000 { |
---|
31 | 31 | |
---|
.. | .. |
---|
401 | 401 | pmu_ac_vol = <4600>; |
---|
402 | 402 | pmu_ac_cur = <3000>; |
---|
403 | 403 | |
---|
404 | | - // wakeup_ac_in; |
---|
405 | | - // wakeup_ac_out; |
---|
| 404 | + wakeup_ac_in; |
---|
| 405 | + wakeup_ac_out; |
---|
406 | 406 | }; |
---|
407 | 407 | |
---|
408 | 408 | usb_power_supply: usb_power_supply { |
---|
.. | .. |
---|
410 | 410 | status = "okay"; |
---|
411 | 411 | |
---|
412 | 412 | pmu_usbpc_vol = <4600>; |
---|
413 | | - pmu_usbpc_cur = <2500>; |
---|
| 413 | + pmu_usbpc_cur = <3000>; |
---|
414 | 414 | pmu_usbad_vol = <4600>; |
---|
415 | | - pmu_usbad_cur = <2500>; |
---|
| 415 | + pmu_usbad_cur = <3000>; |
---|
416 | 416 | |
---|
417 | | - // wakeup_usb_in; |
---|
418 | | - // wakeup_usb_out; |
---|
| 417 | + wakeup_usb_in; |
---|
| 418 | + wakeup_usb_out; |
---|
419 | 419 | }; |
---|
420 | 420 | |
---|
421 | 421 | battery_power_supply: battery-power-supply { |
---|
.. | .. |
---|
425 | 425 | pmu_chg_ic_temp = <0>; |
---|
426 | 426 | pmu_battery_rdc= <50>; |
---|
427 | 427 | 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>; |
---|
431 | 431 | pmu_init_chgvol = <4280>; |
---|
432 | 432 | pmu_battery_warning_level1 = <15>; |
---|
433 | 433 | pmu_battery_warning_level2 = <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>; |
---|
.. | .. |
---|
924 | 924 | status = "okay"; |
---|
925 | 925 | }; |
---|
926 | 926 | |
---|
927 | | - ehci1:ehci1-controller@0x05200000 { |
---|
| 927 | + ehci1:ehci1-controller@0x05200000 { |
---|
928 | 928 | drvvbus-supply = <®_usb1_vbus>; |
---|
929 | 929 | }; |
---|
930 | 930 | |
---|
931 | 931 | ohci1:ohci1-controller@0x05200400 { |
---|
932 | 932 | drvvbus-supply = <®_usb1_vbus>; |
---|
933 | | - }; |
---|
| 933 | + }; |
---|
934 | 934 | |
---|
935 | 935 | sdc1: sdmmc@04021000 { |
---|
936 | 936 | bus-width = <4>; |
---|
.. | .. |
---|
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 | |
---|
| 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 | + |
---|
1339 | 1349 | work-led { |
---|
1340 | 1350 | label = "work-led"; |
---|
1341 | 1351 | gpios = <&r_pio PL 10 1 0 1 0>; |
---|
1342 | 1352 | linux,default_trigger = "heartbeat"; |
---|
1343 | 1353 | }; |
---|
1344 | 1354 | |
---|
1345 | | - spk_en { |
---|
1346 | | - label = "spk_en"; |
---|
1347 | | - gpios = <&pio PB 7 1 0 1 0>; |
---|
1348 | | - linux,default_trigger = "default-on"; |
---|
1349 | | - }; |
---|
| 1355 | + // spk_en { |
---|
| 1356 | + // label = "spk_en"; |
---|
| 1357 | + // gpios = <&pio PB 7 1 0 1 0>; |
---|
| 1358 | + // linux,default_trigger = "default-on"; |
---|
| 1359 | + // }; |
---|
1350 | 1360 | |
---|
1351 | 1361 | fan_en { |
---|
1352 | 1362 | label = "fan_en"; |
---|
.. | .. |
---|
1390 | 1400 | linux,default_trigger = "default-on"; |
---|
1391 | 1401 | }; |
---|
1392 | 1402 | |
---|
1393 | | - PL2 { |
---|
1394 | | - label = "PL2"; |
---|
1395 | | - gpios = <&r_pio PL 2 1 0 1 0>; |
---|
1396 | | - linux,default_trigger = "default-on"; |
---|
1397 | | - }; |
---|
| 1403 | + // PL2 { |
---|
| 1404 | + // label = "PL2"; |
---|
| 1405 | + // gpios = <&r_pio PL 2 1 0 1 0>; |
---|
| 1406 | + // linux,default_trigger = "default-on"; |
---|
| 1407 | + // }; |
---|
1398 | 1408 | |
---|
1399 | | - PL3 { |
---|
1400 | | - label = "PL3"; |
---|
1401 | | - gpios = <&r_pio PL 3 1 0 1 0>; |
---|
1402 | | - linux,default_trigger = "default-on"; |
---|
1403 | | - }; |
---|
| 1409 | + // PL3 { |
---|
| 1410 | + // label = "PL3"; |
---|
| 1411 | + // gpios = <&r_pio PL 3 1 0 1 0>; |
---|
| 1412 | + // linux,default_trigger = "default-on"; |
---|
| 1413 | + // }; |
---|
1404 | 1414 | |
---|
1405 | 1415 | PL4 { |
---|
1406 | 1416 | label = "PL4"; |
---|
.. | .. |
---|
1444 | 1454 | rx-delay = <7>; |
---|
1445 | 1455 | }; |
---|
1446 | 1456 | |
---|
1447 | | - |
---|
| 1457 | +//#include "lcd-lvds-7-1024-600.dtsi" |
---|
1448 | 1458 | //#include "lcd-lvds-21-1920-1080.dtsi" |
---|
1449 | | -#include "lcd-lvds-7-1024-600.dtsi" |
---|
1450 | | -//#include "lcd-mipi-10-800-1280.dtsi" |
---|
1451 | | -//#include "lcd-mipi-10-800-1280_AT101DS40I.dtsi" |
---|
| 1459 | +//#include "lcd-mipi-10-800-1280-v1.dtsi" |
---|
| 1460 | +//#include "lcd-mipi-10-800-1280-v2.dtsi" |
---|
1452 | 1461 | //#include "lcd-mipi-8-800-1280.dtsi" |
---|
1453 | | -//#include "lcd-mipi-5-720-1280.dtsi" |
---|
| 1462 | +#include "lcd-mipi-5-720-1280.dtsi" |
---|
| 1463 | + |
---|
| 1464 | +//#include "a133-kickpi-axp707-bat-5000mA.dtsi" |
---|
| 1465 | +#include "a133-kickpi-axp707-bat-8000mA.dtsi" |
---|
| 1466 | + |
---|