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