summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sa8540p.dtsi
blob: 01a24b6a5e6d641317f639eab907f29ec1d052ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
// SPDX-License-Identifier: BSD-3-Clause
/*
 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
 * Copyright (c) 2022, Linaro Limited
 */

#include "sc8280xp.dtsi"

/delete-node/ &cpu0_opp_table;
/delete-node/ &cpu4_opp_table;

/ {
	cpu0_opp_table: cpu0-opp-table {
		compatible = "operating-points-v2";
		opp-shared;

		opp-403200000 {
			opp-hz = /bits/ 64 <403200000>;
		};
		opp-499200000 {
			opp-hz = /bits/ 64 <499200000>;
		};
		opp-595200000 {
			opp-hz = /bits/ 64 <595200000>;
		};
		opp-710400000 {
			opp-hz = /bits/ 64 <710400000>;
		};
		opp-806400000 {
			opp-hz = /bits/ 64 <806400000>;
		};
		opp-902400000 {
			opp-hz = /bits/ 64 <902400000>;
		};
		opp-1017600000 {
			opp-hz = /bits/ 64 <1017600000>;
		};
		opp-1113600000 {
			opp-hz = /bits/ 64 <1113600000>;
		};
		opp-1209600000 {
			opp-hz = /bits/ 64 <1209600000>;
		};
		opp-1324800000 {
			opp-hz = /bits/ 64 <1324800000>;
		};
		opp-1440000000 {
			opp-hz = /bits/ 64 <1440000000>;
		};
		opp-1555200000 {
			opp-hz = /bits/ 64 <1555200000>;
		};
		opp-1670400000 {
			opp-hz = /bits/ 64 <1670400000>;
		};
		opp-1785600000 {
			opp-hz = /bits/ 64 <1785600000>;
		};
		opp-1881600000 {
			opp-hz = /bits/ 64 <1881600000>;
		};
		opp-2016000000 {
			opp-hz = /bits/ 64 <2016000000>;
		};
		opp-2131200000 {
			opp-hz = /bits/ 64 <2131200000>;
		};
		opp-2246400000 {
			opp-hz = /bits/ 64 <2246400000>;
		};
	};

	cpu4_opp_table: cpu4-opp-table {
		compatible = "operating-points-v2";
		opp-shared;

		opp-825600000 {
			opp-hz = /bits/ 64 <825600000>;
		};
		opp-940800000 {
			opp-hz = /bits/ 64 <940800000>;
		};
		opp-1056000000 {
			opp-hz = /bits/ 64 <1056000000>;
		};
		opp-1171200000 {
			opp-hz = /bits/ 64 <1171200000>;
		};
		opp-1286400000 {
			opp-hz = /bits/ 64 <1286400000>;
		};
		opp-1401600000 {
			opp-hz = /bits/ 64 <1401600000>;
		};
		opp-1516800000 {
			opp-hz = /bits/ 64 <1516800000>;
		};
		opp-1632000000 {
			opp-hz = /bits/ 64 <1632000000>;
		};
		opp-1747200000 {
			opp-hz = /bits/ 64 <1747200000>;
		};
		opp-1862400000 {
			opp-hz = /bits/ 64 <1862400000>;
		};
		opp-1977600000 {
			opp-hz = /bits/ 64 <1977600000>;
		};
		opp-2073600000 {
			opp-hz = /bits/ 64 <2073600000>;
		};
		opp-2169600000 {
			opp-hz = /bits/ 64 <2169600000>;
		};
		opp-2284800000 {
			opp-hz = /bits/ 64 <2284800000>;
		};
		opp-2380800000 {
			opp-hz = /bits/ 64 <2380800000>;
		};
		opp-2496000000 {
			opp-hz = /bits/ 64 <2496000000>;
		};
		opp-2592000000 {
			opp-hz = /bits/ 64 <2592000000>;
		};
	};
};

&pcie2a {
	compatible = "qcom,pcie-sa8540p";

	linux,pci-domain = <0>;

	interrupts = <GIC_SPI 440 IRQ_TYPE_LEVEL_HIGH>;
	interrupt-names = "msi";
};

&pcie2b {
	compatible = "qcom,pcie-sa8540p";

	linux,pci-domain = <1>;

	interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
	interrupt-names = "msi";
};

&pcie3a {
	compatible = "qcom,pcie-sa8540p";
	reg = <0x0 0x01c10000 0x0 0x3000>,
	      <0x0 0x40000000 0x0 0xf1d>,
	      <0x0 0x40000f20 0x0 0xa8>,
	      <0x0 0x40001000 0x0 0x1000>,
	      <0x0 0x40100000 0x0 0x100000>;
	reg-names = "parf", "dbi", "elbi", "atu", "config";

	ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>,
		 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1d00000>;

	linux,pci-domain = <2>;

	interrupts =  <GIC_SPI 567 IRQ_TYPE_LEVEL_HIGH>;
	interrupt-names = "msi";

	interrupt-map = <0 0 0 1 &intc 0 0 GIC_SPI 541 IRQ_TYPE_LEVEL_HIGH>,
			<0 0 0 2 &intc 0 0 GIC_SPI 542 IRQ_TYPE_LEVEL_HIGH>,
			<0 0 0 3 &intc 0 0 GIC_SPI 543 IRQ_TYPE_LEVEL_HIGH>,
			<0 0 0 4 &intc 0 0 GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>;
};

&pcie3b {
	compatible = "qcom,pcie-sa8540p";

	linux,pci-domain = <3>;

	interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
	interrupt-names = "msi";
};

&pcie4 {
	compatible = "qcom,pcie-sa8540p";

	linux,pci-domain = <4>;

	interrupts = <GIC_SPI 518 IRQ_TYPE_LEVEL_HIGH>;
	interrupt-names = "msi";
};

&rpmhpd {
	compatible = "qcom,sa8540p-rpmhpd";
};