blob: 06db79662f38cef172d811ddbf8aac0bd2b07045 [file] [log] [blame]
Yann Gautierf03dee52020-02-25 17:08:10 +01001// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
Yann Gautier32409c72023-03-02 11:50:07 +01003 * Copyright (c) 2022-2023, STMicroelectronics - All Rights Reserved
Yann Gautierf03dee52020-02-25 17:08:10 +01004 */
5
6/ {
7 aliases {
8#if !STM32MP_EMMC && !STM32MP_SDMMC
9 /delete-property/ mmc0;
10 /delete-property/ mmc1;
11#endif
Yann Gautierf03dee52020-02-25 17:08:10 +010012 };
13
Yann Gautierf03dee52020-02-25 17:08:10 +010014 soc {
Yann Gautierf03dee52020-02-25 17:08:10 +010015#if !STM32MP_USB_PROGRAMMER
16 /delete-node/ usb-otg@49000000;
17#endif
Yann Gautierf03dee52020-02-25 17:08:10 +010018#if !STM32MP_RAW_NAND
19 /delete-node/ memory-controller@58002000;
20#endif
21#if !STM32MP_SPI_NAND && !STM32MP_SPI_NOR
22 /delete-node/ spi@58003000;
23#endif
24#if !STM32MP_EMMC && !STM32MP_SDMMC
25 /delete-node/ mmc@58005000;
26 /delete-node/ mmc@58007000;
27#endif
Yann Gautierf03dee52020-02-25 17:08:10 +010028#if !STM32MP_USB_PROGRAMMER
29 /delete-node/ usbh-ohci@5800c000;
30 /delete-node/ usbh-ehci@5800d000;
31#endif
Yann Gautierf03dee52020-02-25 17:08:10 +010032#if !STM32MP_USB_PROGRAMMER
33 /delete-node/ usbphyc@5a006000;
34#endif
Yann Gautierf03dee52020-02-25 17:08:10 +010035 };
Yann Gautier1010e532020-10-21 17:57:51 +020036
37 /*
38 * UUID's here are UUID RFC 4122 compliant meaning fieds are stored in
39 * network order (big endian)
40 */
41
42 st-io_policies {
43 fip-handles {
44 compatible = "st,io-fip-handle";
45 fw_cfg_uuid = "5807e16a-8459-47be-8ed5-648e8dddab0e";
46 bl32_uuid = "05d0e189-53dc-1347-8d2b-500a4b7a3e38";
47 bl32_extra1_uuid = "0b70c29b-2a5a-7840-9f65-0a5682738288";
48 bl32_extra2_uuid = "8ea87bb1-cfa2-3f4d-85fd-e7bba50220d9";
49 bl33_uuid = "d6d0eea7-fcea-d54b-9782-9934f234b6e4";
50 hw_cfg_uuid = "08b8f1d9-c9cf-9349-a962-6fbc6b7265cc";
51 tos_fw_cfg_uuid = "26257c1a-dbc6-7f47-8d96-c4c4b0248021";
Lionel Debieve563e7152022-10-06 08:51:32 +020052#if TRUSTED_BOARD_BOOT
53 stm32mp_cfg_cert_uuid = "501d8dd2-8bce-49a5-84eb-559a9f2eaeaf";
54 t_key_cert_uuid = "827ee890-f860-e411-a1b4-777a21b4f94c";
55 tos_fw_key_cert_uuid = "9477d603-fb60-e411-85dd-b7105b8cee04";
56 nt_fw_key_cert_uuid = "8ad5832a-fb60-e411-8aaf-df30bbc49859";
57 tos_fw_content_cert_uuid = "a49f4411-5e63-e411-8728-3f05722af33d";
58 nt_fw_content_cert_uuid = "8ec4c1f3-5d63-e411-a7a9-87ee40b23fa7";
59#endif
Yann Gautier1010e532020-10-21 17:57:51 +020060 };
61 };
Lionel Debieve563e7152022-10-06 08:51:32 +020062
63#if TRUSTED_BOARD_BOOT
64 tb_fw-config {
65 compatible = "arm,tb_fw";
66
67 /* Disable authentication for development */
68 disable_auth = <0x0>;
69
70 /* Use SRAM2 to manage the mbedTLS heap */
71 mbedtls_heap_addr = <0x0 0x30004000>; /* SRAM2_BASE */
72 mbedtls_heap_size = <0x2000>; /* SRAM2_SIZE */
73 };
74
75#include "stm32mp1-cot-descriptors.dtsi"
76#endif
77
Yann Gautierf03dee52020-02-25 17:08:10 +010078};