1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2016 Freescale Semiconductor, Inc.
4 * Copyright 2017-2020 NXP
5 * Dong Aisheng <aisheng.dong@nxp.com>
8 #include <dt-bindings/clock/imx8-clock.h>
9 #include <dt-bindings/clock/imx8-lpcg.h>
10 #include <dt-bindings/firmware/imx/rsrc.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 #include <dt-bindings/pinctrl/pads-imx8qxp.h>
15 #include <dt-bindings/thermal/thermal.h>
18 interrupt-parent = <&gic>;
49 vpu_core0 = &vpu_core0;
50 vpu_core1 = &vpu_core1;
51 vpu_core2 = &vpu_core2;
58 /* We have 1 clusters with 4 Cortex-A35 cores */
61 compatible = "arm,cortex-a35";
63 enable-method = "psci";
64 i-cache-size = <0x8000>;
65 i-cache-line-size = <64>;
67 d-cache-size = <0x8000>;
68 d-cache-line-size = <64>;
70 next-level-cache = <&A35_L2>;
71 clocks = <&clk IMX_SC_R_A35 IMX_SC_PM_CLK_CPU>;
72 operating-points-v2 = <&a35_opp_table>;
78 compatible = "arm,cortex-a35";
80 enable-method = "psci";
81 i-cache-size = <0x8000>;
82 i-cache-line-size = <64>;
84 d-cache-size = <0x8000>;
85 d-cache-line-size = <64>;
87 next-level-cache = <&A35_L2>;
88 clocks = <&clk IMX_SC_R_A35 IMX_SC_PM_CLK_CPU>;
89 operating-points-v2 = <&a35_opp_table>;
95 compatible = "arm,cortex-a35";
97 enable-method = "psci";
98 i-cache-size = <0x8000>;
99 i-cache-line-size = <64>;
100 i-cache-sets = <256>;
101 d-cache-size = <0x8000>;
102 d-cache-line-size = <64>;
103 d-cache-sets = <128>;
104 next-level-cache = <&A35_L2>;
105 clocks = <&clk IMX_SC_R_A35 IMX_SC_PM_CLK_CPU>;
106 operating-points-v2 = <&a35_opp_table>;
107 #cooling-cells = <2>;
112 compatible = "arm,cortex-a35";
114 enable-method = "psci";
115 i-cache-size = <0x8000>;
116 i-cache-line-size = <64>;
117 i-cache-sets = <256>;
118 d-cache-size = <0x8000>;
119 d-cache-line-size = <64>;
120 d-cache-sets = <128>;
121 next-level-cache = <&A35_L2>;
122 clocks = <&clk IMX_SC_R_A35 IMX_SC_PM_CLK_CPU>;
123 operating-points-v2 = <&a35_opp_table>;
124 #cooling-cells = <2>;
128 compatible = "cache";
130 cache-size = <0x80000>;
131 cache-line-size = <64>;
136 a35_opp_table: opp-table {
137 compatible = "operating-points-v2";
141 opp-hz = /bits/ 64 <900000000>;
142 opp-microvolt = <1000000>;
143 clock-latency-ns = <150000>;
147 opp-hz = /bits/ 64 <1200000000>;
148 opp-microvolt = <1100000>;
149 clock-latency-ns = <150000>;
154 gic: interrupt-controller@51a00000 {
155 compatible = "arm,gic-v3";
156 reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */
157 <0x0 0x51b00000 0 0xc0000>; /* GICR (RD_base + SGI_base) */
158 #interrupt-cells = <3>;
159 interrupt-controller;
160 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
164 #address-cells = <2>;
168 decoder_boot: decoder-boot@84000000 {
169 reg = <0 0x84000000 0 0x2000000>;
173 encoder_boot: encoder-boot@86000000 {
174 reg = <0 0x86000000 0 0x200000>;
178 decoder_rpc: decoder-rpc@92000000 {
179 reg = <0 0x92000000 0 0x100000>;
183 dsp_reserved: dsp@92400000 {
184 reg = <0 0x92400000 0 0x2000000>;
188 encoder_rpc: encoder-rpc@94400000 {
189 reg = <0 0x94400000 0 0x700000>;
195 compatible = "arm,cortex-a35-pmu";
196 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
200 compatible = "arm,psci-1.0";
205 compatible = "fsl,imx-scu";
209 mboxes = <&lsio_mu1 0 0
213 pd: power-controller {
214 compatible = "fsl,imx8qxp-scu-pd", "fsl,scu-pd";
215 #power-domain-cells = <1>;
218 clk: clock-controller {
219 compatible = "fsl,imx8qxp-clk", "fsl,scu-clk";
224 compatible = "fsl,imx8qxp-iomuxc";
228 compatible = "fsl,imx8qxp-scu-ocotp";
229 #address-cells = <1>;
234 compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
235 linux,keycodes = <KEY_POWER>;
240 compatible = "fsl,imx8qxp-sc-rtc";
244 compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt";
248 tsens: thermal-sensor {
249 compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
250 #thermal-sensor-cells = <1>;
255 compatible = "arm,armv8-timer";
256 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* Physical Secure */
257 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* Physical Non-Secure */
258 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* Virtual */
259 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* Hypervisor */
262 xtal32k: clock-xtal32k {
263 compatible = "fixed-clock";
265 clock-frequency = <32768>;
266 clock-output-names = "xtal_32KHz";
269 xtal24m: clock-xtal24m {
270 compatible = "fixed-clock";
272 clock-frequency = <24000000>;
273 clock-output-names = "xtal_24MHz";
276 thermal_zones: thermal-zones {
278 polling-delay-passive = <250>;
279 polling-delay = <2000>;
280 thermal-sensors = <&tsens IMX_SC_R_SYSTEM>;
284 temperature = <107000>;
290 temperature = <127000>;
298 trip = <&cpu_alert0>;
300 <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
301 <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
302 <&A35_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
303 <&A35_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
309 /* sorted in register address */
310 #include "imx8-ss-img.dtsi"
311 #include "imx8-ss-vpu.dtsi"
312 #include "imx8-ss-adma.dtsi"
313 #include "imx8-ss-conn.dtsi"
314 #include "imx8-ss-ddr.dtsi"
315 #include "imx8-ss-lsio.dtsi"
318 #include "imx8qxp-ss-img.dtsi"
319 #include "imx8qxp-ss-adma.dtsi"
320 #include "imx8qxp-ss-conn.dtsi"
321 #include "imx8qxp-ss-lsio.dtsi"