Linux-libre 4.19.116-gnu
[librecmc/linux-libre.git] / arch / arm64 / boot / dts / freescale / fsl-ls2088a.dtsi
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 "fsl-ls208xa.dtsi"
13
14 &cpu {
15         cpu0: cpu@0 {
16                 device_type = "cpu";
17                 compatible = "arm,cortex-a72";
18                 reg = <0x0>;
19                 clocks = <&clockgen 1 0>;
20                 cpu-idle-states = <&CPU_PW20>;
21                 next-level-cache = <&cluster0_l2>;
22                 #cooling-cells = <2>;
23         };
24
25         cpu1: cpu@1 {
26                 device_type = "cpu";
27                 compatible = "arm,cortex-a72";
28                 reg = <0x1>;
29                 clocks = <&clockgen 1 0>;
30                 cpu-idle-states = <&CPU_PW20>;
31                 next-level-cache = <&cluster0_l2>;
32                 #cooling-cells = <2>;
33         };
34
35         cpu2: cpu@100 {
36                 device_type = "cpu";
37                 compatible = "arm,cortex-a72";
38                 reg = <0x100>;
39                 clocks = <&clockgen 1 1>;
40                 cpu-idle-states = <&CPU_PW20>;
41                 next-level-cache = <&cluster1_l2>;
42                 #cooling-cells = <2>;
43         };
44
45         cpu3: cpu@101 {
46                 device_type = "cpu";
47                 compatible = "arm,cortex-a72";
48                 reg = <0x101>;
49                 clocks = <&clockgen 1 1>;
50                 cpu-idle-states = <&CPU_PW20>;
51                 next-level-cache = <&cluster1_l2>;
52                 #cooling-cells = <2>;
53         };
54
55         cpu4: cpu@200 {
56                 device_type = "cpu";
57                 compatible = "arm,cortex-a72";
58                 reg = <0x200>;
59                 clocks = <&clockgen 1 2>;
60                 next-level-cache = <&cluster2_l2>;
61                 cpu-idle-states = <&CPU_PW20>;
62                 #cooling-cells = <2>;
63         };
64
65         cpu5: cpu@201 {
66                 device_type = "cpu";
67                 compatible = "arm,cortex-a72";
68                 reg = <0x201>;
69                 clocks = <&clockgen 1 2>;
70                 cpu-idle-states = <&CPU_PW20>;
71                 next-level-cache = <&cluster2_l2>;
72                 #cooling-cells = <2>;
73         };
74
75         cpu6: cpu@300 {
76                 device_type = "cpu";
77                 compatible = "arm,cortex-a72";
78                 reg = <0x300>;
79                 clocks = <&clockgen 1 3>;
80                 cpu-idle-states = <&CPU_PW20>;
81                 next-level-cache = <&cluster3_l2>;
82                 #cooling-cells = <2>;
83         };
84
85         cpu7: cpu@301 {
86                 device_type = "cpu";
87                 compatible = "arm,cortex-a72";
88                 reg = <0x301>;
89                 clocks = <&clockgen 1 3>;
90                 cpu-idle-states = <&CPU_PW20>;
91                 next-level-cache = <&cluster3_l2>;
92                 #cooling-cells = <2>;
93         };
94
95         cluster0_l2: l2-cache0 {
96                 compatible = "cache";
97         };
98
99         cluster1_l2: l2-cache1 {
100                 compatible = "cache";
101         };
102
103         cluster2_l2: l2-cache2 {
104                 compatible = "cache";
105         };
106
107         cluster3_l2: l2-cache3 {
108                 compatible = "cache";
109         };
110
111         CPU_PW20: cpu-pw20 {
112                 compatible = "arm,idle-state";
113                 idle-state-name = "PW20";
114                 arm,psci-suspend-param = <0x0>;
115                 entry-latency-us = <2000>;
116                 exit-latency-us = <2000>;
117                 min-residency-us = <6000>;
118         };
119 };
120
121 &pcie1 {
122         compatible = "fsl,ls2088a-pcie", "snps,dw-pcie";
123         reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
124                0x20 0x00000000 0x0 0x00002000>; /* configuration space */
125
126         ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000
127                   0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>;
128 };
129
130 &pcie2 {
131         compatible = "fsl,ls2088a-pcie", "snps,dw-pcie";
132         reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
133                0x28 0x00000000 0x0 0x00002000>; /* configuration space */
134
135         ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000
136                   0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>;
137 };
138
139 &pcie3 {
140         compatible = "fsl,ls2088a-pcie", "snps,dw-pcie";
141         reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
142                0x30 0x00000000 0x0 0x00002000>; /* configuration space */
143
144         ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000
145                   0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>;
146 };
147
148 &pcie4 {
149         compatible = "fsl,ls2088a-pcie", "snps,dw-pcie";
150         reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
151                0x38 0x00000000 0x0 0x00002000>; /* configuration space */
152
153         ranges = <0x81000000 0x0 0x00000000 0x38 0x00010000 0x0 0x00010000
154                   0x82000000 0x0 0x40000000 0x38 0x40000000 0x0 0x40000000>;
155 };