License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.
By default all files without license information are under the default
license of the kernel, which is GPL version 2.
Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.
This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.
How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,
Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.
The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.
The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.
Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if <5
lines).
All documentation files were explicitly excluded.
The following heuristics were used to determine which SPDX license
identifiers to apply.
- when both scanners couldn't find any license traces, file was
considered to have no license information in it, and the top level
COPYING file license applied.
For non */uapi/* files that summary was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 11139
and resulted in the first patch in this series.
If that file was a */uapi/* path one, it was "GPL-2.0 WITH
Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 WITH Linux-syscall-note 930
and resulted in the second patch in this series.
- if a file had some form of licensing information in it, and was one
of the */uapi/* ones, it was denoted with the Linux-syscall-note if
any GPL family license was found in the file or had no licensing in
it (per prior point). Results summary:
SPDX license identifier # files
---------------------------------------------------|------
GPL-2.0 WITH Linux-syscall-note 270
GPL-2.0+ WITH Linux-syscall-note 169
((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21
((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17
LGPL-2.1+ WITH Linux-syscall-note 15
GPL-1.0+ WITH Linux-syscall-note 14
((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5
LGPL-2.0+ WITH Linux-syscall-note 4
LGPL-2.1 WITH Linux-syscall-note 3
((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3
((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1
and that resulted in the third patch in this series.
- when the two scanners agreed on the detected license(s), that became
the concluded license(s).
- when there was disagreement between the two scanners (one detected a
license but the other didn't, or they both detected different
licenses) a manual inspection of the file occurred.
- In most cases a manual inspection of the information in the file
resulted in a clear resolution of the license that should apply (and
which scanner probably needed to revisit its heuristics).
- When it was not immediately clear, the license identifier was
confirmed with lawyers working with the Linux Foundation.
- If there was any question as to the appropriate license identifier,
the file was flagged for further research and to be revisited later
in time.
In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.
Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights. The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.
Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.
In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.
Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
- a full scancode scan run, collecting the matched texts, detected
license ids and scores
- reviewing anything where there was a license detected (about 500+
files) to ensure that the applied SPDX license was correct
- reviewing anything where there was no detection but the patch license
was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
SPDX license was correct
This produced a worksheet with 20 files needing minor correction. This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.
These .csv files were then reviewed by Greg. Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected. This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.) Finally Greg ran the script using the .csv files to
generate the patches.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-01 22:07:57 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2013-12-21 03:09:15 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-06-10 11:45:11 +08:00
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
2014-01-17 09:25:03 +08:00
|
|
|
#include <dt-bindings/clock/qcom,gcc-msm8974.h>
|
2017-03-16 20:55:09 +08:00
|
|
|
#include <dt-bindings/clock/qcom,rpmcc.h>
|
2017-01-27 08:47:26 +08:00
|
|
|
#include <dt-bindings/reset/qcom,gcc-msm8974.h>
|
2016-07-29 14:09:07 +08:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2014-09-16 19:45:38 +08:00
|
|
|
#include "skeleton.dtsi"
|
2014-01-17 09:25:03 +08:00
|
|
|
|
2013-12-21 03:09:15 +08:00
|
|
|
/ {
|
|
|
|
model = "Qualcomm MSM8974";
|
|
|
|
compatible = "qcom,msm8974";
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
|
2015-06-27 05:50:17 +08:00
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
|
2017-10-14 01:54:51 +08:00
|
|
|
mpss@8000000 {
|
2015-12-28 09:17:40 +08:00
|
|
|
reg = <0x08000000 0x5100000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
|
2017-10-14 01:54:51 +08:00
|
|
|
mba@d100000 {
|
2015-12-28 09:17:40 +08:00
|
|
|
reg = <0x0d100000 0x100000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
|
2017-10-14 01:54:51 +08:00
|
|
|
reserved@d200000 {
|
2015-12-28 09:17:40 +08:00
|
|
|
reg = <0x0d200000 0xa00000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
|
2017-10-14 01:54:51 +08:00
|
|
|
adsp_region: adsp@dc00000 {
|
2015-12-28 09:17:40 +08:00
|
|
|
reg = <0x0dc00000 0x1900000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
|
2017-10-14 01:54:51 +08:00
|
|
|
venus@f500000 {
|
2015-12-28 09:17:40 +08:00
|
|
|
reg = <0x0f500000 0x500000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
|
2015-06-27 05:50:17 +08:00
|
|
|
smem_region: smem@fa00000 {
|
|
|
|
reg = <0xfa00000 0x200000>;
|
|
|
|
no-map;
|
|
|
|
};
|
2015-12-28 09:17:40 +08:00
|
|
|
|
2017-10-14 01:54:51 +08:00
|
|
|
tz@fc00000 {
|
2015-12-28 09:17:40 +08:00
|
|
|
reg = <0x0fc00000 0x160000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
|
2017-10-14 01:54:51 +08:00
|
|
|
rfsa@fd60000 {
|
2016-03-29 09:32:37 +08:00
|
|
|
reg = <0x0fd60000 0x20000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
|
2017-10-14 01:54:51 +08:00
|
|
|
rmtfs@fd80000 {
|
2016-03-29 09:32:37 +08:00
|
|
|
reg = <0x0fd80000 0x180000>;
|
2015-12-28 09:17:40 +08:00
|
|
|
no-map;
|
|
|
|
};
|
2015-06-27 05:50:17 +08:00
|
|
|
};
|
|
|
|
|
2013-11-02 01:10:40 +08:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
interrupts = <1 9 0xf04>;
|
|
|
|
|
2017-02-04 02:36:28 +08:00
|
|
|
CPU0: cpu@0 {
|
2014-05-29 01:01:29 +08:00
|
|
|
compatible = "qcom,krait";
|
|
|
|
enable-method = "qcom,kpss-acc-v2";
|
2013-11-02 01:10:40 +08:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <0>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc0>;
|
2015-03-26 04:25:30 +08:00
|
|
|
qcom,saw = <&saw0>;
|
2015-03-26 04:25:33 +08:00
|
|
|
cpu-idle-states = <&CPU_SPC>;
|
2013-11-02 01:10:40 +08:00
|
|
|
};
|
|
|
|
|
2017-02-04 02:36:28 +08:00
|
|
|
CPU1: cpu@1 {
|
2014-05-29 01:01:29 +08:00
|
|
|
compatible = "qcom,krait";
|
|
|
|
enable-method = "qcom,kpss-acc-v2";
|
2013-11-02 01:10:40 +08:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <1>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc1>;
|
2015-03-26 04:25:30 +08:00
|
|
|
qcom,saw = <&saw1>;
|
2015-03-26 04:25:33 +08:00
|
|
|
cpu-idle-states = <&CPU_SPC>;
|
2013-11-02 01:10:40 +08:00
|
|
|
};
|
|
|
|
|
2017-02-04 02:36:28 +08:00
|
|
|
CPU2: cpu@2 {
|
2014-05-29 01:01:29 +08:00
|
|
|
compatible = "qcom,krait";
|
|
|
|
enable-method = "qcom,kpss-acc-v2";
|
2013-11-02 01:10:40 +08:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <2>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc2>;
|
2015-03-26 04:25:30 +08:00
|
|
|
qcom,saw = <&saw2>;
|
2015-03-26 04:25:33 +08:00
|
|
|
cpu-idle-states = <&CPU_SPC>;
|
2013-11-02 01:10:40 +08:00
|
|
|
};
|
|
|
|
|
2017-02-04 02:36:28 +08:00
|
|
|
CPU3: cpu@3 {
|
2014-05-29 01:01:29 +08:00
|
|
|
compatible = "qcom,krait";
|
|
|
|
enable-method = "qcom,kpss-acc-v2";
|
2013-11-02 01:10:40 +08:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <3>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc3>;
|
2015-03-26 04:25:30 +08:00
|
|
|
qcom,saw = <&saw3>;
|
2015-03-26 04:25:33 +08:00
|
|
|
cpu-idle-states = <&CPU_SPC>;
|
2013-11-02 01:10:40 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
L2: l2-cache {
|
|
|
|
compatible = "cache";
|
|
|
|
cache-level = <2>;
|
|
|
|
qcom,saw = <&saw_l2>;
|
|
|
|
};
|
2015-03-26 04:25:33 +08:00
|
|
|
|
|
|
|
idle-states {
|
|
|
|
CPU_SPC: spc {
|
|
|
|
compatible = "qcom,idle-state-spc",
|
|
|
|
"arm,idle-state";
|
|
|
|
entry-latency-us = <150>;
|
|
|
|
exit-latency-us = <200>;
|
|
|
|
min-residency-us = <2000>;
|
|
|
|
};
|
|
|
|
};
|
2013-11-02 01:10:40 +08:00
|
|
|
};
|
|
|
|
|
2016-08-17 13:18:44 +08:00
|
|
|
thermal-zones {
|
|
|
|
cpu-thermal0 {
|
|
|
|
polling-delay-passive = <250>;
|
|
|
|
polling-delay = <1000>;
|
|
|
|
|
|
|
|
thermal-sensors = <&tsens 5>;
|
|
|
|
|
|
|
|
trips {
|
|
|
|
cpu_alert0: trip0 {
|
|
|
|
temperature = <75000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "passive";
|
|
|
|
};
|
|
|
|
cpu_crit0: trip1 {
|
|
|
|
temperature = <110000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "critical";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu-thermal1 {
|
|
|
|
polling-delay-passive = <250>;
|
|
|
|
polling-delay = <1000>;
|
|
|
|
|
|
|
|
thermal-sensors = <&tsens 6>;
|
|
|
|
|
|
|
|
trips {
|
|
|
|
cpu_alert1: trip0 {
|
|
|
|
temperature = <75000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "passive";
|
|
|
|
};
|
|
|
|
cpu_crit1: trip1 {
|
|
|
|
temperature = <110000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "critical";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu-thermal2 {
|
|
|
|
polling-delay-passive = <250>;
|
|
|
|
polling-delay = <1000>;
|
|
|
|
|
|
|
|
thermal-sensors = <&tsens 7>;
|
|
|
|
|
|
|
|
trips {
|
|
|
|
cpu_alert2: trip0 {
|
|
|
|
temperature = <75000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "passive";
|
|
|
|
};
|
|
|
|
cpu_crit2: trip1 {
|
|
|
|
temperature = <110000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "critical";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu-thermal3 {
|
|
|
|
polling-delay-passive = <250>;
|
|
|
|
polling-delay = <1000>;
|
|
|
|
|
|
|
|
thermal-sensors = <&tsens 8>;
|
|
|
|
|
|
|
|
trips {
|
|
|
|
cpu_alert3: trip0 {
|
|
|
|
temperature = <75000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "passive";
|
|
|
|
};
|
|
|
|
cpu_crit3: trip1 {
|
|
|
|
temperature = <110000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "critical";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-02-21 19:09:50 +08:00
|
|
|
cpu-pmu {
|
|
|
|
compatible = "qcom,krait-pmu";
|
|
|
|
interrupts = <1 7 0xf04>;
|
|
|
|
};
|
|
|
|
|
2016-01-07 09:41:51 +08:00
|
|
|
clocks {
|
2016-11-21 14:37:14 +08:00
|
|
|
xo_board: xo_board {
|
2016-01-07 09:41:51 +08:00
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <19200000>;
|
|
|
|
};
|
|
|
|
|
2016-11-21 14:37:14 +08:00
|
|
|
sleep_clk: sleep_clk {
|
2016-01-07 09:41:51 +08:00
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-05-29 01:01:29 +08:00
|
|
|
timer {
|
|
|
|
compatible = "arm,armv7-timer";
|
|
|
|
interrupts = <1 2 0xf08>,
|
|
|
|
<1 3 0xf08>,
|
|
|
|
<1 4 0xf08>,
|
|
|
|
<1 1 0xf08>;
|
|
|
|
clock-frequency = <19200000>;
|
|
|
|
};
|
|
|
|
|
2016-08-23 13:57:46 +08:00
|
|
|
adsp-pil {
|
|
|
|
compatible = "qcom,msm8974-adsp-pil";
|
|
|
|
|
|
|
|
interrupts-extended = <&intc 0 162 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
|
|
|
|
|
|
|
|
cx-supply = <&pm8841_s2>;
|
|
|
|
|
2017-03-07 10:22:00 +08:00
|
|
|
clocks = <&xo_board>;
|
|
|
|
clock-names = "xo";
|
|
|
|
|
2016-08-23 13:57:46 +08:00
|
|
|
memory-region = <&adsp_region>;
|
|
|
|
|
|
|
|
qcom,smem-states = <&adsp_smp2p_out 0>;
|
|
|
|
qcom,smem-state-names = "stop";
|
|
|
|
};
|
|
|
|
|
2015-10-09 02:34:09 +08:00
|
|
|
smem {
|
|
|
|
compatible = "qcom,smem";
|
|
|
|
|
|
|
|
memory-region = <&smem_region>;
|
|
|
|
qcom,rpm-msg-ram = <&rpm_msg_ram>;
|
|
|
|
|
|
|
|
hwlocks = <&tcsr_mutex 3>;
|
|
|
|
};
|
|
|
|
|
2016-08-23 13:57:45 +08:00
|
|
|
smp2p-adsp {
|
|
|
|
compatible = "qcom,smp2p";
|
|
|
|
qcom,smem = <443>, <429>;
|
|
|
|
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 158 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
|
|
|
|
qcom,ipc = <&apcs 8 10>;
|
|
|
|
|
|
|
|
qcom,local-pid = <0>;
|
|
|
|
qcom,remote-pid = <2>;
|
|
|
|
|
|
|
|
adsp_smp2p_out: master-kernel {
|
|
|
|
qcom,entry-name = "master-kernel";
|
|
|
|
#qcom,smem-state-cells = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
adsp_smp2p_in: slave-kernel {
|
|
|
|
qcom,entry-name = "slave-kernel";
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-03-29 09:32:39 +08:00
|
|
|
smp2p-modem {
|
|
|
|
compatible = "qcom,smp2p";
|
|
|
|
qcom,smem = <435>, <428>;
|
|
|
|
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 27 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
|
|
|
|
qcom,ipc = <&apcs 8 14>;
|
|
|
|
|
|
|
|
qcom,local-pid = <0>;
|
|
|
|
qcom,remote-pid = <1>;
|
|
|
|
|
|
|
|
modem_smp2p_out: master-kernel {
|
|
|
|
qcom,entry-name = "master-kernel";
|
2016-06-12 14:20:11 +08:00
|
|
|
#qcom,smem-state-cells = <1>;
|
2016-03-29 09:32:39 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
modem_smp2p_in: slave-kernel {
|
|
|
|
qcom,entry-name = "slave-kernel";
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-12-28 09:51:13 +08:00
|
|
|
smp2p-wcnss {
|
|
|
|
compatible = "qcom,smp2p";
|
|
|
|
qcom,smem = <451>, <431>;
|
|
|
|
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 143 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
|
|
|
|
qcom,ipc = <&apcs 8 18>;
|
|
|
|
|
|
|
|
qcom,local-pid = <0>;
|
|
|
|
qcom,remote-pid = <4>;
|
|
|
|
|
|
|
|
wcnss_smp2p_out: master-kernel {
|
|
|
|
qcom,entry-name = "master-kernel";
|
|
|
|
|
2016-06-12 14:20:11 +08:00
|
|
|
#qcom,smem-state-cells = <1>;
|
2015-12-28 09:51:13 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
wcnss_smp2p_in: slave-kernel {
|
|
|
|
qcom,entry-name = "slave-kernel";
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-12-28 09:47:08 +08:00
|
|
|
smsm {
|
|
|
|
compatible = "qcom,smsm";
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
qcom,ipc-1 = <&apcs 8 13>;
|
|
|
|
qcom,ipc-2 = <&apcs 8 9>;
|
|
|
|
qcom,ipc-3 = <&apcs 8 19>;
|
|
|
|
|
|
|
|
apps_smsm: apps@0 {
|
|
|
|
reg = <0>;
|
|
|
|
|
2016-06-12 14:20:11 +08:00
|
|
|
#qcom,smem-state-cells = <1>;
|
2015-12-28 09:47:08 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
modem_smsm: modem@1 {
|
|
|
|
reg = <1>;
|
|
|
|
interrupts = <0 26 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
adsp_smsm: adsp@2 {
|
|
|
|
reg = <2>;
|
|
|
|
interrupts = <0 157 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
wcnss_smsm: wcnss@7 {
|
|
|
|
reg = <7>;
|
|
|
|
interrupts = <0 144 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-06-04 07:25:29 +08:00
|
|
|
firmware {
|
|
|
|
scm {
|
|
|
|
compatible = "qcom,scm";
|
|
|
|
clocks = <&gcc GCC_CE1_CLK>, <&gcc GCC_CE1_AXI_CLK>, <&gcc GCC_CE1_AHB_CLK>;
|
|
|
|
clock-names = "core", "bus", "iface";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-12-21 03:09:15 +08:00
|
|
|
soc: soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
|
|
|
|
intc: interrupt-controller@f9000000 {
|
|
|
|
compatible = "qcom,msm-qgic2";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <3>;
|
|
|
|
reg = <0xf9000000 0x1000>,
|
|
|
|
<0xf9002000 0x1000>;
|
|
|
|
};
|
|
|
|
|
2015-06-27 05:50:18 +08:00
|
|
|
apcs: syscon@f9011000 {
|
|
|
|
compatible = "syscon";
|
|
|
|
reg = <0xf9011000 0x1000>;
|
|
|
|
};
|
|
|
|
|
2016-08-17 13:18:44 +08:00
|
|
|
qfprom: qfprom@fc4bc000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "qcom,qfprom";
|
|
|
|
reg = <0xfc4bc000 0x1000>;
|
|
|
|
tsens_calib: calib@d0 {
|
|
|
|
reg = <0xd0 0x18>;
|
|
|
|
};
|
|
|
|
tsens_backup: backup@440 {
|
|
|
|
reg = <0x440 0x10>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
tsens: thermal-sensor@fc4a8000 {
|
|
|
|
compatible = "qcom,msm8974-tsens";
|
|
|
|
reg = <0xfc4a8000 0x2000>;
|
|
|
|
nvmem-cells = <&tsens_calib>, <&tsens_backup>;
|
|
|
|
nvmem-cell-names = "calib", "calib_backup";
|
|
|
|
#thermal-sensor-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2013-12-21 03:09:19 +08:00
|
|
|
timer@f9020000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
compatible = "arm,armv7-timer-mem";
|
|
|
|
reg = <0xf9020000 0x1000>;
|
|
|
|
clock-frequency = <19200000>;
|
|
|
|
|
|
|
|
frame@f9021000 {
|
|
|
|
frame-number = <0>;
|
|
|
|
interrupts = <0 8 0x4>,
|
|
|
|
<0 7 0x4>;
|
|
|
|
reg = <0xf9021000 0x1000>,
|
|
|
|
<0xf9022000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
frame@f9023000 {
|
|
|
|
frame-number = <1>;
|
|
|
|
interrupts = <0 9 0x4>;
|
|
|
|
reg = <0xf9023000 0x1000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
frame@f9024000 {
|
|
|
|
frame-number = <2>;
|
|
|
|
interrupts = <0 10 0x4>;
|
|
|
|
reg = <0xf9024000 0x1000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
frame@f9025000 {
|
|
|
|
frame-number = <3>;
|
|
|
|
interrupts = <0 11 0x4>;
|
|
|
|
reg = <0xf9025000 0x1000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
frame@f9026000 {
|
|
|
|
frame-number = <4>;
|
|
|
|
interrupts = <0 12 0x4>;
|
|
|
|
reg = <0xf9026000 0x1000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
frame@f9027000 {
|
|
|
|
frame-number = <5>;
|
|
|
|
interrupts = <0 13 0x4>;
|
|
|
|
reg = <0xf9027000 0x1000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
frame@f9028000 {
|
|
|
|
frame-number = <6>;
|
|
|
|
interrupts = <0 14 0x4>;
|
|
|
|
reg = <0xf9028000 0x1000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-03-26 04:25:30 +08:00
|
|
|
saw0: power-controller@f9089000 {
|
|
|
|
compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
|
|
|
|
reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
saw1: power-controller@f9099000 {
|
|
|
|
compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
|
|
|
|
reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
saw2: power-controller@f90a9000 {
|
|
|
|
compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
|
|
|
|
reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
saw3: power-controller@f90b9000 {
|
|
|
|
compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
|
|
|
|
reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
saw_l2: power-controller@f9012000 {
|
2013-11-02 01:10:40 +08:00
|
|
|
compatible = "qcom,saw2";
|
|
|
|
reg = <0xf9012000 0x1000>;
|
|
|
|
regulator;
|
|
|
|
};
|
|
|
|
|
|
|
|
acc0: clock-controller@f9088000 {
|
|
|
|
compatible = "qcom,kpss-acc-v2";
|
|
|
|
reg = <0xf9088000 0x1000>, <0xf9008000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
acc1: clock-controller@f9098000 {
|
|
|
|
compatible = "qcom,kpss-acc-v2";
|
|
|
|
reg = <0xf9098000 0x1000>, <0xf9008000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
acc2: clock-controller@f90a8000 {
|
|
|
|
compatible = "qcom,kpss-acc-v2";
|
|
|
|
reg = <0xf90a8000 0x1000>, <0xf9008000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
acc3: clock-controller@f90b8000 {
|
|
|
|
compatible = "qcom,kpss-acc-v2";
|
|
|
|
reg = <0xf90b8000 0x1000>, <0xf9008000 0x1000>;
|
|
|
|
};
|
|
|
|
|
2013-12-21 03:09:18 +08:00
|
|
|
restart@fc4ab000 {
|
|
|
|
compatible = "qcom,pshold";
|
|
|
|
reg = <0xfc4ab000 0x4>;
|
|
|
|
};
|
2014-01-17 09:25:03 +08:00
|
|
|
|
|
|
|
gcc: clock-controller@fc400000 {
|
|
|
|
compatible = "qcom,gcc-msm8974";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
2015-10-01 17:26:02 +08:00
|
|
|
#power-domain-cells = <1>;
|
2014-01-17 09:25:03 +08:00
|
|
|
reg = <0xfc400000 0x4000>;
|
|
|
|
};
|
|
|
|
|
2017-01-27 08:47:26 +08:00
|
|
|
tcsr: syscon@fd4a0000 {
|
|
|
|
compatible = "syscon";
|
|
|
|
reg = <0xfd4a0000 0x10000>;
|
|
|
|
};
|
|
|
|
|
2015-06-27 05:50:16 +08:00
|
|
|
tcsr_mutex_block: syscon@fd484000 {
|
|
|
|
compatible = "syscon";
|
|
|
|
reg = <0xfd484000 0x2000>;
|
|
|
|
};
|
|
|
|
|
2014-01-17 09:25:03 +08:00
|
|
|
mmcc: clock-controller@fd8c0000 {
|
|
|
|
compatible = "qcom,mmcc-msm8974";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
2015-10-01 17:26:02 +08:00
|
|
|
#power-domain-cells = <1>;
|
2014-01-17 09:25:03 +08:00
|
|
|
reg = <0xfd8c0000 0x6000>;
|
|
|
|
};
|
|
|
|
|
2015-06-27 05:50:16 +08:00
|
|
|
tcsr_mutex: tcsr-mutex {
|
|
|
|
compatible = "qcom,tcsr-mutex";
|
|
|
|
syscon = <&tcsr_mutex_block 0 0x80>;
|
|
|
|
|
|
|
|
#hwlock-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2015-10-09 02:34:09 +08:00
|
|
|
rpm_msg_ram: memory@fc428000 {
|
|
|
|
compatible = "qcom,rpm-msg-ram";
|
2015-06-27 05:50:17 +08:00
|
|
|
reg = <0xfc428000 0x4000>;
|
|
|
|
};
|
|
|
|
|
2016-07-13 15:34:26 +08:00
|
|
|
blsp1_uart1: serial@f991d000 {
|
|
|
|
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
|
|
|
reg = <0xf991d000 0x1000>;
|
|
|
|
interrupts = <0 107 0x0>;
|
|
|
|
clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
|
|
|
|
clock-names = "core", "iface";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-06-17 05:31:44 +08:00
|
|
|
blsp1_uart2: serial@f991e000 {
|
2014-01-17 09:25:03 +08:00
|
|
|
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
|
|
|
reg = <0xf991e000 0x1000>;
|
|
|
|
interrupts = <0 108 0x0>;
|
|
|
|
clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
|
|
|
|
clock-names = "core", "iface";
|
2014-05-29 01:01:29 +08:00
|
|
|
status = "disabled";
|
2014-01-17 09:25:03 +08:00
|
|
|
};
|
2014-02-07 17:23:07 +08:00
|
|
|
|
2014-01-31 22:21:56 +08:00
|
|
|
sdhci@f9824900 {
|
|
|
|
compatible = "qcom,sdhci-msm-v4";
|
|
|
|
reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
|
|
|
|
reg-names = "hc_mem", "core_mem";
|
|
|
|
interrupts = <0 123 0>, <0 138 0>;
|
|
|
|
interrupt-names = "hc_irq", "pwr_irq";
|
2016-11-21 14:37:14 +08:00
|
|
|
clocks = <&gcc GCC_SDCC1_APPS_CLK>,
|
|
|
|
<&gcc GCC_SDCC1_AHB_CLK>,
|
|
|
|
<&xo_board>;
|
|
|
|
clock-names = "core", "iface", "xo";
|
2014-01-31 22:21:56 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2017-10-05 02:58:54 +08:00
|
|
|
sdhci@f9864900 {
|
|
|
|
compatible = "qcom,sdhci-msm-v4";
|
|
|
|
reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
|
|
|
|
reg-names = "hc_mem", "core_mem";
|
|
|
|
interrupts = <GIC_SPI 127 IRQ_TYPE_NONE>,
|
|
|
|
<GIC_SPI 224 IRQ_TYPE_NONE>;
|
|
|
|
interrupt-names = "hc_irq", "pwr_irq";
|
|
|
|
clocks = <&gcc GCC_SDCC3_APPS_CLK>,
|
|
|
|
<&gcc GCC_SDCC3_AHB_CLK>,
|
|
|
|
<&xo_board>;
|
|
|
|
clock-names = "core", "iface", "xo";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2014-01-31 22:21:56 +08:00
|
|
|
sdhci@f98a4900 {
|
|
|
|
compatible = "qcom,sdhci-msm-v4";
|
|
|
|
reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
|
|
|
|
reg-names = "hc_mem", "core_mem";
|
|
|
|
interrupts = <0 125 0>, <0 221 0>;
|
|
|
|
interrupt-names = "hc_irq", "pwr_irq";
|
2016-11-21 14:37:14 +08:00
|
|
|
clocks = <&gcc GCC_SDCC2_APPS_CLK>,
|
|
|
|
<&gcc GCC_SDCC2_AHB_CLK>,
|
|
|
|
<&xo_board>;
|
|
|
|
clock-names = "core", "iface", "xo";
|
2014-01-31 22:21:56 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2017-01-27 08:47:26 +08:00
|
|
|
otg: usb@f9a55000 {
|
|
|
|
compatible = "qcom,ci-hdrc";
|
|
|
|
reg = <0xf9a55000 0x200>,
|
|
|
|
<0xf9a55200 0x200>;
|
|
|
|
interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&gcc GCC_USB_HS_AHB_CLK>,
|
|
|
|
<&gcc GCC_USB_HS_SYSTEM_CLK>;
|
|
|
|
clock-names = "iface", "core";
|
|
|
|
assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>;
|
|
|
|
assigned-clock-rates = <75000000>;
|
|
|
|
resets = <&gcc GCC_USB_HS_BCR>;
|
|
|
|
reset-names = "core";
|
|
|
|
phy_type = "ulpi";
|
|
|
|
dr_mode = "otg";
|
|
|
|
ahb-burst-config = <0>;
|
|
|
|
phy-names = "usb-phy";
|
|
|
|
status = "disabled";
|
|
|
|
#reset-cells = <1>;
|
|
|
|
|
|
|
|
ulpi {
|
|
|
|
usb_hs1_phy: phy@a {
|
|
|
|
compatible = "qcom,usb-hs-phy-msm8974",
|
|
|
|
"qcom,usb-hs-phy";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
|
|
|
|
clock-names = "ref", "sleep";
|
|
|
|
resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>;
|
|
|
|
reset-names = "phy", "por";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_hs2_phy: phy@b {
|
|
|
|
compatible = "qcom,usb-hs-phy-msm8974",
|
|
|
|
"qcom,usb-hs-phy";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
clocks = <&xo_board>, <&gcc GCC_USB2B_PHY_SLEEP_CLK>;
|
|
|
|
clock-names = "ref", "sleep";
|
|
|
|
resets = <&gcc GCC_USB2B_PHY_BCR>, <&otg 1>;
|
|
|
|
reset-names = "phy", "por";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-02-07 17:23:07 +08:00
|
|
|
rng@f9bff000 {
|
|
|
|
compatible = "qcom,prng";
|
|
|
|
reg = <0xf9bff000 0x200>;
|
|
|
|
clocks = <&gcc GCC_PRNG_AHB_CLK>;
|
|
|
|
clock-names = "core";
|
|
|
|
};
|
2014-02-06 23:28:49 +08:00
|
|
|
|
|
|
|
msmgpio: pinctrl@fd510000 {
|
|
|
|
compatible = "qcom,msm8974-pinctrl";
|
|
|
|
reg = <0xfd510000 0x4000>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
interrupts = <0 208 0>;
|
|
|
|
};
|
2014-09-16 19:45:38 +08:00
|
|
|
|
2016-03-29 09:32:38 +08:00
|
|
|
i2c@f9924000 {
|
|
|
|
status = "disabled";
|
|
|
|
compatible = "qcom,i2c-qup-v2.1.1";
|
|
|
|
reg = <0xf9924000 0x1000>;
|
|
|
|
interrupts = <0 96 IRQ_TYPE_NONE>;
|
|
|
|
clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
|
|
|
|
clock-names = "core", "iface";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
|
|
|
|
2015-11-24 13:54:34 +08:00
|
|
|
blsp_i2c8: i2c@f9964000 {
|
|
|
|
status = "disabled";
|
|
|
|
compatible = "qcom,i2c-qup-v2.1.1";
|
|
|
|
reg = <0xf9964000 0x1000>;
|
|
|
|
interrupts = <0 102 IRQ_TYPE_NONE>;
|
|
|
|
clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
|
|
|
|
clock-names = "core", "iface";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
|
|
|
|
2014-09-16 19:45:38 +08:00
|
|
|
blsp_i2c11: i2c@f9967000 {
|
2015-10-13 20:02:00 +08:00
|
|
|
status = "disabled";
|
2014-09-16 19:45:38 +08:00
|
|
|
compatible = "qcom,i2c-qup-v2.1.1";
|
|
|
|
reg = <0xf9967000 0x1000>;
|
|
|
|
interrupts = <0 105 IRQ_TYPE_NONE>;
|
|
|
|
clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
|
|
|
|
clock-names = "core", "iface";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2016-06-10 11:45:27 +08:00
|
|
|
dmas = <&blsp2_dma 20>, <&blsp2_dma 21>;
|
|
|
|
dma-names = "tx", "rx";
|
2014-09-16 19:45:38 +08:00
|
|
|
};
|
2015-02-03 20:17:58 +08:00
|
|
|
|
|
|
|
spmi_bus: spmi@fc4cf000 {
|
|
|
|
compatible = "qcom,spmi-pmic-arb";
|
|
|
|
reg-names = "core", "intr", "cnfg";
|
|
|
|
reg = <0xfc4cf000 0x1000>,
|
|
|
|
<0xfc4cb000 0x1000>,
|
|
|
|
<0xfc4ca000 0x1000>;
|
|
|
|
interrupt-names = "periph_irq";
|
|
|
|
interrupts = <0 190 0>;
|
|
|
|
qcom,ee = <0>;
|
|
|
|
qcom,channel = <0>;
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <4>;
|
|
|
|
};
|
2016-06-10 11:45:11 +08:00
|
|
|
|
|
|
|
blsp2_dma: dma-controller@f9944000 {
|
|
|
|
compatible = "qcom,bam-v1.4.0";
|
|
|
|
reg = <0xf9944000 0x19000>;
|
|
|
|
interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&gcc GCC_BLSP2_AHB_CLK>;
|
|
|
|
clock-names = "bam_clk";
|
|
|
|
#dma-cells = <1>;
|
|
|
|
qcom,ee = <0>;
|
|
|
|
};
|
2016-03-29 09:32:36 +08:00
|
|
|
|
2017-02-04 02:36:28 +08:00
|
|
|
etr@fc322000 {
|
|
|
|
compatible = "arm,coresight-tmc", "arm,primecell";
|
|
|
|
reg = <0xfc322000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
port {
|
|
|
|
etr_in: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&replicator_out0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
tpiu@fc318000 {
|
|
|
|
compatible = "arm,coresight-tpiu", "arm,primecell";
|
|
|
|
reg = <0xfc318000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
port {
|
|
|
|
tpiu_in: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&replicator_out1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
replicator@fc31c000 {
|
2017-07-20 18:17:13 +08:00
|
|
|
compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
|
2017-02-04 02:36:28 +08:00
|
|
|
reg = <0xfc31c000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
port@0 {
|
|
|
|
reg = <0>;
|
|
|
|
replicator_out0: endpoint {
|
|
|
|
remote-endpoint = <&etr_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
port@1 {
|
|
|
|
reg = <1>;
|
|
|
|
replicator_out1: endpoint {
|
|
|
|
remote-endpoint = <&tpiu_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
port@2 {
|
|
|
|
reg = <0>;
|
|
|
|
replicator_in: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&etf_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
etf@fc307000 {
|
|
|
|
compatible = "arm,coresight-tmc", "arm,primecell";
|
|
|
|
reg = <0xfc307000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
port@0 {
|
|
|
|
reg = <0>;
|
|
|
|
etf_out: endpoint {
|
|
|
|
remote-endpoint = <&replicator_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
port@1 {
|
|
|
|
reg = <0>;
|
|
|
|
etf_in: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&merger_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
funnel@fc31b000 {
|
|
|
|
compatible = "arm,coresight-funnel", "arm,primecell";
|
|
|
|
reg = <0xfc31b000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Not described input ports:
|
|
|
|
* 0 - connected trought funnel to Audio, Modem and
|
|
|
|
* Resource and Power Manager CPU's
|
|
|
|
* 2...7 - not-connected
|
|
|
|
*/
|
|
|
|
port@1 {
|
|
|
|
reg = <1>;
|
|
|
|
merger_in1: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&funnel1_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
port@8 {
|
|
|
|
reg = <0>;
|
|
|
|
merger_out: endpoint {
|
|
|
|
remote-endpoint = <&etf_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
funnel@fc31a000 {
|
|
|
|
compatible = "arm,coresight-funnel", "arm,primecell";
|
|
|
|
reg = <0xfc31a000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Not described input ports:
|
|
|
|
* 0 - not-connected
|
|
|
|
* 1 - connected trought funnel to Multimedia CPU
|
|
|
|
* 2 - connected to Wireless CPU
|
|
|
|
* 3 - not-connected
|
|
|
|
* 4 - not-connected
|
|
|
|
* 6 - not-connected
|
|
|
|
* 7 - connected to STM
|
|
|
|
*/
|
|
|
|
port@5 {
|
|
|
|
reg = <5>;
|
|
|
|
funnel1_in5: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&kpss_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
port@8 {
|
|
|
|
reg = <0>;
|
|
|
|
funnel1_out: endpoint {
|
|
|
|
remote-endpoint = <&merger_in1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
funnel@fc345000 { /* KPSS funnel only 4 inputs are used */
|
|
|
|
compatible = "arm,coresight-funnel", "arm,primecell";
|
|
|
|
reg = <0xfc345000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
port@0 {
|
|
|
|
reg = <0>;
|
|
|
|
kpss_in0: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&etm0_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
port@1 {
|
|
|
|
reg = <1>;
|
|
|
|
kpss_in1: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&etm1_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
port@2 {
|
|
|
|
reg = <2>;
|
|
|
|
kpss_in2: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&etm2_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
port@3 {
|
|
|
|
reg = <3>;
|
|
|
|
kpss_in3: endpoint {
|
|
|
|
slave-mode;
|
|
|
|
remote-endpoint = <&etm3_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
port@8 {
|
|
|
|
reg = <0>;
|
|
|
|
kpss_out: endpoint {
|
|
|
|
remote-endpoint = <&funnel1_in5>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
etm@fc33c000 {
|
|
|
|
compatible = "arm,coresight-etm4x", "arm,primecell";
|
|
|
|
reg = <0xfc33c000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
cpu = <&CPU0>;
|
|
|
|
|
|
|
|
port {
|
|
|
|
etm0_out: endpoint {
|
|
|
|
remote-endpoint = <&kpss_in0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
etm@fc33d000 {
|
|
|
|
compatible = "arm,coresight-etm4x", "arm,primecell";
|
|
|
|
reg = <0xfc33d000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
cpu = <&CPU1>;
|
|
|
|
|
|
|
|
port {
|
|
|
|
etm1_out: endpoint {
|
|
|
|
remote-endpoint = <&kpss_in1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
etm@fc33e000 {
|
|
|
|
compatible = "arm,coresight-etm4x", "arm,primecell";
|
|
|
|
reg = <0xfc33e000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
cpu = <&CPU2>;
|
|
|
|
|
|
|
|
port {
|
|
|
|
etm2_out: endpoint {
|
|
|
|
remote-endpoint = <&kpss_in2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
etm@fc33f000 {
|
|
|
|
compatible = "arm,coresight-etm4x", "arm,primecell";
|
|
|
|
reg = <0xfc33f000 0x1000>;
|
|
|
|
|
|
|
|
clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
|
|
|
|
clock-names = "apb_pclk", "atclk";
|
|
|
|
|
|
|
|
cpu = <&CPU3>;
|
|
|
|
|
|
|
|
port {
|
|
|
|
etm3_out: endpoint {
|
|
|
|
remote-endpoint = <&kpss_in3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2013-12-21 03:09:15 +08:00
|
|
|
};
|
2015-06-27 05:50:18 +08:00
|
|
|
|
|
|
|
smd {
|
|
|
|
compatible = "qcom,smd";
|
|
|
|
|
2016-08-23 13:57:45 +08:00
|
|
|
adsp {
|
|
|
|
interrupts = <0 156 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
|
|
|
|
qcom,ipc = <&apcs 8 8>;
|
|
|
|
qcom,smd-edge = <1>;
|
|
|
|
};
|
|
|
|
|
2016-03-29 09:32:39 +08:00
|
|
|
modem {
|
|
|
|
interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
|
|
|
|
qcom,ipc = <&apcs 8 12>;
|
|
|
|
qcom,smd-edge = <0>;
|
|
|
|
};
|
|
|
|
|
2015-06-27 05:50:18 +08:00
|
|
|
rpm {
|
|
|
|
interrupts = <0 168 1>;
|
|
|
|
qcom,ipc = <&apcs 8 0>;
|
|
|
|
qcom,smd-edge = <15>;
|
|
|
|
|
|
|
|
rpm_requests {
|
|
|
|
compatible = "qcom,rpm-msm8974";
|
|
|
|
qcom,smd-channels = "rpm_requests";
|
|
|
|
|
2017-03-16 20:55:09 +08:00
|
|
|
rpmcc: clock-controller {
|
|
|
|
compatible = "qcom,rpmcc-msm8974", "qcom,rpmcc";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2015-06-27 05:50:18 +08:00
|
|
|
pm8841-regulators {
|
|
|
|
compatible = "qcom,rpm-pm8841-regulators";
|
|
|
|
|
|
|
|
pm8841_s1: s1 {};
|
|
|
|
pm8841_s2: s2 {};
|
|
|
|
pm8841_s3: s3 {};
|
|
|
|
pm8841_s4: s4 {};
|
|
|
|
pm8841_s5: s5 {};
|
|
|
|
pm8841_s6: s6 {};
|
|
|
|
pm8841_s7: s7 {};
|
|
|
|
pm8841_s8: s8 {};
|
|
|
|
};
|
|
|
|
|
|
|
|
pm8941-regulators {
|
|
|
|
compatible = "qcom,rpm-pm8941-regulators";
|
|
|
|
|
|
|
|
pm8941_s1: s1 {};
|
|
|
|
pm8941_s2: s2 {};
|
|
|
|
pm8941_s3: s3 {};
|
|
|
|
|
|
|
|
pm8941_l1: l1 {};
|
|
|
|
pm8941_l2: l2 {};
|
|
|
|
pm8941_l3: l3 {};
|
|
|
|
pm8941_l4: l4 {};
|
|
|
|
pm8941_l5: l5 {};
|
|
|
|
pm8941_l6: l6 {};
|
|
|
|
pm8941_l7: l7 {};
|
|
|
|
pm8941_l8: l8 {};
|
|
|
|
pm8941_l9: l9 {};
|
|
|
|
pm8941_l10: l10 {};
|
|
|
|
pm8941_l11: l11 {};
|
|
|
|
pm8941_l12: l12 {};
|
|
|
|
pm8941_l13: l13 {};
|
|
|
|
pm8941_l14: l14 {};
|
|
|
|
pm8941_l15: l15 {};
|
|
|
|
pm8941_l16: l16 {};
|
|
|
|
pm8941_l17: l17 {};
|
|
|
|
pm8941_l18: l18 {};
|
|
|
|
pm8941_l19: l19 {};
|
|
|
|
pm8941_l20: l20 {};
|
|
|
|
pm8941_l21: l21 {};
|
|
|
|
pm8941_l22: l22 {};
|
|
|
|
pm8941_l23: l23 {};
|
|
|
|
pm8941_l24: l24 {};
|
|
|
|
|
|
|
|
pm8941_lvs1: lvs1 {};
|
|
|
|
pm8941_lvs2: lvs2 {};
|
|
|
|
pm8941_lvs3: lvs3 {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-07-29 14:09:08 +08:00
|
|
|
|
2016-07-29 14:09:07 +08:00
|
|
|
vreg_boost: vreg-boost {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
|
|
|
|
regulator-name = "vreg-boost";
|
|
|
|
regulator-min-microvolt = <3150000>;
|
|
|
|
regulator-max-microvolt = <3150000>;
|
|
|
|
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
|
|
|
|
gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
|
|
|
|
enable-active-high;
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&boost_bypass_n_pin>;
|
|
|
|
};
|
2016-07-29 14:09:08 +08:00
|
|
|
vreg_vph_pwr: vreg-vph-pwr {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vph-pwr";
|
|
|
|
|
|
|
|
regulator-min-microvolt = <3600000>;
|
|
|
|
regulator-max-microvolt = <3600000>;
|
|
|
|
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
2013-12-21 03:09:15 +08:00
|
|
|
};
|