summaryrefslogtreecommitdiff
path: root/qemu_v8_scmi.dts
blob: 785264aff430c345bba529dea9ff44d8f490c941 (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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
/dts-v1/;

/ {
	interrupt-parent = < 0x8003 >;
	#size-cells = < 0x02 >;
	#address-cells = < 0x02 >;
	compatible = "linux,dummy-virt";

	memory@40000000 {
		reg = < 0x00 0x40000000 0x00 0x42100000 >;
		device_type = "memory";
	};

	platform@c000000 {
		interrupt-parent = < 0x8003 >;
		ranges = < 0x00 0x00 0xc000000 0x2000000 >;
		#address-cells = < 0x01 >;
		#size-cells = < 0x01 >;
		compatible = "qemu,platform\0simple-bus";
	};

	fw-cfg@9020000 {
		dma-coherent;
		reg = < 0x00 0x9020000 0x00 0x18 >;
		compatible = "qemu,fw-cfg-mmio";
	};

	virtio_mmio@a000000 {
		dma-coherent;
		interrupts = < 0x00 0x10 0x01 >;
		reg = < 0x00 0xa000000 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a000200 {
		dma-coherent;
		interrupts = < 0x00 0x11 0x01 >;
		reg = < 0x00 0xa000200 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a000400 {
		dma-coherent;
		interrupts = < 0x00 0x12 0x01 >;
		reg = < 0x00 0xa000400 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a000600 {
		dma-coherent;
		interrupts = < 0x00 0x13 0x01 >;
		reg = < 0x00 0xa000600 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a000800 {
		dma-coherent;
		interrupts = < 0x00 0x14 0x01 >;
		reg = < 0x00 0xa000800 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a000a00 {
		dma-coherent;
		interrupts = < 0x00 0x15 0x01 >;
		reg = < 0x00 0xa000a00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a000c00 {
		dma-coherent;
		interrupts = < 0x00 0x16 0x01 >;
		reg = < 0x00 0xa000c00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a000e00 {
		dma-coherent;
		interrupts = < 0x00 0x17 0x01 >;
		reg = < 0x00 0xa000e00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a001000 {
		dma-coherent;
		interrupts = < 0x00 0x18 0x01 >;
		reg = < 0x00 0xa001000 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a001200 {
		dma-coherent;
		interrupts = < 0x00 0x19 0x01 >;
		reg = < 0x00 0xa001200 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a001400 {
		dma-coherent;
		interrupts = < 0x00 0x1a 0x01 >;
		reg = < 0x00 0xa001400 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a001600 {
		dma-coherent;
		interrupts = < 0x00 0x1b 0x01 >;
		reg = < 0x00 0xa001600 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a001800 {
		dma-coherent;
		interrupts = < 0x00 0x1c 0x01 >;
		reg = < 0x00 0xa001800 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a001a00 {
		dma-coherent;
		interrupts = < 0x00 0x1d 0x01 >;
		reg = < 0x00 0xa001a00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a001c00 {
		dma-coherent;
		interrupts = < 0x00 0x1e 0x01 >;
		reg = < 0x00 0xa001c00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a001e00 {
		dma-coherent;
		interrupts = < 0x00 0x1f 0x01 >;
		reg = < 0x00 0xa001e00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a002000 {
		dma-coherent;
		interrupts = < 0x00 0x20 0x01 >;
		reg = < 0x00 0xa002000 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a002200 {
		dma-coherent;
		interrupts = < 0x00 0x21 0x01 >;
		reg = < 0x00 0xa002200 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a002400 {
		dma-coherent;
		interrupts = < 0x00 0x22 0x01 >;
		reg = < 0x00 0xa002400 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a002600 {
		dma-coherent;
		interrupts = < 0x00 0x23 0x01 >;
		reg = < 0x00 0xa002600 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a002800 {
		dma-coherent;
		interrupts = < 0x00 0x24 0x01 >;
		reg = < 0x00 0xa002800 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a002a00 {
		dma-coherent;
		interrupts = < 0x00 0x25 0x01 >;
		reg = < 0x00 0xa002a00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a002c00 {
		dma-coherent;
		interrupts = < 0x00 0x26 0x01 >;
		reg = < 0x00 0xa002c00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a002e00 {
		dma-coherent;
		interrupts = < 0x00 0x27 0x01 >;
		reg = < 0x00 0xa002e00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a003000 {
		dma-coherent;
		interrupts = < 0x00 0x28 0x01 >;
		reg = < 0x00 0xa003000 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a003200 {
		dma-coherent;
		interrupts = < 0x00 0x29 0x01 >;
		reg = < 0x00 0xa003200 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a003400 {
		dma-coherent;
		interrupts = < 0x00 0x2a 0x01 >;
		reg = < 0x00 0xa003400 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a003600 {
		dma-coherent;
		interrupts = < 0x00 0x2b 0x01 >;
		reg = < 0x00 0xa003600 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a003800 {
		dma-coherent;
		interrupts = < 0x00 0x2c 0x01 >;
		reg = < 0x00 0xa003800 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a003a00 {
		dma-coherent;
		interrupts = < 0x00 0x2d 0x01 >;
		reg = < 0x00 0xa003a00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a003c00 {
		dma-coherent;
		interrupts = < 0x00 0x2e 0x01 >;
		reg = < 0x00 0xa003c00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	virtio_mmio@a003e00 {
		dma-coherent;
		interrupts = < 0x00 0x2f 0x01 >;
		reg = < 0x00 0xa003e00 0x00 0x200 >;
		compatible = "virtio,mmio";
	};

	gpio-restart {
		secure-status = "okay";
		status = "disabled";
		gpios = < 0x8006 0x01 0x00 >;
		compatible = "gpio-restart";
	};

	gpio-poweroff {
		secure-status = "okay";
		status = "disabled";
		gpios = < 0x8006 0x00 0x00 >;
		compatible = "gpio-poweroff";
	};

	pl061@90b0000 {
		secure-status = "okay";
		status = "disabled";
		phandle = < 0x8006 >;
		clock-names = "apb_pclk";
		clocks = < 0x8000 >;
		interrupts = < 0x00 0x00 0x04 >;
		gpio-controller;
		#gpio-cells = < 0x02 >;
		compatible = "arm,pl061\0arm,primecell";
		reg = < 0x00 0x90b0000 0x00 0x1000 >;
	};

	gpio-keys {
		#address-cells = < 0x01 >;
		#size-cells = < 0x00 >;
		compatible = "gpio-keys";

		poweroff {
			gpios = < 0x8005 0x03 0x00 >;
			linux,code = < 0x74 >;
			label = "GPIO Key Poweroff";
		};
	};

	pl061@9030000 {
		phandle = < 0x8005 >;
		clock-names = "apb_pclk";
		clocks = < 0x8000 >;
		interrupts = < 0x00 0x07 0x04 >;
		gpio-controller;
		#gpio-cells = < 0x02 >;
		compatible = "arm,pl061\0arm,primecell";
		reg = < 0x00 0x9030000 0x00 0x1000 >;
	};

	pcie@10000000 {
		interrupt-map-mask = < 0x1800 0x00 0x00 0x07 >;
		interrupt-map = < 0x00 0x00 0x00 0x01 0x8003 0x00 0x00 0x00 0x03 0x04 0x00 0x00 0x00 0x02 0x8003 0x00 0x00 0x00 0x04 0x04 0x00 0x00 0x00 0x03 0x8003 0x00 0x00 0x00 0x05 0x04 0x00 0x00 0x00 0x04 0x8003 0x00 0x00 0x00 0x06 0x04 0x800 0x00 0x00 0x01 0x8003 0x00 0x00 0x00 0x04 0x04 0x800 0x00 0x00 0x02 0x8003 0x00 0x00 0x00 0x05 0x04 0x800 0x00 0x00 0x03 0x8003 0x00 0x00 0x00 0x06 0x04 0x800 0x00 0x00 0x04 0x8003 0x00 0x00 0x00 0x03 0x04 0x1000 0x00 0x00 0x01 0x8003 0x00 0x00 0x00 0x05 0x04 0x1000 0x00 0x00 0x02 0x8003 0x00 0x00 0x00 0x06 0x04 0x1000 0x00 0x00 0x03 0x8003 0x00 0x00 0x00 0x03 0x04 0x1000 0x00 0x00 0x04 0x8003 0x00 0x00 0x00 0x04 0x04 0x1800 0x00 0x00 0x01 0x8003 0x00 0x00 0x00 0x06 0x04 0x1800 0x00 0x00 0x02 0x8003 0x00 0x00 0x00 0x03 0x04 0x1800 0x00 0x00 0x03 0x8003 0x00 0x00 0x00 0x04 0x04 0x1800 0x00 0x00 0x04 0x8003 0x00 0x00 0x00 0x05 0x04 >;
		#interrupt-cells = < 0x01 >;
		ranges = < 0x1000000 0x00 0x00 0x00 0x3eff0000 0x00 0x10000 0x2000000 0x00 0x10000000 0x00 0x10000000 0x00 0x2eff0000 0x3000000 0x80 0x00 0x80 0x00 0x80 0x00 >;
		reg = < 0x40 0x10000000 0x00 0x10000000 >;
		msi-parent = < 0x8004 >;
		dma-coherent;
		bus-range = < 0x00 0xff >;
		linux,pci-domain = < 0x00 >;
		#size-cells = < 0x02 >;
		#address-cells = < 0x03 >;
		device_type = "pci";
		compatible = "pci-host-ecam-generic";
	};

	pl031@9010000 {
		clock-names = "apb_pclk";
		clocks = < 0x8000 >;
		interrupts = < 0x00 0x02 0x04 >;
		reg = < 0x00 0x9010000 0x00 0x1000 >;
		compatible = "arm,pl031\0arm,primecell";
	};

	pl011@9040000 {
		secure-status = "okay";
		status = "disabled";
		clock-names = "uartclk\0apb_pclk";
		clocks = < 0x8000 0x8000 >;
		interrupts = < 0x00 0x08 0x04 >;
		reg = < 0x00 0x9040000 0x00 0x1000 >;
		compatible = "arm,pl011\0arm,primecell";
	};

	secram@e000000 {
		secure-status = "okay";
		status = "disabled";
		reg = < 0x00 0xe000000 0x00 0x1000000 >;
		device_type = "memory";
	};

	pl011@9000000 {
		clock-names = "uartclk\0apb_pclk";
		clocks = < 0x8000 0x8000 >;
		interrupts = < 0x00 0x01 0x04 >;
		reg = < 0x00 0x9000000 0x00 0x1000 >;
		compatible = "arm,pl011\0arm,primecell";
	};

	pmu {
		interrupts = < 0x01 0x07 0x04 >;
		compatible = "arm,armv8-pmuv3";
	};

	intc@8000000 {
		phandle = < 0x8003 >;
		reg = < 0x00 0x8000000 0x00 0x10000 0x00 0x80a0000 0x00 0xf60000 >;
		#redistributor-regions = < 0x01 >;
		compatible = "arm,gic-v3";
		ranges;
		#size-cells = < 0x02 >;
		#address-cells = < 0x02 >;
		interrupt-controller;
		#interrupt-cells = < 0x03 >;

		its@8080000 {
			phandle = < 0x8004 >;
			reg = < 0x00 0x8080000 0x00 0x20000 >;
			msi-controller;
			compatible = "arm,gic-v3-its";
		};
	};

	flash@0 {
		bank-width = < 0x04 >;
		reg = < 0x00 0x4000000 0x00 0x4000000 >;
		compatible = "cfi-flash";
	};

	secflash@0 {
		secure-status = "okay";
		status = "disabled";
		bank-width = < 0x04 >;
		reg = < 0x00 0x00 0x00 0x4000000 >;
		compatible = "cfi-flash";
	};

	cpus {
		#size-cells = < 0x00 >;
		#address-cells = < 0x01 >;

		cpu-map {

			socket0 {

				cluster0 {

					core0 {
						cpu = < 0x8002 >;
					};

					core1 {
						cpu = < 0x8001 >;
					};
				};
			};
		};

		cpu@0 {
			phandle = < 0x8002 >;
			reg = < 0x00 >;
			compatible = "arm,cortex-a57";
			device_type = "cpu";
			clocks = <&scmi_dvfs 0>;
		};

		cpu@1 {
			phandle = < 0x8001 >;
			reg = < 0x01 >;
			compatible = "arm,cortex-a57";
			device_type = "cpu";
			clocks = <&scmi_dvfs 0>;
		};
	};

	timer {
		interrupts = < 0x01 0x0d 0x04 0x01 0x0e 0x04 0x01 0x0b 0x04 0x01 0x0a 0x04 >;
		always-on;
		compatible = "arm,armv8-timer\0arm,armv7-timer";
	};

	apb-pclk {
		phandle = < 0x8000 >;
		clock-output-names = "clk24mhz";
		clock-frequency = < 0x16e3600 >;
		#clock-cells = < 0x00 >;
		compatible = "fixed-clock";
	};

	secure-chosen {
		stdout-path = "/pl011@9040000";
		kaslr-seed = < 0xbf427929 0x49f4655c >;
	};

	chosen {
		bootargs = "console=ttyAMA0,38400 keep_bootcon root=/dev/vda2 ";
		stdout-path = "/pl011@9000000";
		kaslr-seed = < 0x707f5aef 0x69338acd >;
	};

	firmware {
		optee {
			compatible = "linaro,optee-tz";
			method = "smc";
		};

		scmi0: scmi0 {
			compatible = "linaro,scmi-optee";
			#address-cells = <1>;
			#size-cells = <0>;

			linaro,optee-channel-id = <0x01 0x04>;

			scmi_devpd: protocol@11 {
				reg = <0x11>;
				#power-domain-cells = <1>;
			};

			scmi_clk0: protocol@14 {
				reg = <0x14>;
				#clock-cells = <1>;
			};

			scmi_sensors0: protocol@15 {
				reg = <0x15>;
				#thermal-sensor-cells = <1>;
			};

			scmi_dvfs: protocol@13 {
				reg = <0x13>;
				#clock-cells = <1>;
				linaro,optee-channel-id = <0x02>;
			};
		};
	};
};