diff --git a/fdts/stm32mp15-bl2.dtsi b/fdts/stm32mp15-bl2.dtsi index f956b0577..18a4ba932 100644 --- a/fdts/stm32mp15-bl2.dtsi +++ b/fdts/stm32mp15-bl2.dtsi @@ -3,6 +3,9 @@ * Copyright (c) 2020-2023, STMicroelectronics - All Rights Reserved */ +/omit-if-no-ref/ &i2c6; +/omit-if-no-ref/ &spi6; + / { #if !STM32MP_EMMC && !STM32MP_SDMMC aliases { @@ -39,11 +42,9 @@ #if !STM32MP_USB_PROGRAMMER /delete-node/ usbphyc@5a006000; #endif - /delete-node/ spi@5c001000; /delete-node/ rtc@5c004000; /delete-node/ etzpc@5c007000; /delete-node/ stgen@5c008000; - /delete-node/ i2c@5c009000; /delete-node/ tamp@5c00a000; }; diff --git a/fdts/stm32mp15-bl32.dtsi b/fdts/stm32mp15-bl32.dtsi index c5a815e22..688222498 100644 --- a/fdts/stm32mp15-bl32.dtsi +++ b/fdts/stm32mp15-bl32.dtsi @@ -3,6 +3,9 @@ * Copyright (c) 2020-2023, STMicroelectronics - All Rights Reserved */ +/omit-if-no-ref/ &i2c6; +/omit-if-no-ref/ &spi6; + / { aliases { /delete-property/ mmc0; @@ -23,8 +26,6 @@ /delete-node/ mmc@58005000; /delete-node/ mmc@58007000; /delete-node/ usbphyc@5a006000; - /delete-node/ spi@5c001000; /delete-node/ stgen@5c008000; - /delete-node/ i2c@5c009000; }; };