2 * Spreadtrum SC9836 SoC DTS file
4 * Copyright (C) 2014, Spreadtrum Communications Inc.
6 * This file is licensed under a dual GPLv2 or X11 license.
9 #include "sharkl64.dtsi"
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 compatible = "sprd,sc9836";
21 compatible = "arm,cortex-a53", "arm,armv8";
23 enable-method = "psci";
28 compatible = "arm,cortex-a53", "arm,armv8";
30 enable-method = "psci";
35 compatible = "arm,cortex-a53", "arm,armv8";
37 enable-method = "psci";
42 compatible = "arm,cortex-a53", "arm,armv8";
44 enable-method = "psci";
49 compatible = "arm,coresight-tmc", "arm,primecell";
50 reg = <0 0x10003000 0 0x1000>;
52 clock-names = "apb_pclk";
56 remote-endpoint = <&funnel_out_port0>;
62 compatible = "arm,coresight-funnel", "arm,primecell";
63 reg = <0 0x10001000 0 0x1000>;
65 clock-names = "apb_pclk";
70 /* funnel output port */
73 funnel_out_port0: endpoint {
74 remote-endpoint = <&etf_in>;
78 /* funnel input port 0-4 */
81 funnel_in_port0: endpoint {
83 remote-endpoint = <&etm0_out>;
89 funnel_in_port1: endpoint {
91 remote-endpoint = <&etm1_out>;
97 funnel_in_port2: endpoint {
99 remote-endpoint = <&etm2_out>;
105 funnel_in_port3: endpoint {
107 remote-endpoint = <&etm3_out>;
113 funnel_in_port4: endpoint {
115 remote-endpoint = <&stm_out>;
118 /* Other input ports aren't connected to anyone */
123 compatible = "arm,coresight-etm4x", "arm,primecell";
124 reg = <0 0x10440000 0 0x1000>;
127 clocks = <&clk26mhz>;
128 clock-names = "apb_pclk";
131 remote-endpoint = <&funnel_in_port0>;
137 compatible = "arm,coresight-etm4x", "arm,primecell";
138 reg = <0 0x10540000 0 0x1000>;
141 clocks = <&clk26mhz>;
142 clock-names = "apb_pclk";
145 remote-endpoint = <&funnel_in_port1>;
151 compatible = "arm,coresight-etm4x", "arm,primecell";
152 reg = <0 0x10640000 0 0x1000>;
155 clocks = <&clk26mhz>;
156 clock-names = "apb_pclk";
159 remote-endpoint = <&funnel_in_port2>;
165 compatible = "arm,coresight-etm4x", "arm,primecell";
166 reg = <0 0x10740000 0 0x1000>;
169 clocks = <&clk26mhz>;
170 clock-names = "apb_pclk";
173 remote-endpoint = <&funnel_in_port3>;
179 compatible = "arm,coresight-stm", "arm,primecell";
180 reg = <0 0x10006000 0 0x1000>,
181 <0 0x01000000 0 0x180000>;
182 reg-names = "stm-base", "stm-stimulus-base";
183 clocks = <&clk26mhz>;
184 clock-names = "apb_pclk";
187 remote-endpoint = <&funnel_in_port4>;
192 gic: interrupt-controller@12001000 {
193 compatible = "arm,gic-400";
194 reg = <0 0x12001000 0 0x1000>,
195 <0 0x12002000 0 0x2000>,
196 <0 0x12004000 0 0x2000>,
197 <0 0x12006000 0 0x2000>;
198 #interrupt-cells = <3>;
199 interrupt-controller;
200 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
204 compatible = "arm,psci";
206 cpu_on = <0xc4000003>;
207 cpu_off = <0x84000002>;
208 cpu_suspend = <0xc4000001>;
212 compatible = "arm,armv8-timer";
213 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
214 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
215 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
216 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;