From 37b4407a69621e9e704e28c9bbe079cee64cb53e Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 21 May 2025 13:56:30 +0200 Subject: [PATCH] dts/renesas/smartbond: Add support for the ARMv8-M MPU This commit updates the DTS for the da1469x and defconfig for the da1469x_dk_pro and da14695_dk_usb boards to support the ARMv8-M MPU. Signed-off-by: Loek Le Blansch --- boards/renesas/da14695_dk_usb/da14695_dk_usb_defconfig | 2 ++ boards/renesas/da1469x_dk_pro/da1469x_dk_pro_defconfig | 2 ++ dts/arm/renesas/smartbond/da1469x.dtsi | 8 ++++++++ 3 files changed, 12 insertions(+) diff --git a/boards/renesas/da14695_dk_usb/da14695_dk_usb_defconfig b/boards/renesas/da14695_dk_usb/da14695_dk_usb_defconfig index 737b2cdd1b3..3fc1832029c 100644 --- a/boards/renesas/da14695_dk_usb/da14695_dk_usb_defconfig +++ b/boards/renesas/da14695_dk_usb/da14695_dk_usb_defconfig @@ -16,3 +16,5 @@ CONFIG_BUILD_OUTPUT_HEX=n CONFIG_I2C=y CONFIG_I2C_CALLBACK=y + +CONFIG_ARM_MPU=y diff --git a/boards/renesas/da1469x_dk_pro/da1469x_dk_pro_defconfig b/boards/renesas/da1469x_dk_pro/da1469x_dk_pro_defconfig index 9ce790fe46b..cc6884c7bea 100644 --- a/boards/renesas/da1469x_dk_pro/da1469x_dk_pro_defconfig +++ b/boards/renesas/da1469x_dk_pro/da1469x_dk_pro_defconfig @@ -9,3 +9,5 @@ CONFIG_UART_CONSOLE=y CONFIG_SERIAL=y CONFIG_BUILD_OUTPUT_HEX=n + +CONFIG_ARM_MPU=y diff --git a/dts/arm/renesas/smartbond/da1469x.dtsi b/dts/arm/renesas/smartbond/da1469x.dtsi index 92be5e4026f..bad6f3a42a5 100644 --- a/dts/arm/renesas/smartbond/da1469x.dtsi +++ b/dts/arm/renesas/smartbond/da1469x.dtsi @@ -30,6 +30,14 @@ reg = <0>; clock-frequency = <32000000>; cpu-power-states = <&standby>; + + #address-cells = <1>; + #size-cells = <1>; + + mpu: mpu@e000ed90 { + compatible = "arm,armv8m-mpu"; + reg = <0xe000ed90 0x40>; + }; }; power-states {