sp9860g-1h10.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * Spreadtrum SP9860g board
  3. *
  4. * Copyright (C) 2017, Spreadtrum Communications Inc.
  5. *
  6. * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  7. */
  8. /dts-v1/;
  9. #include "sc9860.dtsi"
  10. #include "sc2731.dtsi"
  11. / {
  12. model = "Spreadtrum SP9860G 3GFHD Board";
  13. compatible = "sprd,sp9860g-1h10", "sprd,sc9860";
  14. aliases {
  15. serial0 = &uart0; /* for Bluetooth */
  16. serial1 = &uart1; /* UART console */
  17. serial2 = &uart2; /* Reserved */
  18. serial3 = &uart3; /* for GPS */
  19. spi0 = &adi_bus;
  20. };
  21. memory{
  22. device_type = "memory";
  23. reg = <0x0 0x80000000 0 0x60000000>,
  24. <0x1 0x80000000 0 0x60000000>;
  25. };
  26. chosen {
  27. stdout-path = "serial1:115200n8";
  28. };
  29. reserved-memory {
  30. #address-cells = <2>;
  31. #size-cells = <2>;
  32. ranges;
  33. };
  34. bat: battery {
  35. compatible = "simple-battery";
  36. charge-full-design-microamp-hours = <1900000>;
  37. charge-term-current-microamp = <120000>;
  38. constant_charge_voltage_max_microvolt = <4350000>;
  39. internal-resistance-micro-ohms = <250000>;
  40. ocv-capacity-celsius = <20>;
  41. ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>,
  42. <4022000 85>, <3983000 80>, <3949000 75>,
  43. <3917000 70>, <3889000 65>, <3864000 60>,
  44. <3835000 55>, <3805000 50>, <3787000 45>,
  45. <3777000 40>, <3773000 35>, <3770000 30>,
  46. <3765000 25>, <3752000 20>, <3724000 15>,
  47. <3680000 10>, <3605000 5>, <3400000 0>;
  48. };
  49. };
  50. &uart0 {
  51. status = "okay";
  52. };
  53. &uart1 {
  54. status = "okay";
  55. };
  56. &uart2 {
  57. status = "okay";
  58. };
  59. &uart3 {
  60. status = "okay";
  61. };