xref: /rk3399_ARM-atf/fdts/stm32mp21-bl2.dtsi (revision 7ddf0afdb05e9ecfb3b9d5a6e3e42eba388b4629)
1*e0a6bfe8SNicolas Le Bayon// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2*e0a6bfe8SNicolas Le Bayon/*
3*e0a6bfe8SNicolas Le Bayon * Copyright (C) 2026, STMicroelectronics - All Rights Reserved
4*e0a6bfe8SNicolas Le Bayon */
5*e0a6bfe8SNicolas Le Bayon
6*e0a6bfe8SNicolas Le Bayon#include <platform_def.h>
7*e0a6bfe8SNicolas Le Bayon
8*e0a6bfe8SNicolas Le Bayon/ {
9*e0a6bfe8SNicolas Le Bayon	soc@0 {
10*e0a6bfe8SNicolas Le Bayon#if !STM32MP_SPI_NAND && !STM32MP_SPI_NOR
11*e0a6bfe8SNicolas Le Bayon		bus@42080000 {
12*e0a6bfe8SNicolas Le Bayon			/delete-node/ spi@40430000;
13*e0a6bfe8SNicolas Le Bayon		};
14*e0a6bfe8SNicolas Le Bayon#endif
15*e0a6bfe8SNicolas Le Bayon#if !STM32MP_RAW_NAND
16*e0a6bfe8SNicolas Le Bayon		/delete-node/ memory-controller@48200000;
17*e0a6bfe8SNicolas Le Bayon#endif
18*e0a6bfe8SNicolas Le Bayon#if !STM32MP_EMMC && !STM32MP_SDMMC
19*e0a6bfe8SNicolas Le Bayon		bus@42080000 {
20*e0a6bfe8SNicolas Le Bayon			/delete-node/ mmc@48220000;
21*e0a6bfe8SNicolas Le Bayon			/delete-node/ mmc@48230000;
22*e0a6bfe8SNicolas Le Bayon		};
23*e0a6bfe8SNicolas Le Bayon#endif
24*e0a6bfe8SNicolas Le Bayon	};
25*e0a6bfe8SNicolas Le Bayon
26*e0a6bfe8SNicolas Le Bayon	/*
27*e0a6bfe8SNicolas Le Bayon	 * UUID's here are UUID RFC 4122 compliant meaning fieds are stored in
28*e0a6bfe8SNicolas Le Bayon	 * network order (big endian)
29*e0a6bfe8SNicolas Le Bayon	 */
30*e0a6bfe8SNicolas Le Bayon
31*e0a6bfe8SNicolas Le Bayon	st-io_policies {
32*e0a6bfe8SNicolas Le Bayon		fip-handles {
33*e0a6bfe8SNicolas Le Bayon			compatible = "st,io-fip-handle";
34*e0a6bfe8SNicolas Le Bayon#if STM32MP_DDR_FIP_IO_STORAGE
35*e0a6bfe8SNicolas Le Bayon			ddr_fw_uuid = "b11249be-92dd-4b10-867c-2c6a4b47a7fb";
36*e0a6bfe8SNicolas Le Bayon#endif
37*e0a6bfe8SNicolas Le Bayon			fw_cfg_uuid = "5807e16a-8459-47be-8ed5-648e8dddab0e";
38*e0a6bfe8SNicolas Le Bayon			bl31_uuid = "47d4086d-4cfe-9846-9b95-2950cbbd5a00";
39*e0a6bfe8SNicolas Le Bayon			bl32_uuid = "05d0e189-53dc-1347-8d2b-500a4b7a3e38";
40*e0a6bfe8SNicolas Le Bayon			bl32_extra1_uuid = "0b70c29b-2a5a-7840-9f65-0a5682738288";
41*e0a6bfe8SNicolas Le Bayon			bl32_extra2_uuid = "8ea87bb1-cfa2-3f4d-85fd-e7bba50220d9";
42*e0a6bfe8SNicolas Le Bayon			bl33_uuid = "d6d0eea7-fcea-d54b-9782-9934f234b6e4";
43*e0a6bfe8SNicolas Le Bayon			hw_cfg_uuid = "08b8f1d9-c9cf-9349-a962-6fbc6b7265cc";
44*e0a6bfe8SNicolas Le Bayon			soc_fw_cfg_uuid = "9979814b-0376-fb46-8c8e-8d267f7859e0";
45*e0a6bfe8SNicolas Le Bayon			tos_fw_cfg_uuid = "26257c1a-dbc6-7f47-8d96-c4c4b0248021";
46*e0a6bfe8SNicolas Le Bayon			nt_fw_cfg_uuid = "28da9815-93e8-7e44-ac66-1aaf801550f9";
47*e0a6bfe8SNicolas Le Bayon#if TRUSTED_BOARD_BOOT
48*e0a6bfe8SNicolas Le Bayon			stm32mp_cfg_cert_uuid = "501d8dd2-8bce-49a5-84eb-559a9f2eaeaf";
49*e0a6bfe8SNicolas Le Bayon			t_key_cert_uuid = "827ee890-f860-e411-a1b4-777a21b4f94c";
50*e0a6bfe8SNicolas Le Bayon			soc_fw_key_uuid = "8ab8becc-f960-e411-9ad0-eb4822d8dcf8";
51*e0a6bfe8SNicolas Le Bayon			tos_fw_key_cert_uuid = "9477d603-fb60-e411-85dd-b7105b8cee04";
52*e0a6bfe8SNicolas Le Bayon			nt_fw_key_cert_uuid = "8ad5832a-fb60-e411-8aaf-df30bbc49859";
53*e0a6bfe8SNicolas Le Bayon			soc_fw_content_cert_uuid = "e2b20c20-5e63-e411-9ce8-abccf92bb666";
54*e0a6bfe8SNicolas Le Bayon			tos_fw_content_cert_uuid = "a49f4411-5e63-e411-8728-3f05722af33d";
55*e0a6bfe8SNicolas Le Bayon			nt_fw_content_cert_uuid = "8ec4c1f3-5d63-e411-a7a9-87ee40b23fa7";
56*e0a6bfe8SNicolas Le Bayon#endif
57*e0a6bfe8SNicolas Le Bayon		};
58*e0a6bfe8SNicolas Le Bayon	};
59*e0a6bfe8SNicolas Le Bayon
60*e0a6bfe8SNicolas Le Bayon#if TRUSTED_BOARD_BOOT
61*e0a6bfe8SNicolas Le Bayon	tb_fw-config {
62*e0a6bfe8SNicolas Le Bayon		compatible = "arm,tb_fw";
63*e0a6bfe8SNicolas Le Bayon
64*e0a6bfe8SNicolas Le Bayon		/* Disable authentication for development */
65*e0a6bfe8SNicolas Le Bayon		disable_auth = <0x0>;
66*e0a6bfe8SNicolas Le Bayon
67*e0a6bfe8SNicolas Le Bayon		mbedtls_heap_addr = <0x0 STM32MP_MBEDTLS_HEAP_BASE>;
68*e0a6bfe8SNicolas Le Bayon		mbedtls_heap_size = <STM32MP_MBEDTLS_HEAP_SIZE>;
69*e0a6bfe8SNicolas Le Bayon	};
70*e0a6bfe8SNicolas Le Bayon
71*e0a6bfe8SNicolas Le Bayon#include "stm32mp2-cot-descriptors.dtsi"
72*e0a6bfe8SNicolas Le Bayon#endif
73*e0a6bfe8SNicolas Le Bayon
74*e0a6bfe8SNicolas Le Bayon};
75