xref: /linux/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts (revision a47954095395412832ebe7a20023606b6375f153)
13c0e3abdSOrson Zhai/*
23c0e3abdSOrson Zhai * Spreadtrum SP9860g board
33c0e3abdSOrson Zhai *
43c0e3abdSOrson Zhai * Copyright (C) 2017, Spreadtrum Communications Inc.
53c0e3abdSOrson Zhai *
63c0e3abdSOrson Zhai * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
73c0e3abdSOrson Zhai */
83c0e3abdSOrson Zhai
93c0e3abdSOrson Zhai/dts-v1/;
103c0e3abdSOrson Zhai
113c0e3abdSOrson Zhai#include "sc9860.dtsi"
129f068ac8SBaolin Wang#include "sc2731.dtsi"
133c0e3abdSOrson Zhai
143c0e3abdSOrson Zhai/ {
153c0e3abdSOrson Zhai	model = "Spreadtrum SP9860G 3GFHD Board";
163c0e3abdSOrson Zhai
173c0e3abdSOrson Zhai	compatible = "sprd,sp9860g-1h10", "sprd,sc9860";
183c0e3abdSOrson Zhai
193c0e3abdSOrson Zhai	aliases {
203c0e3abdSOrson Zhai		serial0 = &uart0; /* for Bluetooth */
213c0e3abdSOrson Zhai		serial1 = &uart1; /* UART console */
223c0e3abdSOrson Zhai		serial2 = &uart2; /* Reserved */
233c0e3abdSOrson Zhai		serial3 = &uart3; /* for GPS */
24e254460aSBaolin Wang		spi0 = &adi_bus;
253c0e3abdSOrson Zhai	};
263c0e3abdSOrson Zhai
273c0e3abdSOrson Zhai	memory{
283c0e3abdSOrson Zhai		device_type = "memory";
293c0e3abdSOrson Zhai		reg = <0x0 0x80000000 0 0x60000000>,
303c0e3abdSOrson Zhai		      <0x1 0x80000000 0 0x60000000>;
313c0e3abdSOrson Zhai	};
323c0e3abdSOrson Zhai
333c0e3abdSOrson Zhai	chosen {
343c0e3abdSOrson Zhai		stdout-path = "serial1:115200n8";
353c0e3abdSOrson Zhai	};
363c0e3abdSOrson Zhai
373c0e3abdSOrson Zhai	reserved-memory {
383c0e3abdSOrson Zhai		#address-cells = <2>;
393c0e3abdSOrson Zhai		#size-cells = <2>;
403c0e3abdSOrson Zhai		ranges;
413c0e3abdSOrson Zhai	};
42*a4795409SBaolin Wang
43*a4795409SBaolin Wang	bat: battery {
44*a4795409SBaolin Wang		compatible = "simple-battery";
45*a4795409SBaolin Wang		charge-full-design-microamp-hours = <1900000>;
46*a4795409SBaolin Wang		charge-term-current-microamp = <120000>;
47*a4795409SBaolin Wang		constant_charge_voltage_max_microvolt = <4350000>;
48*a4795409SBaolin Wang		internal-resistance-micro-ohms = <250000>;
49*a4795409SBaolin Wang		ocv-capacity-celsius = <20>;
50*a4795409SBaolin Wang		ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>,
51*a4795409SBaolin Wang			<4022000 85>, <3983000 80>, <3949000 75>,
52*a4795409SBaolin Wang			<3917000 70>, <3889000 65>, <3864000 60>,
53*a4795409SBaolin Wang			<3835000 55>, <3805000 50>, <3787000 45>,
54*a4795409SBaolin Wang			<3777000 40>, <3773000 35>, <3770000 30>,
55*a4795409SBaolin Wang			<3765000 25>, <3752000 20>, <3724000 15>,
56*a4795409SBaolin Wang			<3680000 10>, <3605000 5>, <3400000 0>;
57*a4795409SBaolin Wang	};
583c0e3abdSOrson Zhai};
593c0e3abdSOrson Zhai
603c0e3abdSOrson Zhai&uart0 {
613c0e3abdSOrson Zhai	status = "okay";
623c0e3abdSOrson Zhai};
633c0e3abdSOrson Zhai
643c0e3abdSOrson Zhai&uart1 {
653c0e3abdSOrson Zhai	status = "okay";
663c0e3abdSOrson Zhai};
673c0e3abdSOrson Zhai
683c0e3abdSOrson Zhai&uart2 {
693c0e3abdSOrson Zhai	status = "okay";
703c0e3abdSOrson Zhai};
713c0e3abdSOrson Zhai
723c0e3abdSOrson Zhai&uart3 {
733c0e3abdSOrson Zhai	status = "okay";
743c0e3abdSOrson Zhai};
75