1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree Include file for Freescale Layerscape-2080A family SoC.
4 *
5 * Copyright 2014-2016 Freescale Semiconductor, Inc.
6 *
7 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
8 * Bhupesh Sharma <bhupesh.sharma@freescale.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-a57";
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-a57";
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-a57";
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-a57";
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-a57";
59		reg = <0x200>;
60		clocks = <&clockgen QORIQ_CLK_CMUX 2>;
61		cpu-idle-states = <&CPU_PW20>;
62		next-level-cache = <&cluster2_l2>;
63		#cooling-cells = <2>;
64	};
65
66	cpu5: cpu@201 {
67		device_type = "cpu";
68		compatible = "arm,cortex-a57";
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-a57";
79		reg = <0x300>;
80		clocks = <&clockgen QORIQ_CLK_CMUX 3>;
81		next-level-cache = <&cluster3_l2>;
82		cpu-idle-states = <&CPU_PW20>;
83		#cooling-cells = <2>;
84	};
85
86	cpu7: cpu@301 {
87		device_type = "cpu";
88		compatible = "arm,cortex-a57";
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 = <0x00010000>;
120		entry-latency-us = <2000>;
121		exit-latency-us = <2000>;
122		min-residency-us = <6000>;
123	};
124};
125
126&pcie1 {
127	reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
128	      <0x10 0x00000000 0x0 0x00002000>; /* configuration space */
129
130	ranges = <0x81000000 0x0 0x00000000 0x10 0x00010000 0x0 0x00010000   /* downstream I/O */
131		  0x82000000 0x0 0x40000000 0x10 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
132};
133
134&pcie2 {
135	reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
136	      <0x12 0x00000000 0x0 0x00002000>; /* configuration space */
137
138	ranges = <0x81000000 0x0 0x00000000 0x12 0x00010000 0x0 0x00010000   /* downstream I/O */
139		  0x82000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
140};
141
142&pcie3 {
143	reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
144	      <0x14 0x00000000 0x0 0x00002000>; /* configuration space */
145
146	ranges = <0x81000000 0x0 0x00000000 0x14 0x00010000 0x0 0x00010000   /* downstream I/O */
147		  0x82000000 0x0 0x40000000 0x14 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
148};
149
150&pcie4 {
151	reg = <0x00 0x03700000 0x0 0x00100000>, /* controller registers */
152	      <0x16 0x00000000 0x0 0x00002000>; /* configuration space */
153
154	ranges = <0x81000000 0x0 0x00000000 0x16 0x00010000 0x0 0x00010000   /* downstream I/O */
155		  0x82000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
156};
157
158&timer {
159	fsl,erratum-a008585;
160};
161