2013-12-21 02:09:15 +07:00
|
|
|
/dts-v1/;
|
|
|
|
|
2014-09-16 18:45:38 +07:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2014-01-17 08:25:03 +07:00
|
|
|
#include <dt-bindings/clock/qcom,gcc-msm8974.h>
|
2014-09-16 18:45:38 +07:00
|
|
|
#include "skeleton.dtsi"
|
2014-01-17 08:25:03 +07:00
|
|
|
|
2013-12-21 02:09:15 +07:00
|
|
|
/ {
|
|
|
|
model = "Qualcomm MSM8974";
|
|
|
|
compatible = "qcom,msm8974";
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
|
2015-06-27 04:50:17 +07:00
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
smem_region: smem@fa00000 {
|
|
|
|
reg = <0xfa00000 0x200000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-11-02 00:10:40 +07:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
interrupts = <1 9 0xf04>;
|
|
|
|
|
|
|
|
cpu@0 {
|
2014-05-29 00:01:29 +07:00
|
|
|
compatible = "qcom,krait";
|
|
|
|
enable-method = "qcom,kpss-acc-v2";
|
2013-11-02 00:10:40 +07:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <0>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc0>;
|
2015-03-26 03:25:30 +07:00
|
|
|
qcom,saw = <&saw0>;
|
2015-03-26 03:25:33 +07:00
|
|
|
cpu-idle-states = <&CPU_SPC>;
|
2013-11-02 00:10:40 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
2014-05-29 00:01:29 +07:00
|
|
|
compatible = "qcom,krait";
|
|
|
|
enable-method = "qcom,kpss-acc-v2";
|
2013-11-02 00:10:40 +07:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <1>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc1>;
|
2015-03-26 03:25:30 +07:00
|
|
|
qcom,saw = <&saw1>;
|
2015-03-26 03:25:33 +07:00
|
|
|
cpu-idle-states = <&CPU_SPC>;
|
2013-11-02 00:10:40 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
cpu@2 {
|
2014-05-29 00:01:29 +07:00
|
|
|
compatible = "qcom,krait";
|
|
|
|
enable-method = "qcom,kpss-acc-v2";
|
2013-11-02 00:10:40 +07:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <2>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc2>;
|
2015-03-26 03:25:30 +07:00
|
|
|
qcom,saw = <&saw2>;
|
2015-03-26 03:25:33 +07:00
|
|
|
cpu-idle-states = <&CPU_SPC>;
|
2013-11-02 00:10:40 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
cpu@3 {
|
2014-05-29 00:01:29 +07:00
|
|
|
compatible = "qcom,krait";
|
|
|
|
enable-method = "qcom,kpss-acc-v2";
|
2013-11-02 00:10:40 +07:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <3>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc3>;
|
2015-03-26 03:25:30 +07:00
|
|
|
qcom,saw = <&saw3>;
|
2015-03-26 03:25:33 +07:00
|
|
|
cpu-idle-states = <&CPU_SPC>;
|
2013-11-02 00:10:40 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
L2: l2-cache {
|
|
|
|
compatible = "cache";
|
|
|
|
cache-level = <2>;
|
|
|
|
qcom,saw = <&saw_l2>;
|
|
|
|
};
|
2015-03-26 03:25:33 +07: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 00:10:40 +07:00
|
|
|
};
|
|
|
|
|
2014-02-21 18:09:50 +07:00
|
|
|
cpu-pmu {
|
|
|
|
compatible = "qcom,krait-pmu";
|
|
|
|
interrupts = <1 7 0xf04>;
|
|
|
|
};
|
|
|
|
|
2014-05-29 00:01:29 +07:00
|
|
|
timer {
|
|
|
|
compatible = "arm,armv7-timer";
|
|
|
|
interrupts = <1 2 0xf08>,
|
|
|
|
<1 3 0xf08>,
|
|
|
|
<1 4 0xf08>,
|
|
|
|
<1 1 0xf08>;
|
|
|
|
clock-frequency = <19200000>;
|
|
|
|
};
|
|
|
|
|
2013-12-21 02:09:15 +07: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>;
|
|
|
|
};
|
|
|
|
|
2013-12-21 02:09:19 +07: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 03:25:30 +07: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 00:10:40 +07: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 02:09:18 +07:00
|
|
|
restart@fc4ab000 {
|
|
|
|
compatible = "qcom,pshold";
|
|
|
|
reg = <0xfc4ab000 0x4>;
|
|
|
|
};
|
2014-01-17 08:25:03 +07:00
|
|
|
|
|
|
|
gcc: clock-controller@fc400000 {
|
|
|
|
compatible = "qcom,gcc-msm8974";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
reg = <0xfc400000 0x4000>;
|
|
|
|
};
|
|
|
|
|
2015-06-27 04:50:16 +07:00
|
|
|
tcsr_mutex_block: syscon@fd484000 {
|
|
|
|
compatible = "syscon";
|
|
|
|
reg = <0xfd484000 0x2000>;
|
|
|
|
};
|
|
|
|
|
2014-01-17 08:25:03 +07:00
|
|
|
mmcc: clock-controller@fd8c0000 {
|
|
|
|
compatible = "qcom,mmcc-msm8974";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
reg = <0xfd8c0000 0x6000>;
|
|
|
|
};
|
|
|
|
|
2015-06-27 04:50:16 +07:00
|
|
|
tcsr_mutex: tcsr-mutex {
|
|
|
|
compatible = "qcom,tcsr-mutex";
|
|
|
|
syscon = <&tcsr_mutex_block 0 0x80>;
|
|
|
|
|
|
|
|
#hwlock-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2015-06-27 04:50:17 +07:00
|
|
|
smem@fa00000 {
|
|
|
|
compatible = "qcom,smem";
|
|
|
|
|
|
|
|
memory-region = <&smem_region>;
|
|
|
|
reg = <0xfc428000 0x4000>;
|
|
|
|
|
|
|
|
hwlocks = <&tcsr_mutex 3>;
|
|
|
|
};
|
|
|
|
|
2015-06-17 04:31:44 +07:00
|
|
|
blsp1_uart2: serial@f991e000 {
|
2014-01-17 08:25:03 +07: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 00:01:29 +07:00
|
|
|
status = "disabled";
|
2014-01-17 08:25:03 +07:00
|
|
|
};
|
2014-02-07 16:23:07 +07:00
|
|
|
|
2014-01-31 21:21:56 +07: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";
|
|
|
|
clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>;
|
|
|
|
clock-names = "core", "iface";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
clocks = <&gcc GCC_SDCC2_APPS_CLK>, <&gcc GCC_SDCC2_AHB_CLK>;
|
|
|
|
clock-names = "core", "iface";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2014-02-07 16:23:07 +07:00
|
|
|
rng@f9bff000 {
|
|
|
|
compatible = "qcom,prng";
|
|
|
|
reg = <0xf9bff000 0x200>;
|
|
|
|
clocks = <&gcc GCC_PRNG_AHB_CLK>;
|
|
|
|
clock-names = "core";
|
|
|
|
};
|
2014-02-06 22:28:49 +07: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 18:45:38 +07:00
|
|
|
|
|
|
|
blsp_i2c11: i2c@f9967000 {
|
|
|
|
status = "disable";
|
|
|
|
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>;
|
|
|
|
};
|
2015-02-03 19:17:58 +07: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>;
|
|
|
|
};
|
2013-12-21 02:09:15 +07:00
|
|
|
};
|
|
|
|
};
|