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