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	};
100
101	cluster1_l2: l2-cache1 {
102		compatible = "cache";
103		cache-level = <2>;
104	};
105
106	cluster2_l2: l2-cache2 {
107		compatible = "cache";
108		cache-level = <2>;
109	};
110
111	cluster3_l2: l2-cache3 {
112		compatible = "cache";
113		cache-level = <2>;
114	};
115
116	CPU_PW20: cpu-pw20 {
117		compatible = "arm,idle-state";
118		idle-state-name = "PW20";
119		arm,psci-suspend-param = <0x0>;
120		entry-latency-us = <2000>;
121		exit-latency-us = <2000>;
122		min-residency-us = <6000>;
123	};
124};
125
126&pcie1 {
127	compatible = "fsl,ls2088a-pcie";
128	reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
129	      <0x20 0x00000000 0x0 0x00002000>; /* configuration space */
130
131	ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000
132		  0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>;
133};
134
135&pcie2 {
136	compatible = "fsl,ls2088a-pcie";
137	reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
138	      <0x28 0x00000000 0x0 0x00002000>; /* configuration space */
139
140	ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000
141		  0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>;
142};
143
144&pcie3 {
145	compatible = "fsl,ls2088a-pcie";
146	reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
147	      <0x30 0x00000000 0x0 0x00002000>; /* configuration space */
148
149	ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000
150		  0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>;
151};
152
153&pcie4 {
154	compatible = "fsl,ls2088a-pcie";
155	reg = <0x00 0x03700000 0x0 0x00100000>, /* controller registers */
156	      <0x38 0x00000000 0x0 0x00002000>; /* configuration space */
157
158	ranges = <0x81000000 0x0 0x00000000 0x38 0x00010000 0x0 0x00010000
159		  0x82000000 0x0 0x40000000 0x38 0x40000000 0x0 0x40000000>;
160};
161