DT kernel DT: &m4_rproc{ memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, <&vdev0vring1>, <&vdev0buffer>; mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; mbox-names = "vq0", "vq1", "shutdown"; interrupt-parent = <&exti>; interrupts = <68 1>; st,auto-boot=<1>; status = "okay"; m4_system_resources{ status = "okay"; }; }; … &m4_adc { pinctrl-names = "default"; pinctrl-0 = <&m4_adc_pins_mx>; vdda-supply = <&vdd>; vref-supply = <&vdd>; status = "okay"; }; &m4_dma2{ status = "okay"; }; &m4_i2c1 { pinctrl-names = "default"; pinctrl-0 = <&m4_i2c1_pins>; status = "okay"; }; &m4_spi3 { pinctrl-names = "default"; pinctrl-0 = <&m4_spi3_pins>; status = "okay"; }; &m4_timers1{ pinctrl-names = "default"; pinctrl-0 = <&m4_tim1_pwm_pins_mx>; status = "okay"; }; &m4_timers3{ pinctrl-names = "default"; pinctrl-0 = <&m4_tim3_pwm_pins_mx>; status = "okay"; }; &m4_timers4{ pinctrl-names = "default"; pinctrl-0 = <&m4_tim4_pwm_pins_mx>; status = "okay"; }; &m4_timers5{ pinctrl-names = "default"; pinctrl-0 = <&m4_tim5_pwm_pins_mx>; status = "okay"; }; &m4_timers8{ pinctrl-names = "default"; pinctrl-0 = <&m4_tim8_pwm_pins_mx>; status = "okay"; }; …. &timers1{ status = "disabled"; }; &timers3{ status = "disabled"; }; &timers4{ status = "disabled"; }; &timers5{ status = "disabled"; }; &timers8{ status = "disabled"; }; &dma2{ status = "disabled"; }; &adc { status = "disabled"; }; &i2c1 { status = "disabled"; }; &spi3 { status = "disabled"; }; U-BOOT: &m4_dma2{ status = "okay"; }; &i2c1{ status = "disabled"; }; &adc{ status = "disabled"; }; &spi3{ status = "disabled"; }; &timers1{ status = "disabled"; }; &timers3{ status = "disabled"; }; &timers4{ status = "disabled"; }; &timers5{ status = "disabled"; }; &timers8{ status = "disabled"; }; &m4_i2c1{ status = "okay"; }; &m4_adc{ status = "okay"; }; &m4_spi3{ status = "okay"; }; &m4_timers1{ status = "okay"; }; &m4_timers3{ status = "okay"; }; &m4_timers4{ status = "okay"; }; &m4_timers5{ status = "okay"; }; &m4_timers8{ status = "okay"; }; &mdma1{ status = "okay"; }; &m4_rproc{ memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, <&vdev0vring1>, <&vdev0buffer>; mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; mbox-names = "vq0", "vq1", "shutdown"; interrupt-parent = <&exti>; interrupts = <68 1>; status = "okay"; m4_system_resources{ status = "okay"; }; }; OPTEE-OS: &etzpc{ st,decprot = < /*"Non Secured" peripherals*/ DECPROT(STM32MP1_ETZPC_DMA1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_DMAMUX_ID, DECPROT_NS_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_HASH1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_USART1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_UART5_ID, DECPROT_NS_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_UART7_ID, DECPROT_NS_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_OTG_ID, DECPROT_NS_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_UART8_ID, DECPROT_NS_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_SPI1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_SPI5_ID, DECPROT_NS_RW, DECPROT_UNLOCK) /*"Secured" peripherals*/ DECPROT(STM32MP1_ETZPC_DDRCTRL_ID, DECPROT_NS_R_S_W, DECPROT_LOCK) DECPROT(STM32MP1_ETZPC_DDRPHYC_ID, DECPROT_NS_R_S_W, DECPROT_LOCK) DECPROT(STM32MP1_ETZPC_STGENC_ID, DECPROT_S_RW, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_RNG1_ID, DECPROT_S_RW, DECPROT_UNLOCK) /*"Mcu Isolation" peripherals*/ DECPROT(STM32MP1_ETZPC_ADC_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_I2C1_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_DMA2_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_TIM1_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_TIM2_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_TIM3_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_TIM4_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_TIM5_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_TIM8_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) DECPROT(STM32MP1_ETZPC_SPI3_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) //DECPROT(STM32MP1_ETZPC_SPI1_ID, DECPROT_MCU_ISOLATION, DECPROT_UNLOCK) /*Restriction: following IDs are not managed - please to use User-Section if needed: STM32MP1_ETZPC_SRAMx_ID, STM32MP1_ETZPC_RETRAM_ID, STM32MP1_ETZPC_BKPSRAM_ID*/ /* USER CODE BEGIN etzpc_decprot */ /*STM32CubeMX generates a basic and standard configuration for ETZPC. Additional device configurations can be added here if needed. "etzpc" node could be also overloaded in "addons" User-Section.*/ /* USER CODE END etzpc_decprot */ >;