xref: /rk3399_ARM-atf/fdts/stm32mp15-bl2.dtsi (revision f7d445fcbbd3d5146d95698ace3381fcf522b9af)
1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright (c) 2020-2023, STMicroelectronics - All Rights Reserved
4 */
5
6/omit-if-no-ref/ &fmc_pins_a;
7/omit-if-no-ref/ &i2c2_pins_a;
8/omit-if-no-ref/ &i2c4_pins_a;
9/omit-if-no-ref/ &i2c6;
10/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;
22/omit-if-no-ref/ &spi6;
23/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;
37
38/ {
39#if !STM32MP_EMMC && !STM32MP_SDMMC
40	aliases {
41		/delete-property/ mmc0;
42		/delete-property/ mmc1;
43	};
44#endif
45
46	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;
55#if !STM32MP_USB_PROGRAMMER
56		/delete-node/ usb-otg@49000000;
57#endif
58		/delete-node/ pwr_mcu@50001014;
59		/delete-node/ cryp@54001000;
60		/delete-node/ rng@54003000;
61#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
74		/delete-node/ rtc@5c004000;
75		/delete-node/ etzpc@5c007000;
76		/delete-node/ stgen@5c008000;
77		/delete-node/ tamp@5c00a000;
78	};
79
80	/*
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";
95#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
103		};
104	};
105
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
123};
124