blob: 53aeec55e53c9460db002d2f8b7475acbc49c841 [file] [log] [blame]
Yann Gautier0ed7b2a2021-05-19 18:48:16 +02001// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
Yann Gautier32409c72023-03-02 11:50:07 +01003 * Copyright (c) 2020-2023, STMicroelectronics - All Rights Reserved
Yann Gautier0ed7b2a2021-05-19 18:48:16 +02004 */
5
Yann Gautier5c14e6b2023-04-06 18:14:41 +02006/omit-if-no-ref/ &fmc_pins_a;
7/omit-if-no-ref/ &i2c2_pins_a;
8/omit-if-no-ref/ &i2c4_pins_a;
Vyacheslav Yurkov0b4e2c12023-04-04 20:58:13 +02009/omit-if-no-ref/ &i2c6;
Yann Gautier5c14e6b2023-04-06 18:14:41 +020010/omit-if-no-ref/ &qspi_bk1_pins_a;
11/omit-if-no-ref/ &qspi_bk2_pins_a;
12/omit-if-no-ref/ &qspi_clk_pins_a;
13/omit-if-no-ref/ &sdmmc1_b4_pins_a;
14/omit-if-no-ref/ &sdmmc1_dir_pins_a;
15/omit-if-no-ref/ &sdmmc1_dir_pins_b;
16/omit-if-no-ref/ &sdmmc2_b4_pins_a;
17/omit-if-no-ref/ &sdmmc2_b4_pins_b;
18/omit-if-no-ref/ &sdmmc2_d47_pins_a;
19/omit-if-no-ref/ &sdmmc2_d47_pins_b;
20/omit-if-no-ref/ &sdmmc2_d47_pins_c;
21/omit-if-no-ref/ &sdmmc2_d47_pins_d;
Vyacheslav Yurkov0b4e2c12023-04-04 20:58:13 +020022/omit-if-no-ref/ &spi6;
Yann Gautier5c14e6b2023-04-06 18:14:41 +020023/omit-if-no-ref/ &uart4_pins_a;
24/omit-if-no-ref/ &uart4_pins_b;
25/omit-if-no-ref/ &uart7_pins_a;
26/omit-if-no-ref/ &uart7_pins_b;
27/omit-if-no-ref/ &uart7_pins_c;
28/omit-if-no-ref/ &uart8_pins_a;
29/omit-if-no-ref/ &usart2_pins_a;
30/omit-if-no-ref/ &usart2_pins_b;
31/omit-if-no-ref/ &usart2_pins_c;
32/omit-if-no-ref/ &usart3_pins_a;
33/omit-if-no-ref/ &usart3_pins_b;
34/omit-if-no-ref/ &usart3_pins_c;
35/omit-if-no-ref/ &usbotg_fs_dp_dm_pins_a;
36/omit-if-no-ref/ &usbotg_hs_pins_a;
Vyacheslav Yurkov0b4e2c12023-04-04 20:58:13 +020037
Yann Gautier0ed7b2a2021-05-19 18:48:16 +020038/ {
Yann Gautier5496f122020-12-16 18:17:32 +010039#if !STM32MP_EMMC && !STM32MP_SDMMC
40 aliases {
41 /delete-property/ mmc0;
Yann Gautierc9f77492022-01-28 11:20:45 +010042 /delete-property/ mmc1;
Yann Gautier5496f122020-12-16 18:17:32 +010043 };
44#endif
45
Yann Gautier0ed7b2a2021-05-19 18:48:16 +020046 cpus {
47 /delete-node/ cpu@1;
48 };
49
50 /delete-node/ psci;
51
52 soc {
53 /delete-node/ timer@40006000;
54 /delete-node/ timer@44006000;
Yann Gautier5496f122020-12-16 18:17:32 +010055#if !STM32MP_USB_PROGRAMMER
56 /delete-node/ usb-otg@49000000;
57#endif
Yann Gautier0ed7b2a2021-05-19 18:48:16 +020058 /delete-node/ pwr_mcu@50001014;
59 /delete-node/ cryp@54001000;
60 /delete-node/ rng@54003000;
Yann Gautier5496f122020-12-16 18:17:32 +010061#if !STM32MP_RAW_NAND
62 /delete-node/ memory-controller@58002000;
63#endif
64#if !STM32MP_SPI_NAND && !STM32MP_SPI_NOR
65 /delete-node/ spi@58003000;
66#endif
67#if !STM32MP_EMMC && !STM32MP_SDMMC
68 /delete-node/ mmc@58005000;
69 /delete-node/ mmc@58007000;
70#endif
71#if !STM32MP_USB_PROGRAMMER
72 /delete-node/ usbphyc@5a006000;
73#endif
Yann Gautier0ed7b2a2021-05-19 18:48:16 +020074 /delete-node/ rtc@5c004000;
75 /delete-node/ etzpc@5c007000;
76 /delete-node/ stgen@5c008000;
Yann Gautier0ed7b2a2021-05-19 18:48:16 +020077 /delete-node/ tamp@5c00a000;
Yann Gautier0ed7b2a2021-05-19 18:48:16 +020078 };
Lionel Debieve72f61ac2020-09-27 20:48:21 +020079
Lionel Debieve72f61ac2020-09-27 20:48:21 +020080 /*
81 * UUID's here are UUID RFC 4122 compliant meaning fieds are stored in
82 * network order (big endian)
83 */
84
85 st-io_policies {
86 fip-handles {
87 compatible = "st,io-fip-handle";
88 fw_cfg_uuid = "5807e16a-8459-47be-8ed5-648e8dddab0e";
89 bl32_uuid = "05d0e189-53dc-1347-8d2b-500a4b7a3e38";
90 bl32_extra1_uuid = "0b70c29b-2a5a-7840-9f65-0a5682738288";
91 bl32_extra2_uuid = "8ea87bb1-cfa2-3f4d-85fd-e7bba50220d9";
92 bl33_uuid = "d6d0eea7-fcea-d54b-9782-9934f234b6e4";
93 hw_cfg_uuid = "08b8f1d9-c9cf-9349-a962-6fbc6b7265cc";
94 tos_fw_cfg_uuid = "26257c1a-dbc6-7f47-8d96-c4c4b0248021";
Lionel Debieve563e7152022-10-06 08:51:32 +020095#if TRUSTED_BOARD_BOOT
96 stm32mp_cfg_cert_uuid = "501d8dd2-8bce-49a5-84eb-559a9f2eaeaf";
97 t_key_cert_uuid = "827ee890-f860-e411-a1b4-777a21b4f94c";
98 tos_fw_key_cert_uuid = "9477d603-fb60-e411-85dd-b7105b8cee04";
99 nt_fw_key_cert_uuid = "8ad5832a-fb60-e411-8aaf-df30bbc49859";
100 tos_fw_content_cert_uuid = "a49f4411-5e63-e411-8728-3f05722af33d";
101 nt_fw_content_cert_uuid = "8ec4c1f3-5d63-e411-a7a9-87ee40b23fa7";
102#endif
Lionel Debieve72f61ac2020-09-27 20:48:21 +0200103 };
104 };
Lionel Debieve563e7152022-10-06 08:51:32 +0200105
106#if TRUSTED_BOARD_BOOT
107 tb_fw-config {
108 compatible = "arm,tb_fw";
109
110 /* Disable authentication for development */
111 disable_auth = <0x0>;
112
113 /*
114 * The following two entries are placeholders for Mbed TLS
115 * heap information.
116 */
117 mbedtls_heap_addr = <0x0 0x0>;
118 mbedtls_heap_size = <0x0>;
119 };
120
121#include "stm32mp1-cot-descriptors.dtsi"
122#endif
Yann Gautier0ed7b2a2021-05-19 18:48:16 +0200123};