Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
Yann Gautier | 32409c7 | 2023-03-02 11:50:07 +0100 | [diff] [blame] | 3 | * Copyright (c) 2020-2023, STMicroelectronics - All Rights Reserved |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
Vyacheslav Yurkov | 0b4e2c1 | 2023-04-04 20:58:13 +0200 | [diff] [blame] | 6 | /omit-if-no-ref/ &i2c6; |
| 7 | /omit-if-no-ref/ &spi6; |
| 8 | |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 9 | / { |
Yann Gautier | 5496f12 | 2020-12-16 18:17:32 +0100 | [diff] [blame] | 10 | #if !STM32MP_EMMC && !STM32MP_SDMMC |
| 11 | aliases { |
| 12 | /delete-property/ mmc0; |
Yann Gautier | c9f7749 | 2022-01-28 11:20:45 +0100 | [diff] [blame] | 13 | /delete-property/ mmc1; |
Yann Gautier | 5496f12 | 2020-12-16 18:17:32 +0100 | [diff] [blame] | 14 | }; |
| 15 | #endif |
| 16 | |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 17 | cpus { |
| 18 | /delete-node/ cpu@1; |
| 19 | }; |
| 20 | |
| 21 | /delete-node/ psci; |
| 22 | |
| 23 | soc { |
| 24 | /delete-node/ timer@40006000; |
| 25 | /delete-node/ timer@44006000; |
Yann Gautier | 5496f12 | 2020-12-16 18:17:32 +0100 | [diff] [blame] | 26 | #if !STM32MP_USB_PROGRAMMER |
| 27 | /delete-node/ usb-otg@49000000; |
| 28 | #endif |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 29 | /delete-node/ pwr_mcu@50001014; |
| 30 | /delete-node/ cryp@54001000; |
| 31 | /delete-node/ rng@54003000; |
Yann Gautier | 5496f12 | 2020-12-16 18:17:32 +0100 | [diff] [blame] | 32 | #if !STM32MP_RAW_NAND |
| 33 | /delete-node/ memory-controller@58002000; |
| 34 | #endif |
| 35 | #if !STM32MP_SPI_NAND && !STM32MP_SPI_NOR |
| 36 | /delete-node/ spi@58003000; |
| 37 | #endif |
| 38 | #if !STM32MP_EMMC && !STM32MP_SDMMC |
| 39 | /delete-node/ mmc@58005000; |
| 40 | /delete-node/ mmc@58007000; |
| 41 | #endif |
| 42 | #if !STM32MP_USB_PROGRAMMER |
| 43 | /delete-node/ usbphyc@5a006000; |
| 44 | #endif |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 45 | /delete-node/ rtc@5c004000; |
| 46 | /delete-node/ etzpc@5c007000; |
| 47 | /delete-node/ stgen@5c008000; |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 48 | /delete-node/ tamp@5c00a000; |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 49 | }; |
Lionel Debieve | 72f61ac | 2020-09-27 20:48:21 +0200 | [diff] [blame] | 50 | |
Lionel Debieve | 72f61ac | 2020-09-27 20:48:21 +0200 | [diff] [blame] | 51 | /* |
| 52 | * UUID's here are UUID RFC 4122 compliant meaning fieds are stored in |
| 53 | * network order (big endian) |
| 54 | */ |
| 55 | |
| 56 | st-io_policies { |
| 57 | fip-handles { |
| 58 | compatible = "st,io-fip-handle"; |
| 59 | fw_cfg_uuid = "5807e16a-8459-47be-8ed5-648e8dddab0e"; |
| 60 | bl32_uuid = "05d0e189-53dc-1347-8d2b-500a4b7a3e38"; |
| 61 | bl32_extra1_uuid = "0b70c29b-2a5a-7840-9f65-0a5682738288"; |
| 62 | bl32_extra2_uuid = "8ea87bb1-cfa2-3f4d-85fd-e7bba50220d9"; |
| 63 | bl33_uuid = "d6d0eea7-fcea-d54b-9782-9934f234b6e4"; |
| 64 | hw_cfg_uuid = "08b8f1d9-c9cf-9349-a962-6fbc6b7265cc"; |
| 65 | tos_fw_cfg_uuid = "26257c1a-dbc6-7f47-8d96-c4c4b0248021"; |
Lionel Debieve | 563e715 | 2022-10-06 08:51:32 +0200 | [diff] [blame] | 66 | #if TRUSTED_BOARD_BOOT |
| 67 | stm32mp_cfg_cert_uuid = "501d8dd2-8bce-49a5-84eb-559a9f2eaeaf"; |
| 68 | t_key_cert_uuid = "827ee890-f860-e411-a1b4-777a21b4f94c"; |
| 69 | tos_fw_key_cert_uuid = "9477d603-fb60-e411-85dd-b7105b8cee04"; |
| 70 | nt_fw_key_cert_uuid = "8ad5832a-fb60-e411-8aaf-df30bbc49859"; |
| 71 | tos_fw_content_cert_uuid = "a49f4411-5e63-e411-8728-3f05722af33d"; |
| 72 | nt_fw_content_cert_uuid = "8ec4c1f3-5d63-e411-a7a9-87ee40b23fa7"; |
| 73 | #endif |
Lionel Debieve | 72f61ac | 2020-09-27 20:48:21 +0200 | [diff] [blame] | 74 | }; |
| 75 | }; |
Lionel Debieve | 563e715 | 2022-10-06 08:51:32 +0200 | [diff] [blame] | 76 | |
| 77 | #if TRUSTED_BOARD_BOOT |
| 78 | tb_fw-config { |
| 79 | compatible = "arm,tb_fw"; |
| 80 | |
| 81 | /* Disable authentication for development */ |
| 82 | disable_auth = <0x0>; |
| 83 | |
| 84 | /* |
| 85 | * The following two entries are placeholders for Mbed TLS |
| 86 | * heap information. |
| 87 | */ |
| 88 | mbedtls_heap_addr = <0x0 0x0>; |
| 89 | mbedtls_heap_size = <0x0>; |
| 90 | }; |
| 91 | |
| 92 | #include "stm32mp1-cot-descriptors.dtsi" |
| 93 | #endif |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 94 | }; |