mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
9f068ac878
The Spreadtrum SC9860 platform has one SC2731 PMIC, and the SC2731 PMIC integrates all mobile handset power management, audio codec, battery management and user interface support function in a single chip. This patch adds the SC2731 dts file, as well as adding the RTC and regulator device node for this PMIC. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
59 lines
856 B
Plaintext
59 lines
856 B
Plaintext
/*
|
|
* Spreadtrum SP9860g board
|
|
*
|
|
* Copyright (C) 2017, Spreadtrum Communications Inc.
|
|
*
|
|
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "sc9860.dtsi"
|
|
#include "sc2731.dtsi"
|
|
|
|
/ {
|
|
model = "Spreadtrum SP9860G 3GFHD Board";
|
|
|
|
compatible = "sprd,sp9860g-1h10", "sprd,sc9860";
|
|
|
|
aliases {
|
|
serial0 = &uart0; /* for Bluetooth */
|
|
serial1 = &uart1; /* UART console */
|
|
serial2 = &uart2; /* Reserved */
|
|
serial3 = &uart3; /* for GPS */
|
|
spi0 = &adi_bus;
|
|
};
|
|
|
|
memory{
|
|
device_type = "memory";
|
|
reg = <0x0 0x80000000 0 0x60000000>,
|
|
<0x1 0x80000000 0 0x60000000>;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial1:115200n8";
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart3 {
|
|
status = "okay";
|
|
};
|