blob: f9c1d30cf4a7df64d7e877d6be18fa156d16faa6 [file] [log] [blame]
Li Yang7a2aeb92018-06-12 13:28:42 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Bhupesh Sharma747c84d02015-01-25 02:42:52 +05302/*
Bhupesh Sharmaf43a4b82015-10-24 01:01:51 +05303 * Device Tree Include file for Freescale Layerscape-2080A family SoC.
Bhupesh Sharma747c84d02015-01-25 02:42:52 +05304 *
Li Yang8637f582017-04-27 11:47:58 -05005 * Copyright 2014-2016 Freescale Semiconductor, Inc.
Bhupesh Sharma747c84d02015-01-25 02:42:52 +05306 *
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +05307 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
Bhupesh Sharma747c84d02015-01-25 02:42:52 +05308 * Bhupesh Sharma <bhupesh.sharma@freescale.com>
9 *
Bhupesh Sharma747c84d02015-01-25 02:42:52 +053010 */
11
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053012#include "fsl-ls208xa.dtsi"
Hongtao Jia236f7942016-10-09 14:47:06 +080013
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053014&cpu {
15 cpu0: cpu@0 {
16 device_type = "cpu";
17 compatible = "arm,cortex-a57";
18 reg = <0x0>;
19 clocks = <&clockgen 1 0>;
Yuantian Tang39a71db2017-08-07 09:54:39 +080020 cpu-idle-states = <&CPU_PW20>;
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053021 next-level-cache = <&cluster0_l2>;
22 #cooling-cells = <2>;
Bhupesh Sharma747c84d02015-01-25 02:42:52 +053023 };
24
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053025 cpu1: cpu@1 {
26 device_type = "cpu";
27 compatible = "arm,cortex-a57";
28 reg = <0x1>;
29 clocks = <&clockgen 1 0>;
Yuantian Tang39a71db2017-08-07 09:54:39 +080030 cpu-idle-states = <&CPU_PW20>;
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053031 next-level-cache = <&cluster0_l2>;
Viresh Kumar346f5972018-05-25 11:10:02 +053032 #cooling-cells = <2>;
Bhupesh Sharma747c84d02015-01-25 02:42:52 +053033 };
34
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053035 cpu2: cpu@100 {
36 device_type = "cpu";
37 compatible = "arm,cortex-a57";
38 reg = <0x100>;
39 clocks = <&clockgen 1 1>;
Yuantian Tang39a71db2017-08-07 09:54:39 +080040 cpu-idle-states = <&CPU_PW20>;
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053041 next-level-cache = <&cluster1_l2>;
42 #cooling-cells = <2>;
Bhupesh Sharma54615972015-10-24 01:01:57 +053043 };
44
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053045 cpu3: cpu@101 {
46 device_type = "cpu";
47 compatible = "arm,cortex-a57";
48 reg = <0x101>;
49 clocks = <&clockgen 1 1>;
Yuantian Tang39a71db2017-08-07 09:54:39 +080050 cpu-idle-states = <&CPU_PW20>;
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053051 next-level-cache = <&cluster1_l2>;
Viresh Kumar346f5972018-05-25 11:10:02 +053052 #cooling-cells = <2>;
Bhupesh Sharma747c84d02015-01-25 02:42:52 +053053 };
54
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053055 cpu4: cpu@200 {
56 device_type = "cpu";
57 compatible = "arm,cortex-a57";
58 reg = <0x200>;
59 clocks = <&clockgen 1 2>;
Yuantian Tang39a71db2017-08-07 09:54:39 +080060 cpu-idle-states = <&CPU_PW20>;
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053061 next-level-cache = <&cluster2_l2>;
62 #cooling-cells = <2>;
J. German Riverac7a56752015-12-04 16:56:04 -060063 };
64
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053065 cpu5: cpu@201 {
66 device_type = "cpu";
67 compatible = "arm,cortex-a57";
68 reg = <0x201>;
69 clocks = <&clockgen 1 2>;
Yuantian Tang39a71db2017-08-07 09:54:39 +080070 cpu-idle-states = <&CPU_PW20>;
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053071 next-level-cache = <&cluster2_l2>;
Viresh Kumar346f5972018-05-25 11:10:02 +053072 #cooling-cells = <2>;
J. German Riverac7a56752015-12-04 16:56:04 -060073 };
74
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053075 cpu6: cpu@300 {
76 device_type = "cpu";
77 compatible = "arm,cortex-a57";
78 reg = <0x300>;
79 clocks = <&clockgen 1 3>;
80 next-level-cache = <&cluster3_l2>;
Yuantian Tang39a71db2017-08-07 09:54:39 +080081 cpu-idle-states = <&CPU_PW20>;
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053082 #cooling-cells = <2>;
Bhupesh Sharma747c84d02015-01-25 02:42:52 +053083 };
84
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053085 cpu7: cpu@301 {
86 device_type = "cpu";
87 compatible = "arm,cortex-a57";
88 reg = <0x301>;
89 clocks = <&clockgen 1 3>;
Yuantian Tang39a71db2017-08-07 09:54:39 +080090 cpu-idle-states = <&CPU_PW20>;
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053091 next-level-cache = <&cluster3_l2>;
Viresh Kumar346f5972018-05-25 11:10:02 +053092 #cooling-cells = <2>;
Bhupesh Sharma747c84d02015-01-25 02:42:52 +053093 };
94
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053095 cluster0_l2: l2-cache0 {
96 compatible = "cache";
Bhupesh Sharma747c84d02015-01-25 02:42:52 +053097 };
York Sun30062fb2016-08-09 14:59:39 -070098
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +053099 cluster1_l2: l2-cache1 {
100 compatible = "cache";
York Sun30062fb2016-08-09 14:59:39 -0700101 };
102
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +0530103 cluster2_l2: l2-cache2 {
104 compatible = "cache";
York Sun30062fb2016-08-09 14:59:39 -0700105 };
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +0530106
107 cluster3_l2: l2-cache3 {
108 compatible = "cache";
109 };
Yuantian Tang39a71db2017-08-07 09:54:39 +0800110
111 CPU_PW20: cpu-pw20 {
112 compatible = "arm,idle-state";
113 idle-state-name = "PW20";
114 arm,psci-suspend-param = <0x00010000>;
115 entry-latency-us = <2000>;
116 exit-latency-us = <2000>;
117 min-residency-us = <6000>;
118 };
Abhimanyu Sainic2f6a472017-02-01 11:58:35 +0530119};
120
121&pcie1 {
122 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
123 0x10 0x00000000 0x0 0x00002000>; /* configuration space */
124
125 ranges = <0x81000000 0x0 0x00000000 0x10 0x00010000 0x0 0x00010000 /* downstream I/O */
126 0x82000000 0x0 0x40000000 0x10 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
127};
128
129&pcie2 {
130 reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
131 0x12 0x00000000 0x0 0x00002000>; /* configuration space */
132
133 ranges = <0x81000000 0x0 0x00000000 0x12 0x00010000 0x0 0x00010000 /* downstream I/O */
134 0x82000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
135};
136
137&pcie3 {
138 reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
139 0x14 0x00000000 0x0 0x00002000>; /* configuration space */
140
141 ranges = <0x81000000 0x0 0x00000000 0x14 0x00010000 0x0 0x00010000 /* downstream I/O */
142 0x82000000 0x0 0x40000000 0x14 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
143};
144
145&pcie4 {
146 reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */
147 0x16 0x00000000 0x0 0x00002000>; /* configuration space */
148
149 ranges = <0x81000000 0x0 0x00000000 0x16 0x00010000 0x0 0x00010000 /* downstream I/O */
150 0x82000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
Bhupesh Sharma747c84d02015-01-25 02:42:52 +0530151};