1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2019 NXP
4 * Dong Aisheng <aisheng.dong@nxp.com>
7 #include <dt-bindings/clock/imx8-lpcg.h>
8 #include <dt-bindings/firmware/imx/rsrc.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/pinctrl/pads-imx8qm.h>
12 #include <dt-bindings/thermal/thermal.h>
15 interrupt-parent = <&gic>;
27 vpu-core0 = &vpu_core0;
28 vpu-core1 = &vpu_core1;
29 vpu-core2 = &vpu_core2;
64 compatible = "arm,cortex-a53";
66 clocks = <&clk IMX_SC_R_A53 IMX_SC_PM_CLK_CPU>;
67 enable-method = "psci";
68 i-cache-size = <0x8000>;
69 i-cache-line-size = <64>;
71 d-cache-size = <0x8000>;
72 d-cache-line-size = <64>;
74 next-level-cache = <&A53_L2>;
75 operating-points-v2 = <&a53_opp_table>;
81 compatible = "arm,cortex-a53";
83 clocks = <&clk IMX_SC_R_A53 IMX_SC_PM_CLK_CPU>;
84 enable-method = "psci";
85 i-cache-size = <0x8000>;
86 i-cache-line-size = <64>;
88 d-cache-size = <0x8000>;
89 d-cache-line-size = <64>;
91 next-level-cache = <&A53_L2>;
92 operating-points-v2 = <&a53_opp_table>;
98 compatible = "arm,cortex-a53";
100 clocks = <&clk IMX_SC_R_A53 IMX_SC_PM_CLK_CPU>;
101 enable-method = "psci";
102 i-cache-size = <0x8000>;
103 i-cache-line-size = <64>;
104 i-cache-sets = <256>;
105 d-cache-size = <0x8000>;
106 d-cache-line-size = <64>;
107 d-cache-sets = <128>;
108 next-level-cache = <&A53_L2>;
109 operating-points-v2 = <&a53_opp_table>;
110 #cooling-cells = <2>;
115 compatible = "arm,cortex-a53";
117 clocks = <&clk IMX_SC_R_A53 IMX_SC_PM_CLK_CPU>;
118 enable-method = "psci";
119 i-cache-size = <0x8000>;
120 i-cache-line-size = <64>;
121 i-cache-sets = <256>;
122 d-cache-size = <0x8000>;
123 d-cache-line-size = <64>;
124 d-cache-sets = <128>;
125 next-level-cache = <&A53_L2>;
126 operating-points-v2 = <&a53_opp_table>;
127 #cooling-cells = <2>;
132 compatible = "arm,cortex-a72";
134 clocks = <&clk IMX_SC_R_A72 IMX_SC_PM_CLK_CPU>;
135 enable-method = "psci";
136 i-cache-size = <0xC000>;
137 i-cache-line-size = <64>;
138 i-cache-sets = <256>;
139 d-cache-size = <0x8000>;
140 d-cache-line-size = <64>;
141 d-cache-sets = <256>;
142 next-level-cache = <&A72_L2>;
143 operating-points-v2 = <&a72_opp_table>;
144 #cooling-cells = <2>;
149 compatible = "arm,cortex-a72";
151 clocks = <&clk IMX_SC_R_A72 IMX_SC_PM_CLK_CPU>;
152 enable-method = "psci";
153 next-level-cache = <&A72_L2>;
154 operating-points-v2 = <&a72_opp_table>;
155 #cooling-cells = <2>;
159 compatible = "cache";
162 cache-size = <0x100000>;
163 cache-line-size = <64>;
168 compatible = "cache";
171 cache-size = <0x100000>;
172 cache-line-size = <64>;
177 a53_opp_table: opp-table-0 {
178 compatible = "operating-points-v2";
182 opp-hz = /bits/ 64 <600000000>;
183 opp-microvolt = <900000>;
184 clock-latency-ns = <150000>;
188 opp-hz = /bits/ 64 <896000000>;
189 opp-microvolt = <1000000>;
190 clock-latency-ns = <150000>;
194 opp-hz = /bits/ 64 <1104000000>;
195 opp-microvolt = <1100000>;
196 clock-latency-ns = <150000>;
200 opp-hz = /bits/ 64 <1200000000>;
201 opp-microvolt = <1100000>;
202 clock-latency-ns = <150000>;
207 a72_opp_table: opp-table-1 {
208 compatible = "operating-points-v2";
212 opp-hz = /bits/ 64 <600000000>;
213 opp-microvolt = <1000000>;
214 clock-latency-ns = <150000>;
218 opp-hz = /bits/ 64 <1056000000>;
219 opp-microvolt = <1000000>;
220 clock-latency-ns = <150000>;
224 opp-hz = /bits/ 64 <1296000000>;
225 opp-microvolt = <1100000>;
226 clock-latency-ns = <150000>;
230 opp-hz = /bits/ 64 <1596000000>;
231 opp-microvolt = <1100000>;
232 clock-latency-ns = <150000>;
237 gic: interrupt-controller@51a00000 {
238 compatible = "arm,gic-v3";
239 reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */
240 <0x0 0x51b00000 0 0xC0000>, /* GICR */
241 <0x0 0x52000000 0 0x2000>, /* GICC */
242 <0x0 0x52010000 0 0x1000>, /* GICH */
243 <0x0 0x52020000 0 0x20000>; /* GICV */
244 #interrupt-cells = <3>;
245 interrupt-controller;
246 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
247 interrupt-parent = <&gic>;
251 compatible = "arm,armv8-pmuv3";
252 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
256 compatible = "arm,psci-1.0";
261 compatible = "arm,armv8-timer";
262 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* Physical Secure */
263 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* Physical Non-Secure */
264 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* Virtual */
265 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* Hypervisor */
269 compatible = "fsl,imx-scu";
273 mboxes = <&lsio_mu1 0 0
277 pd: power-controller {
278 compatible = "fsl,imx8qm-scu-pd", "fsl,scu-pd";
279 #power-domain-cells = <1>;
282 clk: clock-controller {
283 compatible = "fsl,imx8qm-clk", "fsl,scu-clk";
288 compatible = "fsl,imx8qm-iomuxc";
292 compatible = "fsl,imx8qxp-sc-rtc";
295 tsens: thermal-sensor {
296 compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
297 #thermal-sensor-cells = <1>;
303 polling-delay-passive = <250>;
304 polling-delay = <2000>;
305 thermal-sensors = <&tsens IMX_SC_R_A53>;
309 temperature = <107000>;
315 temperature = <127000>;
323 trip = <&cpu_alert0>;
325 <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
326 <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
327 <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
328 <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
334 polling-delay-passive = <250>;
335 polling-delay = <2000>;
336 thermal-sensors = <&tsens IMX_SC_R_A72>;
340 temperature = <107000>;
346 temperature = <127000>;
354 trip = <&cpu_alert1>;
356 <&A72_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
357 <&A72_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
363 polling-delay-passive = <250>;
364 polling-delay = <2000>;
365 thermal-sensors = <&tsens IMX_SC_R_GPU_0_PID0>;
369 temperature = <107000>;
375 temperature = <127000>;
383 polling-delay-passive = <250>;
384 polling-delay = <2000>;
385 thermal-sensors = <&tsens IMX_SC_R_GPU_1_PID0>;
389 temperature = <107000>;
395 temperature = <127000>;
403 polling-delay-passive = <250>;
404 polling-delay = <2000>;
405 thermal-sensors = <&tsens IMX_SC_R_DRC_0>;
409 temperature = <107000>;
415 temperature = <127000>;
423 /* sorted in register address */
424 #include "imx8-ss-vpu.dtsi"
425 #include "imx8-ss-img.dtsi"
426 #include "imx8-ss-dma.dtsi"
427 #include "imx8-ss-conn.dtsi"
428 #include "imx8-ss-lsio.dtsi"
431 #include "imx8qm-ss-img.dtsi"
432 #include "imx8qm-ss-dma.dtsi"
433 #include "imx8qm-ss-conn.dtsi"
434 #include "imx8qm-ss-lsio.dtsi"