Skip to content

Commit

Permalink
dts: stm32: secure pins for peripherals used in the secure world
Browse files Browse the repository at this point in the history
These pins are used by RCC MCO and the I2C4. As these peripherals are
used in OP-TEE, secure them.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
  • Loading branch information
GseoC authored and jforissier committed Dec 21, 2023
1 parent b489330 commit e89ae2c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions core/arch/arm/dts/stm32mp135f-dk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <dt-bindings/clock/stm32mp13-clksrc.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/stm32mp_gpio.h>
#include <dt-bindings/regulator/st,stm32mp13-regulator.h>
#include "stm32mp135.dtsi"
#include "stm32mp13xf.dtsi"
Expand Down Expand Up @@ -82,6 +83,18 @@
};
};

&gpiob {
st,protreg = <TZPROT(9)>;
};

&gpiod {
st,protreg = <TZPROT(7)>;
};

&gpioe {
st,protreg = <TZPROT(15)>;
};

&i2c4 {
pinctrl-names = "default";
pinctrl-0 = <&i2c4_pins_a>;
Expand Down

0 comments on commit e89ae2c

Please sign in to comment.