1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree Include file for Freescale Layerscape-2088A family SoC.
4 *
5 * Copyright 2016 Freescale Semiconductor, Inc.
6 * Copyright 2017 NXP
7 *
8 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
9 *
10 */
11
12#include <dt-bindings/clock/fsl,qoriq-clockgen.h>
13#include "fsl-ls208xa.dtsi"
14
15&cpu {
16	cpu0: cpu@0 {
17		device_type = "cpu";
18		compatible = "arm,cortex-a72";
19		reg = <0x0>;
20		clocks = <&clockgen QORIQ_CLK_CMUX 0>;
21		cpu-idle-states = <&CPU_PW20>;
22		next-level-cache = <&cluster0_l2>;
23		#cooling-cells = <2>;
24	};
25
26	cpu1: cpu@1 {
27		device_type = "cpu";
28		compatible = "arm,cortex-a72";
29		reg = <0x1>;
30		clocks = <&clockgen QORIQ_CLK_CMUX 0>;
31		cpu-idle-states = <&CPU_PW20>;
32		next-level-cache = <&cluster0_l2>;
33		#cooling-cells = <2>;
34	};
35
36	cpu2: cpu@100 {
37		device_type = "cpu";
38		compatible = "arm,cortex-a72";
39		reg = <0x100>;
40		clocks = <&clockgen QORIQ_CLK_CMUX 1>;
41		cpu-idle-states = <&CPU_PW20>;
42		next-level-cache = <&cluster1_l2>;
43		#cooling-cells = <2>;
44	};
45
46	cpu3: cpu@101 {
47		device_type = "cpu";
48		compatible = "arm,cortex-a72";
49		reg = <0x101>;
50		clocks = <&clockgen QORIQ_CLK_CMUX 1>;
51		cpu-idle-states = <&CPU_PW20>;
52		next-level-cache = <&cluster1_l2>;
53		#cooling-cells = <2>;
54	};
55
56	cpu4: cpu@200 {
57		device_type = "cpu";
58		compatible = "arm,cortex-a72";
59		reg = <0x200>;
60		clocks = <&clockgen QORIQ_CLK_CMUX 2>;
61		next-level-cache = <&cluster2_l2>;
62		cpu-idle-states = <&CPU_PW20>;
63		#cooling-cells = <2>;
64	};
65
66	cpu5: cpu@201 {
67		device_type = "cpu";
68		compatible = "arm,cortex-a72";
69		reg = <0x201>;
70		clocks = <&clockgen QORIQ_CLK_CMUX 2>;
71		cpu-idle-states = <&CPU_PW20>;
72		next-level-cache = <&cluster2_l2>;
73		#cooling-cells = <2>;
74	};
75
76	cpu6: cpu@300 {
77		device_type = "cpu";
78		compatible = "arm,cortex-a72";
79		reg = <0x300>;
80		clocks = <&clockgen QORIQ_CLK_CMUX 3>;
81		cpu-idle-states = <&CPU_PW20>;
82		next-level-cache = <&cluster3_l2>;
83		#cooling-cells = <2>;
84	};
85
86	cpu7: cpu@301 {
87		device_type = "cpu";
88		compatible = "arm,cortex-a72";
89		reg = <0x301>;
90		clocks = <&clockgen QORIQ_CLK_CMUX 3>;
91		cpu-idle-states = <&CPU_PW20>;
92		next-level-cache = <&cluster3_l2>;
93		#cooling-cells = <2>;
94	};
95
96	cluster0_l2: l2-cache0 {
97		compatible = "cache";
98		cache-level = <2>;
99		cache-unified;
100	};
101
102	cluster1_l2: l2-cache1 {
103		compatible = "cache";
104		cache-level = <2>;
105		cache-unified;
106	};
107
108	cluster2_l2: l2-cache2 {
109		compatible = "cache";
110		cache-level = <2>;
111		cache-unified;
112	};
113
114	cluster3_l2: l2-cache3 {
115		compatible = "cache";
116		cache-level = <2>;
117		cache-unified;
118	};
119
120	CPU_PW20: cpu-pw20 {
121		compatible = "arm,idle-state";
122		idle-state-name = "PW20";
123		arm,psci-suspend-param = <0x0>;
124		entry-latency-us = <2000>;
125		exit-latency-us = <2000>;
126		min-residency-us = <6000>;
127	};
128};
129
130&pcie1 {
131	compatible = "fsl,ls2088a-pcie";
132	reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
133	      <0x20 0x00000000 0x0 0x00002000>; /* configuration space */
134
135	ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000
136		  0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>;
137};
138
139&pcie2 {
140	compatible = "fsl,ls2088a-pcie";
141	reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
142	      <0x28 0x00000000 0x0 0x00002000>; /* configuration space */
143
144	ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000
145		  0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>;
146};
147
148&pcie3 {
149	compatible = "fsl,ls2088a-pcie";
150	reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
151	      <0x30 0x00000000 0x0 0x00002000>; /* configuration space */
152
153	ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000
154		  0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>;
155};
156
157&pcie4 {
158	compatible = "fsl,ls2088a-pcie";
159	reg = <0x00 0x03700000 0x0 0x00100000>, /* controller registers */
160	      <0x38 0x00000000 0x0 0x00002000>; /* configuration space */
161
162	ranges = <0x81000000 0x0 0x00000000 0x38 0x00010000 0x0 0x00010000
163		  0x82000000 0x0 0x40000000 0x38 0x40000000 0x0 0x40000000>;
164};
165