Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
| 3 | * Copyright (C) STMicroelectronics 2020-2021 - All Rights Reserved |
| 4 | */ |
| 5 | |
| 6 | / { |
Yann Gautier | 5496f12 | 2020-12-16 18:17:32 +0100 | [diff] [blame] | 7 | #if !STM32MP_EMMC && !STM32MP_SDMMC |
| 8 | aliases { |
| 9 | /delete-property/ mmc0; |
| 10 | }; |
| 11 | #endif |
| 12 | |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 13 | cpus { |
| 14 | /delete-node/ cpu@1; |
| 15 | }; |
| 16 | |
| 17 | /delete-node/ psci; |
| 18 | |
| 19 | soc { |
| 20 | /delete-node/ timer@40006000; |
| 21 | /delete-node/ timer@44006000; |
Yann Gautier | 5496f12 | 2020-12-16 18:17:32 +0100 | [diff] [blame] | 22 | #if !STM32MP_USB_PROGRAMMER |
| 23 | /delete-node/ usb-otg@49000000; |
| 24 | #endif |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 25 | /delete-node/ pwr_mcu@50001014; |
| 26 | /delete-node/ cryp@54001000; |
| 27 | /delete-node/ rng@54003000; |
Yann Gautier | 5496f12 | 2020-12-16 18:17:32 +0100 | [diff] [blame] | 28 | #if !STM32MP_RAW_NAND |
| 29 | /delete-node/ memory-controller@58002000; |
| 30 | #endif |
| 31 | #if !STM32MP_SPI_NAND && !STM32MP_SPI_NOR |
| 32 | /delete-node/ spi@58003000; |
| 33 | #endif |
| 34 | #if !STM32MP_EMMC && !STM32MP_SDMMC |
| 35 | /delete-node/ mmc@58005000; |
| 36 | /delete-node/ mmc@58007000; |
| 37 | #endif |
| 38 | #if !STM32MP_USB_PROGRAMMER |
| 39 | /delete-node/ usbphyc@5a006000; |
| 40 | #endif |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 41 | /delete-node/ spi@5c001000; |
| 42 | /delete-node/ rtc@5c004000; |
| 43 | /delete-node/ etzpc@5c007000; |
| 44 | /delete-node/ stgen@5c008000; |
| 45 | /delete-node/ i2c@5c009000; |
| 46 | /delete-node/ tamp@5c00a000; |
Yann Gautier | 5496f12 | 2020-12-16 18:17:32 +0100 | [diff] [blame] | 47 | |
| 48 | pin-controller@50002000 { |
| 49 | #if !STM32MP_RAW_NAND |
| 50 | /delete-node/ fmc-0; |
| 51 | #endif |
| 52 | #if !STM32MP_SPI_NAND && !STM32MP_SPI_NOR |
| 53 | /delete-node/ qspi-clk-0; |
| 54 | /delete-node/ qspi-bk1-0; |
| 55 | /delete-node/ qspi-bk2-0; |
| 56 | #endif |
| 57 | #if !STM32MP_EMMC && !STM32MP_SDMMC |
| 58 | /delete-node/ sdmmc1-b4-0; |
| 59 | /delete-node/ sdmmc1-dir-0; |
| 60 | /delete-node/ sdmmc2-b4-0; |
| 61 | /delete-node/ sdmmc2-b4-1; |
| 62 | /delete-node/ sdmmc2-d47-0; |
| 63 | #endif |
| 64 | #if !STM32MP_USB_PROGRAMMER |
| 65 | /delete-node/ usbotg_hs-0; |
| 66 | /delete-node/ usbotg-fs-dp-dm-0; |
| 67 | #endif |
| 68 | }; |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 69 | }; |
Lionel Debieve | 72f61ac | 2020-09-27 20:48:21 +0200 | [diff] [blame] | 70 | |
| 71 | #if !STM32MP_USE_STM32IMAGE |
| 72 | /* |
| 73 | * UUID's here are UUID RFC 4122 compliant meaning fieds are stored in |
| 74 | * network order (big endian) |
| 75 | */ |
| 76 | |
| 77 | st-io_policies { |
| 78 | fip-handles { |
| 79 | compatible = "st,io-fip-handle"; |
| 80 | fw_cfg_uuid = "5807e16a-8459-47be-8ed5-648e8dddab0e"; |
| 81 | bl32_uuid = "05d0e189-53dc-1347-8d2b-500a4b7a3e38"; |
| 82 | bl32_extra1_uuid = "0b70c29b-2a5a-7840-9f65-0a5682738288"; |
| 83 | bl32_extra2_uuid = "8ea87bb1-cfa2-3f4d-85fd-e7bba50220d9"; |
| 84 | bl33_uuid = "d6d0eea7-fcea-d54b-9782-9934f234b6e4"; |
| 85 | hw_cfg_uuid = "08b8f1d9-c9cf-9349-a962-6fbc6b7265cc"; |
| 86 | tos_fw_cfg_uuid = "26257c1a-dbc6-7f47-8d96-c4c4b0248021"; |
| 87 | nt_fw_cfg_uuid = "28da9815-93e8-7e44-ac66-1aaf801550f9"; |
| 88 | }; |
| 89 | }; |
| 90 | #endif /* !STM32MP_USE_STM32IMAGE */ |
Yann Gautier | 0ed7b2a | 2021-05-19 18:48:16 +0200 | [diff] [blame] | 91 | }; |