xref: /openbmc/linux/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi (revision df72c23ea2fc62e97e8f202d77b8102eff9d296d)
1*df72c23eSAbhimanyu Saini/*
2*df72c23eSAbhimanyu Saini * Device Tree Include file for Freescale Layerscape-2088A family SoC.
3*df72c23eSAbhimanyu Saini *
4*df72c23eSAbhimanyu Saini * Copyright (C) 2016-17, Freescale Semiconductor
5*df72c23eSAbhimanyu Saini *
6*df72c23eSAbhimanyu Saini * Abhimanyu Saini <abhimanyu.saini@nxp.com>
7*df72c23eSAbhimanyu Saini *
8*df72c23eSAbhimanyu Saini * This file is dual-licensed: you can use it either under the terms
9*df72c23eSAbhimanyu Saini * of the GPLv2 or the X11 license, at your option. Note that this dual
10*df72c23eSAbhimanyu Saini * licensing only applies to this file, and not this project as a
11*df72c23eSAbhimanyu Saini * whole.
12*df72c23eSAbhimanyu Saini *
13*df72c23eSAbhimanyu Saini *  a) This library is free software; you can redistribute it and/or
14*df72c23eSAbhimanyu Saini *     modify it under the terms of the GNU General Public License as
15*df72c23eSAbhimanyu Saini *     published by the Free Software Foundation; either version 2 of the
16*df72c23eSAbhimanyu Saini *     License, or (at your option) any later version.
17*df72c23eSAbhimanyu Saini *
18*df72c23eSAbhimanyu Saini *     This library is distributed in the hope that it will be useful,
19*df72c23eSAbhimanyu Saini *     but WITHOUT ANY WARRANTY; without even the implied warranty of
20*df72c23eSAbhimanyu Saini *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21*df72c23eSAbhimanyu Saini *     GNU General Public License for more details.
22*df72c23eSAbhimanyu Saini *
23*df72c23eSAbhimanyu Saini * Or, alternatively,
24*df72c23eSAbhimanyu Saini *
25*df72c23eSAbhimanyu Saini *  b) Permission is hereby granted, free of charge, to any person
26*df72c23eSAbhimanyu Saini *     obtaining a copy of this software and associated documentation
27*df72c23eSAbhimanyu Saini *     files (the "Software"), to deal in the Software without
28*df72c23eSAbhimanyu Saini *     restriction, including without limitation the rights to use,
29*df72c23eSAbhimanyu Saini *     copy, modify, merge, publish, distribute, sublicense, and/or
30*df72c23eSAbhimanyu Saini *     sell copies of the Software, and to permit persons to whom the
31*df72c23eSAbhimanyu Saini *     Software is furnished to do so, subject to the following
32*df72c23eSAbhimanyu Saini *     conditions:
33*df72c23eSAbhimanyu Saini *
34*df72c23eSAbhimanyu Saini *     The above copyright notice and this permission notice shall be
35*df72c23eSAbhimanyu Saini *     included in all copies or substantial portions of the Software.
36*df72c23eSAbhimanyu Saini *
37*df72c23eSAbhimanyu Saini *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38*df72c23eSAbhimanyu Saini *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39*df72c23eSAbhimanyu Saini *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40*df72c23eSAbhimanyu Saini *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41*df72c23eSAbhimanyu Saini *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42*df72c23eSAbhimanyu Saini *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43*df72c23eSAbhimanyu Saini *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44*df72c23eSAbhimanyu Saini *     OTHER DEALINGS IN THE SOFTWARE.
45*df72c23eSAbhimanyu Saini */
46*df72c23eSAbhimanyu Saini
47*df72c23eSAbhimanyu Saini#include "fsl-ls208xa.dtsi"
48*df72c23eSAbhimanyu Saini
49*df72c23eSAbhimanyu Saini&cpu {
50*df72c23eSAbhimanyu Saini	cpu0: cpu@0 {
51*df72c23eSAbhimanyu Saini		device_type = "cpu";
52*df72c23eSAbhimanyu Saini		compatible = "arm,cortex-a72";
53*df72c23eSAbhimanyu Saini		reg = <0x0>;
54*df72c23eSAbhimanyu Saini		clocks = <&clockgen 1 0>;
55*df72c23eSAbhimanyu Saini		next-level-cache = <&cluster0_l2>;
56*df72c23eSAbhimanyu Saini		#cooling-cells = <2>;
57*df72c23eSAbhimanyu Saini	};
58*df72c23eSAbhimanyu Saini
59*df72c23eSAbhimanyu Saini	cpu1: cpu@1 {
60*df72c23eSAbhimanyu Saini		device_type = "cpu";
61*df72c23eSAbhimanyu Saini		compatible = "arm,cortex-a72";
62*df72c23eSAbhimanyu Saini		reg = <0x1>;
63*df72c23eSAbhimanyu Saini		clocks = <&clockgen 1 0>;
64*df72c23eSAbhimanyu Saini		next-level-cache = <&cluster0_l2>;
65*df72c23eSAbhimanyu Saini	};
66*df72c23eSAbhimanyu Saini
67*df72c23eSAbhimanyu Saini	cpu2: cpu@100 {
68*df72c23eSAbhimanyu Saini		device_type = "cpu";
69*df72c23eSAbhimanyu Saini		compatible = "arm,cortex-a72";
70*df72c23eSAbhimanyu Saini		reg = <0x100>;
71*df72c23eSAbhimanyu Saini		clocks = <&clockgen 1 1>;
72*df72c23eSAbhimanyu Saini		next-level-cache = <&cluster1_l2>;
73*df72c23eSAbhimanyu Saini		#cooling-cells = <2>;
74*df72c23eSAbhimanyu Saini	};
75*df72c23eSAbhimanyu Saini
76*df72c23eSAbhimanyu Saini	cpu3: cpu@101 {
77*df72c23eSAbhimanyu Saini		device_type = "cpu";
78*df72c23eSAbhimanyu Saini		compatible = "arm,cortex-a72";
79*df72c23eSAbhimanyu Saini		reg = <0x101>;
80*df72c23eSAbhimanyu Saini		clocks = <&clockgen 1 1>;
81*df72c23eSAbhimanyu Saini		next-level-cache = <&cluster1_l2>;
82*df72c23eSAbhimanyu Saini	};
83*df72c23eSAbhimanyu Saini
84*df72c23eSAbhimanyu Saini	cpu4: cpu@200 {
85*df72c23eSAbhimanyu Saini		device_type = "cpu";
86*df72c23eSAbhimanyu Saini		compatible = "arm,cortex-a72";
87*df72c23eSAbhimanyu Saini		reg = <0x200>;
88*df72c23eSAbhimanyu Saini		clocks = <&clockgen 1 2>;
89*df72c23eSAbhimanyu Saini		next-level-cache = <&cluster2_l2>;
90*df72c23eSAbhimanyu Saini		#cooling-cells = <2>;
91*df72c23eSAbhimanyu Saini	};
92*df72c23eSAbhimanyu Saini
93*df72c23eSAbhimanyu Saini	cpu5: cpu@201 {
94*df72c23eSAbhimanyu Saini		device_type = "cpu";
95*df72c23eSAbhimanyu Saini		compatible = "arm,cortex-a72";
96*df72c23eSAbhimanyu Saini		reg = <0x201>;
97*df72c23eSAbhimanyu Saini		clocks = <&clockgen 1 2>;
98*df72c23eSAbhimanyu Saini		next-level-cache = <&cluster2_l2>;
99*df72c23eSAbhimanyu Saini	};
100*df72c23eSAbhimanyu Saini
101*df72c23eSAbhimanyu Saini	cpu6: cpu@300 {
102*df72c23eSAbhimanyu Saini		device_type = "cpu";
103*df72c23eSAbhimanyu Saini		compatible = "arm,cortex-a72";
104*df72c23eSAbhimanyu Saini		reg = <0x300>;
105*df72c23eSAbhimanyu Saini		clocks = <&clockgen 1 3>;
106*df72c23eSAbhimanyu Saini		next-level-cache = <&cluster3_l2>;
107*df72c23eSAbhimanyu Saini		#cooling-cells = <2>;
108*df72c23eSAbhimanyu Saini	};
109*df72c23eSAbhimanyu Saini
110*df72c23eSAbhimanyu Saini	cpu7: cpu@301 {
111*df72c23eSAbhimanyu Saini		device_type = "cpu";
112*df72c23eSAbhimanyu Saini		compatible = "arm,cortex-a72";
113*df72c23eSAbhimanyu Saini		reg = <0x301>;
114*df72c23eSAbhimanyu Saini		clocks = <&clockgen 1 3>;
115*df72c23eSAbhimanyu Saini		next-level-cache = <&cluster3_l2>;
116*df72c23eSAbhimanyu Saini	};
117*df72c23eSAbhimanyu Saini
118*df72c23eSAbhimanyu Saini	cluster0_l2: l2-cache0 {
119*df72c23eSAbhimanyu Saini		compatible = "cache";
120*df72c23eSAbhimanyu Saini	};
121*df72c23eSAbhimanyu Saini
122*df72c23eSAbhimanyu Saini	cluster1_l2: l2-cache1 {
123*df72c23eSAbhimanyu Saini		compatible = "cache";
124*df72c23eSAbhimanyu Saini	};
125*df72c23eSAbhimanyu Saini
126*df72c23eSAbhimanyu Saini	cluster2_l2: l2-cache2 {
127*df72c23eSAbhimanyu Saini		compatible = "cache";
128*df72c23eSAbhimanyu Saini	};
129*df72c23eSAbhimanyu Saini
130*df72c23eSAbhimanyu Saini	cluster3_l2: l2-cache3 {
131*df72c23eSAbhimanyu Saini		compatible = "cache";
132*df72c23eSAbhimanyu Saini	};
133*df72c23eSAbhimanyu Saini};
134*df72c23eSAbhimanyu Saini
135*df72c23eSAbhimanyu Saini&pcie1 {
136*df72c23eSAbhimanyu Saini	reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
137*df72c23eSAbhimanyu Saini	       0x20 0x00000000 0x0 0x00002000>; /* configuration space */
138*df72c23eSAbhimanyu Saini
139*df72c23eSAbhimanyu Saini	ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000
140*df72c23eSAbhimanyu Saini		  0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>;
141*df72c23eSAbhimanyu Saini};
142*df72c23eSAbhimanyu Saini
143*df72c23eSAbhimanyu Saini&pcie2 {
144*df72c23eSAbhimanyu Saini	reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
145*df72c23eSAbhimanyu Saini	       0x28 0x00000000 0x0 0x00002000>; /* configuration space */
146*df72c23eSAbhimanyu Saini
147*df72c23eSAbhimanyu Saini	ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000
148*df72c23eSAbhimanyu Saini		  0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>;
149*df72c23eSAbhimanyu Saini};
150*df72c23eSAbhimanyu Saini
151*df72c23eSAbhimanyu Saini&pcie3 {
152*df72c23eSAbhimanyu Saini	reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
153*df72c23eSAbhimanyu Saini	       0x30 0x00000000 0x0 0x00002000>; /* configuration space */
154*df72c23eSAbhimanyu Saini
155*df72c23eSAbhimanyu Saini	ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000
156*df72c23eSAbhimanyu Saini		  0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>;
157*df72c23eSAbhimanyu Saini};
158*df72c23eSAbhimanyu Saini
159*df72c23eSAbhimanyu Saini&pcie4 {
160*df72c23eSAbhimanyu Saini	reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
161*df72c23eSAbhimanyu Saini	       0x38 0x00000000 0x0 0x00002000>; /* configuration space */
162*df72c23eSAbhimanyu Saini
163*df72c23eSAbhimanyu Saini	ranges = <0x81000000 0x0 0x00000000 0x38 0x00010000 0x0 0x00010000
164*df72c23eSAbhimanyu Saini		  0x82000000 0x0 0x40000000 0x38 0x40000000 0x0 0x40000000>;
165*df72c23eSAbhimanyu Saini};
166